Skip to content

Commit 82a578a

Browse files
feat(aws-android-sdk-iot): update models to latest (#2895)
Co-authored-by: Erica Eaton <[email protected]>
1 parent 4565342 commit 82a578a

File tree

13 files changed

+762
-32
lines changed

13 files changed

+762
-32
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ CancelDetectMitigationActionsTaskResult cancelDetectMitigationActionsTask(
543543
* @throws ResourceNotFoundException
544544
* @throws ThrottlingException
545545
* @throws ServiceUnavailableException
546+
* @throws LimitExceededException
546547
* @throws AmazonClientException If any internal errors are encountered
547548
* inside the client while attempting to make the request or
548549
* handle the response. For example if a network connection is

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,7 @@ public CancelDetectMitigationActionsTaskResult cancelDetectMitigationActionsTask
11361136
* @throws ResourceNotFoundException
11371137
* @throws ThrottlingException
11381138
* @throws ServiceUnavailableException
1139+
* @throws LimitExceededException
11391140
* @throws AmazonClientException If any internal errors are encountered
11401141
* inside the client while attempting to make the request or
11411142
* handle the response. For example if a network connection is

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

Lines changed: 157 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ public class CreateJobRequest extends AmazonWebServiceRequest implements Seriali
115115
* when the thing is added to a target group, even after the job was
116116
* completed by all things originally in the group.
117117
* </p>
118+
* <note>
119+
* <p>
120+
* We recommend that you use continuous jobs instead of snapshot jobs for
121+
* dynamic thing group targets. By using continuous jobs, devices that join
122+
* the group receive the job execution even after the job has been created.
123+
* </p>
124+
* </note>
118125
* <p>
119126
* <b>Constraints:</b><br/>
120127
* <b>Allowed Values: </b>CONTINUOUS, SNAPSHOT
@@ -197,9 +204,16 @@ public class CreateJobRequest extends AmazonWebServiceRequest implements Seriali
197204

198205
/**
199206
* <p>
200-
* Parameters of a managed template that you can specify to create the job
201-
* document.
207+
* Parameters of an Amazon Web Services managed template that you can
208+
* specify to create the job document.
209+
* </p>
210+
* <note>
211+
* <p>
212+
* <code>documentParameters</code> can only be used when creating jobs from
213+
* Amazon Web Services managed templates. This parameter can't be used with
214+
* custom job templates or to create jobs from them.
202215
* </p>
216+
* </note>
203217
*/
204218
private java.util.Map<String, String> documentParameters;
205219

@@ -677,6 +691,13 @@ public CreateJobRequest withPresignedUrlConfig(PresignedUrlConfig presignedUrlCo
677691
* when the thing is added to a target group, even after the job was
678692
* completed by all things originally in the group.
679693
* </p>
694+
* <note>
695+
* <p>
696+
* We recommend that you use continuous jobs instead of snapshot jobs for
697+
* dynamic thing group targets. By using continuous jobs, devices that join
698+
* the group receive the job execution even after the job has been created.
699+
* </p>
700+
* </note>
680701
* <p>
681702
* <b>Constraints:</b><br/>
682703
* <b>Allowed Values: </b>CONTINUOUS, SNAPSHOT
@@ -690,6 +711,14 @@ public CreateJobRequest withPresignedUrlConfig(PresignedUrlConfig presignedUrlCo
690711
* target group, even after the job was completed by all things
691712
* originally in the group.
692713
* </p>
714+
* <note>
715+
* <p>
716+
* We recommend that you use continuous jobs instead of snapshot
717+
* jobs for dynamic thing group targets. By using continuous jobs,
718+
* devices that join the group receive the job execution even after
719+
* the job has been created.
720+
* </p>
721+
* </note>
693722
* @see TargetSelection
694723
*/
695724
public String getTargetSelection() {
@@ -705,6 +734,13 @@ public String getTargetSelection() {
705734
* when the thing is added to a target group, even after the job was
706735
* completed by all things originally in the group.
707736
* </p>
737+
* <note>
738+
* <p>
739+
* We recommend that you use continuous jobs instead of snapshot jobs for
740+
* dynamic thing group targets. By using continuous jobs, devices that join
741+
* the group receive the job execution even after the job has been created.
742+
* </p>
743+
* </note>
708744
* <p>
709745
* <b>Constraints:</b><br/>
710746
* <b>Allowed Values: </b>CONTINUOUS, SNAPSHOT
@@ -718,6 +754,14 @@ public String getTargetSelection() {
718754
* is added to a target group, even after the job was completed
719755
* by all things originally in the group.
720756
* </p>
757+
* <note>
758+
* <p>
759+
* We recommend that you use continuous jobs instead of snapshot
760+
* jobs for dynamic thing group targets. By using continuous
761+
* jobs, devices that join the group receive the job execution
762+
* even after the job has been created.
763+
* </p>
764+
* </note>
721765
* @see TargetSelection
722766
*/
723767
public void setTargetSelection(String targetSelection) {
@@ -733,6 +777,13 @@ public void setTargetSelection(String targetSelection) {
733777
* when the thing is added to a target group, even after the job was
734778
* completed by all things originally in the group.
735779
* </p>
780+
* <note>
781+
* <p>
782+
* We recommend that you use continuous jobs instead of snapshot jobs for
783+
* dynamic thing group targets. By using continuous jobs, devices that join
784+
* the group receive the job execution even after the job has been created.
785+
* </p>
786+
* </note>
736787
* <p>
737788
* Returns a reference to this object so that method calls can be chained
738789
* together.
@@ -749,6 +800,14 @@ public void setTargetSelection(String targetSelection) {
749800
* is added to a target group, even after the job was completed
750801
* by all things originally in the group.
751802
* </p>
803+
* <note>
804+
* <p>
805+
* We recommend that you use continuous jobs instead of snapshot
806+
* jobs for dynamic thing group targets. By using continuous
807+
* jobs, devices that join the group receive the job execution
808+
* even after the job has been created.
809+
* </p>
810+
* </note>
752811
* @return A reference to this updated object so that method calls can be
753812
* chained together.
754813
* @see TargetSelection
@@ -767,6 +826,13 @@ public CreateJobRequest withTargetSelection(String targetSelection) {
767826
* when the thing is added to a target group, even after the job was
768827
* completed by all things originally in the group.
769828
* </p>
829+
* <note>
830+
* <p>
831+
* We recommend that you use continuous jobs instead of snapshot jobs for
832+
* dynamic thing group targets. By using continuous jobs, devices that join
833+
* the group receive the job execution even after the job has been created.
834+
* </p>
835+
* </note>
770836
* <p>
771837
* <b>Constraints:</b><br/>
772838
* <b>Allowed Values: </b>CONTINUOUS, SNAPSHOT
@@ -780,6 +846,14 @@ public CreateJobRequest withTargetSelection(String targetSelection) {
780846
* is added to a target group, even after the job was completed
781847
* by all things originally in the group.
782848
* </p>
849+
* <note>
850+
* <p>
851+
* We recommend that you use continuous jobs instead of snapshot
852+
* jobs for dynamic thing group targets. By using continuous
853+
* jobs, devices that join the group receive the job execution
854+
* even after the job has been created.
855+
* </p>
856+
* </note>
783857
* @see TargetSelection
784858
*/
785859
public void setTargetSelection(TargetSelection targetSelection) {
@@ -795,6 +869,13 @@ public void setTargetSelection(TargetSelection targetSelection) {
795869
* when the thing is added to a target group, even after the job was
796870
* completed by all things originally in the group.
797871
* </p>
872+
* <note>
873+
* <p>
874+
* We recommend that you use continuous jobs instead of snapshot jobs for
875+
* dynamic thing group targets. By using continuous jobs, devices that join
876+
* the group receive the job execution even after the job has been created.
877+
* </p>
878+
* </note>
798879
* <p>
799880
* Returns a reference to this object so that method calls can be chained
800881
* together.
@@ -811,6 +892,14 @@ public void setTargetSelection(TargetSelection targetSelection) {
811892
* is added to a target group, even after the job was completed
812893
* by all things originally in the group.
813894
* </p>
895+
* <note>
896+
* <p>
897+
* We recommend that you use continuous jobs instead of snapshot
898+
* jobs for dynamic thing group targets. By using continuous
899+
* jobs, devices that join the group receive the job execution
900+
* even after the job has been created.
901+
* </p>
902+
* </note>
814903
* @return A reference to this updated object so that method calls can be
815904
* chained together.
816905
* @see TargetSelection
@@ -1299,47 +1388,92 @@ public CreateJobRequest withJobExecutionsRetryConfig(
12991388

13001389
/**
13011390
* <p>
1302-
* Parameters of a managed template that you can specify to create the job
1303-
* document.
1391+
* Parameters of an Amazon Web Services managed template that you can
1392+
* specify to create the job document.
13041393
* </p>
1394+
* <note>
1395+
* <p>
1396+
* <code>documentParameters</code> can only be used when creating jobs from
1397+
* Amazon Web Services managed templates. This parameter can't be used with
1398+
* custom job templates or to create jobs from them.
1399+
* </p>
1400+
* </note>
13051401
*
13061402
* @return <p>
1307-
* Parameters of a managed template that you can specify to create
1308-
* the job document.
1403+
* Parameters of an Amazon Web Services managed template that you
1404+
* can specify to create the job document.
13091405
* </p>
1406+
* <note>
1407+
* <p>
1408+
* <code>documentParameters</code> can only be used when creating
1409+
* jobs from Amazon Web Services managed templates. This parameter
1410+
* can't be used with custom job templates or to create jobs from
1411+
* them.
1412+
* </p>
1413+
* </note>
13101414
*/
13111415
public java.util.Map<String, String> getDocumentParameters() {
13121416
return documentParameters;
13131417
}
13141418

13151419
/**
13161420
* <p>
1317-
* Parameters of a managed template that you can specify to create the job
1318-
* document.
1421+
* Parameters of an Amazon Web Services managed template that you can
1422+
* specify to create the job document.
1423+
* </p>
1424+
* <note>
1425+
* <p>
1426+
* <code>documentParameters</code> can only be used when creating jobs from
1427+
* Amazon Web Services managed templates. This parameter can't be used with
1428+
* custom job templates or to create jobs from them.
13191429
* </p>
1430+
* </note>
13201431
*
13211432
* @param documentParameters <p>
1322-
* Parameters of a managed template that you can specify to
1323-
* create the job document.
1433+
* Parameters of an Amazon Web Services managed template that you
1434+
* can specify to create the job document.
1435+
* </p>
1436+
* <note>
1437+
* <p>
1438+
* <code>documentParameters</code> can only be used when creating
1439+
* jobs from Amazon Web Services managed templates. This
1440+
* parameter can't be used with custom job templates or to create
1441+
* jobs from them.
13241442
* </p>
1443+
* </note>
13251444
*/
13261445
public void setDocumentParameters(java.util.Map<String, String> documentParameters) {
13271446
this.documentParameters = documentParameters;
13281447
}
13291448

13301449
/**
13311450
* <p>
1332-
* Parameters of a managed template that you can specify to create the job
1333-
* document.
1451+
* Parameters of an Amazon Web Services managed template that you can
1452+
* specify to create the job document.
13341453
* </p>
1454+
* <note>
1455+
* <p>
1456+
* <code>documentParameters</code> can only be used when creating jobs from
1457+
* Amazon Web Services managed templates. This parameter can't be used with
1458+
* custom job templates or to create jobs from them.
1459+
* </p>
1460+
* </note>
13351461
* <p>
13361462
* Returns a reference to this object so that method calls can be chained
13371463
* together.
13381464
*
13391465
* @param documentParameters <p>
1340-
* Parameters of a managed template that you can specify to
1341-
* create the job document.
1466+
* Parameters of an Amazon Web Services managed template that you
1467+
* can specify to create the job document.
13421468
* </p>
1469+
* <note>
1470+
* <p>
1471+
* <code>documentParameters</code> can only be used when creating
1472+
* jobs from Amazon Web Services managed templates. This
1473+
* parameter can't be used with custom job templates or to create
1474+
* jobs from them.
1475+
* </p>
1476+
* </note>
13431477
* @return A reference to this updated object so that method calls can be
13441478
* chained together.
13451479
*/
@@ -1350,9 +1484,16 @@ public CreateJobRequest withDocumentParameters(java.util.Map<String, String> doc
13501484

13511485
/**
13521486
* <p>
1353-
* Parameters of a managed template that you can specify to create the job
1354-
* document.
1487+
* Parameters of an Amazon Web Services managed template that you can
1488+
* specify to create the job document.
13551489
* </p>
1490+
* <note>
1491+
* <p>
1492+
* <code>documentParameters</code> can only be used when creating jobs from
1493+
* Amazon Web Services managed templates. This parameter can't be used with
1494+
* custom job templates or to create jobs from them.
1495+
* </p>
1496+
* </note>
13561497
* <p>
13571498
* The method adds a new key-value pair into documentParameters parameter,
13581499
* and returns a reference to this object so that method calls can be

0 commit comments

Comments
 (0)