Skip to content

Commit 048a824

Browse files
feat(aws-android-sdk-iot): update models to latest (#3251)
Co-authored-by: gpanshu <[email protected]>
1 parent 1705430 commit 048a824

11 files changed

+27
-217
lines changed

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/AWSIotClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ private void init() {
386386
jsonErrorUnmarshallers.add(new JsonErrorUnmarshaller());
387387

388388
// calling this.setEndPoint(...) will also modify the signer accordingly
389-
setServiceNameIntern("execute-api");
389+
setServiceNameIntern("iot");
390390
this.setEndpoint("iot.us-east-1.amazonaws.com");
391391
this.endpointPrefix = "iot";
392392

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreateDomainConfigurationRequest.java

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,6 @@ public class CreateDomainConfigurationRequest extends AmazonWebServiceRequest im
122122
*/
123123
private java.util.List<Tag> tags;
124124

125-
/**
126-
* <p>
127-
* An object that specifies the TLS configuration for a domain.
128-
* </p>
129-
*/
130-
private TlsConfig tlsConfig;
131-
132125
/**
133126
* <p>
134127
* The name of the domain configuration. This value must be unique to a
@@ -815,51 +808,6 @@ public CreateDomainConfigurationRequest withTags(java.util.Collection<Tag> tags)
815808
return this;
816809
}
817810

818-
/**
819-
* <p>
820-
* An object that specifies the TLS configuration for a domain.
821-
* </p>
822-
*
823-
* @return <p>
824-
* An object that specifies the TLS configuration for a domain.
825-
* </p>
826-
*/
827-
public TlsConfig getTlsConfig() {
828-
return tlsConfig;
829-
}
830-
831-
/**
832-
* <p>
833-
* An object that specifies the TLS configuration for a domain.
834-
* </p>
835-
*
836-
* @param tlsConfig <p>
837-
* An object that specifies the TLS configuration for a domain.
838-
* </p>
839-
*/
840-
public void setTlsConfig(TlsConfig tlsConfig) {
841-
this.tlsConfig = tlsConfig;
842-
}
843-
844-
/**
845-
* <p>
846-
* An object that specifies the TLS configuration for a domain.
847-
* </p>
848-
* <p>
849-
* Returns a reference to this object so that method calls can be chained
850-
* together.
851-
*
852-
* @param tlsConfig <p>
853-
* An object that specifies the TLS configuration for a domain.
854-
* </p>
855-
* @return A reference to this updated object so that method calls can be
856-
* chained together.
857-
*/
858-
public CreateDomainConfigurationRequest withTlsConfig(TlsConfig tlsConfig) {
859-
this.tlsConfig = tlsConfig;
860-
return this;
861-
}
862-
863811
/**
864812
* Returns a string representation of this object; useful for testing and
865813
* debugging.
@@ -884,9 +832,7 @@ public String toString() {
884832
if (getServiceType() != null)
885833
sb.append("serviceType: " + getServiceType() + ",");
886834
if (getTags() != null)
887-
sb.append("tags: " + getTags() + ",");
888-
if (getTlsConfig() != null)
889-
sb.append("tlsConfig: " + getTlsConfig());
835+
sb.append("tags: " + getTags());
890836
sb.append("}");
891837
return sb.toString();
892838
}
@@ -913,7 +859,6 @@ public int hashCode() {
913859
hashCode = prime * hashCode
914860
+ ((getServiceType() == null) ? 0 : getServiceType().hashCode());
915861
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
916-
hashCode = prime * hashCode + ((getTlsConfig() == null) ? 0 : getTlsConfig().hashCode());
917862
return hashCode;
918863
}
919864

@@ -963,11 +908,6 @@ public boolean equals(Object obj) {
963908
return false;
964909
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
965910
return false;
966-
if (other.getTlsConfig() == null ^ this.getTlsConfig() == null)
967-
return false;
968-
if (other.getTlsConfig() != null
969-
&& other.getTlsConfig().equals(this.getTlsConfig()) == false)
970-
return false;
971911
return true;
972912
}
973913
}

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreateOTAUpdateResult.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class CreateOTAUpdateResult implements Serializable {
5757
* <p>
5858
* <b>Constraints:</b><br/>
5959
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
60-
* CREATE_COMPLETE, CREATE_FAILED
60+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
6161
*/
6262
private String otaUpdateStatus;
6363

@@ -260,7 +260,7 @@ public CreateOTAUpdateResult withAwsIotJobArn(String awsIotJobArn) {
260260
* <p>
261261
* <b>Constraints:</b><br/>
262262
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
263-
* CREATE_COMPLETE, CREATE_FAILED
263+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
264264
*
265265
* @return <p>
266266
* The OTA update status.
@@ -278,7 +278,7 @@ public String getOtaUpdateStatus() {
278278
* <p>
279279
* <b>Constraints:</b><br/>
280280
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
281-
* CREATE_COMPLETE, CREATE_FAILED
281+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
282282
*
283283
* @param otaUpdateStatus <p>
284284
* The OTA update status.
@@ -299,7 +299,7 @@ public void setOtaUpdateStatus(String otaUpdateStatus) {
299299
* <p>
300300
* <b>Constraints:</b><br/>
301301
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
302-
* CREATE_COMPLETE, CREATE_FAILED
302+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
303303
*
304304
* @param otaUpdateStatus <p>
305305
* The OTA update status.
@@ -320,7 +320,7 @@ public CreateOTAUpdateResult withOtaUpdateStatus(String otaUpdateStatus) {
320320
* <p>
321321
* <b>Constraints:</b><br/>
322322
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
323-
* CREATE_COMPLETE, CREATE_FAILED
323+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
324324
*
325325
* @param otaUpdateStatus <p>
326326
* The OTA update status.
@@ -341,7 +341,7 @@ public void setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus) {
341341
* <p>
342342
* <b>Constraints:</b><br/>
343343
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
344-
* CREATE_COMPLETE, CREATE_FAILED
344+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
345345
*
346346
* @param otaUpdateStatus <p>
347347
* The OTA update status.

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DescribeDomainConfigurationResult.java

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,6 @@ public class DescribeDomainConfigurationResult implements Serializable {
100100
*/
101101
private java.util.Date lastStatusChangeDate;
102102

103-
/**
104-
* <p>
105-
* An object that specifies the TLS configuration for a domain.
106-
* </p>
107-
*/
108-
private TlsConfig tlsConfig;
109-
110103
/**
111104
* <p>
112105
* The name of the domain configuration.
@@ -754,51 +747,6 @@ public DescribeDomainConfigurationResult withLastStatusChangeDate(
754747
return this;
755748
}
756749

757-
/**
758-
* <p>
759-
* An object that specifies the TLS configuration for a domain.
760-
* </p>
761-
*
762-
* @return <p>
763-
* An object that specifies the TLS configuration for a domain.
764-
* </p>
765-
*/
766-
public TlsConfig getTlsConfig() {
767-
return tlsConfig;
768-
}
769-
770-
/**
771-
* <p>
772-
* An object that specifies the TLS configuration for a domain.
773-
* </p>
774-
*
775-
* @param tlsConfig <p>
776-
* An object that specifies the TLS configuration for a domain.
777-
* </p>
778-
*/
779-
public void setTlsConfig(TlsConfig tlsConfig) {
780-
this.tlsConfig = tlsConfig;
781-
}
782-
783-
/**
784-
* <p>
785-
* An object that specifies the TLS configuration for a domain.
786-
* </p>
787-
* <p>
788-
* Returns a reference to this object so that method calls can be chained
789-
* together.
790-
*
791-
* @param tlsConfig <p>
792-
* An object that specifies the TLS configuration for a domain.
793-
* </p>
794-
* @return A reference to this updated object so that method calls can be
795-
* chained together.
796-
*/
797-
public DescribeDomainConfigurationResult withTlsConfig(TlsConfig tlsConfig) {
798-
this.tlsConfig = tlsConfig;
799-
return this;
800-
}
801-
802750
/**
803751
* Returns a string representation of this object; useful for testing and
804752
* debugging.
@@ -827,9 +775,7 @@ public String toString() {
827775
if (getDomainType() != null)
828776
sb.append("domainType: " + getDomainType() + ",");
829777
if (getLastStatusChangeDate() != null)
830-
sb.append("lastStatusChangeDate: " + getLastStatusChangeDate() + ",");
831-
if (getTlsConfig() != null)
832-
sb.append("tlsConfig: " + getTlsConfig());
778+
sb.append("lastStatusChangeDate: " + getLastStatusChangeDate());
833779
sb.append("}");
834780
return sb.toString();
835781
}
@@ -861,7 +807,6 @@ public int hashCode() {
861807
hashCode = prime * hashCode + ((getDomainType() == null) ? 0 : getDomainType().hashCode());
862808
hashCode = prime * hashCode
863809
+ ((getLastStatusChangeDate() == null) ? 0 : getLastStatusChangeDate().hashCode());
864-
hashCode = prime * hashCode + ((getTlsConfig() == null) ? 0 : getTlsConfig().hashCode());
865810
return hashCode;
866811
}
867812

@@ -922,11 +867,6 @@ public boolean equals(Object obj) {
922867
if (other.getLastStatusChangeDate() != null
923868
&& other.getLastStatusChangeDate().equals(this.getLastStatusChangeDate()) == false)
924869
return false;
925-
if (other.getTlsConfig() == null ^ this.getTlsConfig() == null)
926-
return false;
927-
if (other.getTlsConfig() != null
928-
&& other.getTlsConfig().equals(this.getTlsConfig()) == false)
929-
return false;
930870
return true;
931871
}
932872
}

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListOTAUpdatesRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class ListOTAUpdatesRequest extends AmazonWebServiceRequest implements Se
5454
* <p>
5555
* <b>Constraints:</b><br/>
5656
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
57-
* CREATE_COMPLETE, CREATE_FAILED
57+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
5858
*/
5959
private String otaUpdateStatus;
6060

@@ -164,7 +164,7 @@ public ListOTAUpdatesRequest withNextToken(String nextToken) {
164164
* <p>
165165
* <b>Constraints:</b><br/>
166166
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
167-
* CREATE_COMPLETE, CREATE_FAILED
167+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
168168
*
169169
* @return <p>
170170
* The OTA update job status.
@@ -182,7 +182,7 @@ public String getOtaUpdateStatus() {
182182
* <p>
183183
* <b>Constraints:</b><br/>
184184
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
185-
* CREATE_COMPLETE, CREATE_FAILED
185+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
186186
*
187187
* @param otaUpdateStatus <p>
188188
* The OTA update job status.
@@ -203,7 +203,7 @@ public void setOtaUpdateStatus(String otaUpdateStatus) {
203203
* <p>
204204
* <b>Constraints:</b><br/>
205205
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
206-
* CREATE_COMPLETE, CREATE_FAILED
206+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
207207
*
208208
* @param otaUpdateStatus <p>
209209
* The OTA update job status.
@@ -224,7 +224,7 @@ public ListOTAUpdatesRequest withOtaUpdateStatus(String otaUpdateStatus) {
224224
* <p>
225225
* <b>Constraints:</b><br/>
226226
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
227-
* CREATE_COMPLETE, CREATE_FAILED
227+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
228228
*
229229
* @param otaUpdateStatus <p>
230230
* The OTA update job status.
@@ -245,7 +245,7 @@ public void setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus) {
245245
* <p>
246246
* <b>Constraints:</b><br/>
247247
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
248-
* CREATE_COMPLETE, CREATE_FAILED
248+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
249249
*
250250
* @param otaUpdateStatus <p>
251251
* The OTA update job status.

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/OTAUpdateInfo.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public class OTAUpdateInfo implements Serializable {
127127
* <p>
128128
* <b>Constraints:</b><br/>
129129
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
130-
* CREATE_COMPLETE, CREATE_FAILED
130+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
131131
*/
132132
private String otaUpdateStatus;
133133

@@ -914,7 +914,7 @@ public OTAUpdateInfo withOtaUpdateFiles(java.util.Collection<OTAUpdateFile> otaU
914914
* <p>
915915
* <b>Constraints:</b><br/>
916916
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
917-
* CREATE_COMPLETE, CREATE_FAILED
917+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
918918
*
919919
* @return <p>
920920
* The status of the OTA update.
@@ -932,7 +932,7 @@ public String getOtaUpdateStatus() {
932932
* <p>
933933
* <b>Constraints:</b><br/>
934934
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
935-
* CREATE_COMPLETE, CREATE_FAILED
935+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
936936
*
937937
* @param otaUpdateStatus <p>
938938
* The status of the OTA update.
@@ -953,7 +953,7 @@ public void setOtaUpdateStatus(String otaUpdateStatus) {
953953
* <p>
954954
* <b>Constraints:</b><br/>
955955
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
956-
* CREATE_COMPLETE, CREATE_FAILED
956+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
957957
*
958958
* @param otaUpdateStatus <p>
959959
* The status of the OTA update.
@@ -974,7 +974,7 @@ public OTAUpdateInfo withOtaUpdateStatus(String otaUpdateStatus) {
974974
* <p>
975975
* <b>Constraints:</b><br/>
976976
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
977-
* CREATE_COMPLETE, CREATE_FAILED
977+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
978978
*
979979
* @param otaUpdateStatus <p>
980980
* The status of the OTA update.
@@ -995,7 +995,7 @@ public void setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus) {
995995
* <p>
996996
* <b>Constraints:</b><br/>
997997
* <b>Allowed Values: </b>CREATE_PENDING, CREATE_IN_PROGRESS,
998-
* CREATE_COMPLETE, CREATE_FAILED
998+
* CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
999999
*
10001000
* @param otaUpdateStatus <p>
10011001
* The status of the OTA update.

aws-android-sdk-iot/src/main/java/com/amazonaws/services/iot/model/OTAUpdateStatus.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ public enum OTAUpdateStatus {
2626
CREATE_PENDING("CREATE_PENDING"),
2727
CREATE_IN_PROGRESS("CREATE_IN_PROGRESS"),
2828
CREATE_COMPLETE("CREATE_COMPLETE"),
29-
CREATE_FAILED("CREATE_FAILED");
29+
CREATE_FAILED("CREATE_FAILED"),
30+
DELETE_IN_PROGRESS("DELETE_IN_PROGRESS"),
31+
DELETE_FAILED("DELETE_FAILED");
3032

3133
private String value;
3234

@@ -46,6 +48,8 @@ public String toString() {
4648
enumMap.put("CREATE_IN_PROGRESS", CREATE_IN_PROGRESS);
4749
enumMap.put("CREATE_COMPLETE", CREATE_COMPLETE);
4850
enumMap.put("CREATE_FAILED", CREATE_FAILED);
51+
enumMap.put("DELETE_IN_PROGRESS", DELETE_IN_PROGRESS);
52+
enumMap.put("DELETE_FAILED", DELETE_FAILED);
4953
}
5054

5155
/**

0 commit comments

Comments
 (0)