Skip to content

Commit b221dab

Browse files
authored
feat(aws-android-sdk-iot): update models to latest (#2968)
1 parent 8f6f228 commit b221dab

File tree

51 files changed

+2668
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2668
-465
lines changed

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

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ void attachPolicy(AttachPolicyRequest attachPolicyRequest) throws AmazonClientEx
293293
* other credential).
294294
* </p>
295295
* <p>
296-
* <b>Note:</b> This action is deprecated. Please use <a>AttachPolicy</a>
296+
* <b>Note:</b> This action is deprecated and works as expected for backward
297+
* compatibility, but we won't add enhancements. Use <a>AttachPolicy</a>
297298
* instead.
298299
* </p>
299300
* <p>
@@ -1281,7 +1282,7 @@ CreateProvisioningClaimResult createProvisioningClaim(
12811282

12821283
/**
12831284
* <p>
1284-
* Creates a fleet provisioning template.
1285+
* Creates a provisioning template.
12851286
* </p>
12861287
* <p>
12871288
* Requires permission to access the <a href=
@@ -1313,7 +1314,7 @@ CreateProvisioningTemplateResult createProvisioningTemplate(
13131314

13141315
/**
13151316
* <p>
1316-
* Creates a new version of a fleet provisioning template.
1317+
* Creates a new version of a provisioning template.
13171318
* </p>
13181319
* <p>
13191320
* Requires permission to access the <a href=
@@ -2226,7 +2227,7 @@ void deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest)
22262227

22272228
/**
22282229
* <p>
2229-
* Deletes a fleet provisioning template.
2230+
* Deletes a provisioning template.
22302231
* </p>
22312232
* <p>
22322233
* Requires permission to access the <a href=
@@ -2259,7 +2260,7 @@ DeleteProvisioningTemplateResult deleteProvisioningTemplate(
22592260

22602261
/**
22612262
* <p>
2262-
* Deletes a fleet provisioning template version.
2263+
* Deletes a provisioning template version.
22632264
* </p>
22642265
* <p>
22652266
* Requires permission to access the <a href=
@@ -3333,7 +3334,7 @@ DescribeMitigationActionResult describeMitigationAction(
33333334

33343335
/**
33353336
* <p>
3336-
* Returns information about a fleet provisioning template.
3337+
* Returns information about a provisioning template.
33373338
* </p>
33383339
* <p>
33393340
* Requires permission to access the <a href=
@@ -3364,7 +3365,7 @@ DescribeProvisioningTemplateResult describeProvisioningTemplate(
33643365

33653366
/**
33663367
* <p>
3367-
* Returns information about a fleet provisioning template version.
3368+
* Returns information about a provisioning template version.
33683369
* </p>
33693370
* <p>
33703371
* Requires permission to access the <a href=
@@ -3673,11 +3674,11 @@ void detachPolicy(DetachPolicyRequest detachPolicyRequest) throws AmazonClientEx
36733674
* <p>
36743675
* Removes the specified policy from the specified certificate.
36753676
* </p>
3676-
* <note>
36773677
* <p>
3678-
* This action is deprecated. Please use <a>DetachPolicy</a> instead.
3678+
* <b>Note:</b> This action is deprecated and works as expected for backward
3679+
* compatibility, but we won't add enhancements. Use <a>DetachPolicy</a>
3680+
* instead.
36793681
* </p>
3680-
* </note>
36813682
* <p>
36823683
* Requires permission to access the <a href=
36833684
* "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions"
@@ -5207,7 +5208,8 @@ ListPoliciesResult listPolicies(ListPoliciesRequest listPoliciesRequest)
52075208
* Lists the principals associated with the specified policy.
52085209
* </p>
52095210
* <p>
5210-
* <b>Note:</b> This action is deprecated. Please use
5211+
* <b>Note:</b> This action is deprecated and works as expected for backward
5212+
* compatibility, but we won't add enhancements. Use
52115213
* <a>ListTargetsForPolicy</a> instead.
52125214
* </p>
52135215
* <p>
@@ -5281,7 +5283,8 @@ ListPolicyVersionsResult listPolicyVersions(ListPolicyVersionsRequest listPolicy
52815283
* >AmazonCognito Identity format</a>.
52825284
* </p>
52835285
* <p>
5284-
* <b>Note:</b> This action is deprecated. Please use
5286+
* <b>Note:</b> This action is deprecated and works as expected for backward
5287+
* compatibility, but we won't add enhancements. Use
52855288
* <a>ListAttachedPolicies</a> instead.
52865289
* </p>
52875290
* <p>
@@ -5351,7 +5354,7 @@ ListPrincipalThingsResult listPrincipalThings(
53515354

53525355
/**
53535356
* <p>
5354-
* A list of fleet provisioning template versions.
5357+
* A list of provisioning template versions.
53555358
* </p>
53565359
* <p>
53575360
* Requires permission to access the <a href=
@@ -5382,8 +5385,7 @@ ListProvisioningTemplateVersionsResult listProvisioningTemplateVersions(
53825385

53835386
/**
53845387
* <p>
5385-
* Lists the fleet provisioning templates in your Amazon Web Services
5386-
* account.
5388+
* Lists the provisioning templates in your Amazon Web Services account.
53875389
* </p>
53885390
* <p>
53895391
* Requires permission to access the <a href=
@@ -6080,14 +6082,10 @@ PutVerificationStateOnViolationResult putVerificationStateOnViolation(
60806082

60816083
/**
60826084
* <p>
6083-
* Registers a CA certificate with IoT. This CA certificate can then be used
6084-
* to sign device certificates, which can be then registered with IoT. You
6085-
* can register up to 10 CA certificates per Amazon Web Services account
6086-
* that have the same subject field. This enables you to have up to 10
6087-
* certificate authorities sign your device certificates. If you have more
6088-
* than one CA certificate registered, make sure you pass the CA certificate
6089-
* when you register your device certificates with the
6090-
* <a>RegisterCertificate</a> action.
6085+
* Registers a CA certificate with Amazon Web Services IoT Core. There is no
6086+
* limit to the number of CA certificates you can register in your Amazon
6087+
* Web Services account. You can register up to 10 CA certificates with the
6088+
* same <code>CA subject field</code> per Amazon Web Services account.
60916089
* </p>
60926090
* <p>
60936091
* Requires permission to access the <a href=
@@ -6100,6 +6098,7 @@ PutVerificationStateOnViolationResult putVerificationStateOnViolation(
61006098
* </p>
61016099
* @return registerCACertificateResult The response from the
61026100
* RegisterCACertificate service method, as returned by AWS IoT.
6101+
* @throws ResourceNotFoundException
61036102
* @throws ResourceAlreadyExistsException
61046103
* @throws RegistrationCodeValidationException
61056104
* @throws InvalidRequestException
@@ -6123,7 +6122,9 @@ RegisterCACertificateResult registerCACertificate(
61236122

61246123
/**
61256124
* <p>
6126-
* Registers a device certificate with IoT. If you have more than one CA
6125+
* Registers a device certificate with IoT in the same <a href=
6126+
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode"
6127+
* >certificate mode</a> as the signing CA. If you have more than one CA
61276128
* certificate that has the same subject field, you must specify the CA
61286129
* certificate that was used to sign the device certificate being
61296130
* registered.
@@ -7339,7 +7340,7 @@ UpdateMitigationActionResult updateMitigationAction(
73397340

73407341
/**
73417342
* <p>
7342-
* Updates a fleet provisioning template.
7343+
* Updates a provisioning template.
73437344
* </p>
73447345
* <p>
73457346
* Requires permission to access the <a href=

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

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,8 @@ public void attachPolicy(AttachPolicyRequest attachPolicyRequest)
707707
* other credential).
708708
* </p>
709709
* <p>
710-
* <b>Note:</b> This action is deprecated. Please use <a>AttachPolicy</a>
710+
* <b>Note:</b> This action is deprecated and works as expected for backward
711+
* compatibility, but we won't add enhancements. Use <a>AttachPolicy</a>
711712
* instead.
712713
* </p>
713714
* <p>
@@ -2434,7 +2435,7 @@ public CreateProvisioningClaimResult createProvisioningClaim(
24342435

24352436
/**
24362437
* <p>
2437-
* Creates a fleet provisioning template.
2438+
* Creates a provisioning template.
24382439
* </p>
24392440
* <p>
24402441
* Requires permission to access the <a href=
@@ -2493,7 +2494,7 @@ public CreateProvisioningTemplateResult createProvisioningTemplate(
24932494

24942495
/**
24952496
* <p>
2496-
* Creates a new version of a fleet provisioning template.
2497+
* Creates a new version of a provisioning template.
24972498
* </p>
24982499
* <p>
24992500
* Requires permission to access the <a href=
@@ -4113,7 +4114,7 @@ public void deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRe
41134114

41144115
/**
41154116
* <p>
4116-
* Deletes a fleet provisioning template.
4117+
* Deletes a provisioning template.
41174118
* </p>
41184119
* <p>
41194120
* Requires permission to access the <a href=
@@ -4173,7 +4174,7 @@ public DeleteProvisioningTemplateResult deleteProvisioningTemplate(
41734174

41744175
/**
41754176
* <p>
4176-
* Deletes a fleet provisioning template version.
4177+
* Deletes a provisioning template version.
41774178
* </p>
41784179
* <p>
41794180
* Requires permission to access the <a href=
@@ -6204,7 +6205,7 @@ public DescribeMitigationActionResult describeMitigationAction(
62046205

62056206
/**
62066207
* <p>
6207-
* Returns information about a fleet provisioning template.
6208+
* Returns information about a provisioning template.
62086209
* </p>
62096210
* <p>
62106211
* Requires permission to access the <a href=
@@ -6262,7 +6263,7 @@ public DescribeProvisioningTemplateResult describeProvisioningTemplate(
62626263

62636264
/**
62646265
* <p>
6265-
* Returns information about a fleet provisioning template version.
6266+
* Returns information about a provisioning template version.
62666267
* </p>
62676268
* <p>
62686269
* Requires permission to access the <a href=
@@ -6836,11 +6837,11 @@ public void detachPolicy(DetachPolicyRequest detachPolicyRequest)
68366837
* <p>
68376838
* Removes the specified policy from the specified certificate.
68386839
* </p>
6839-
* <note>
68406840
* <p>
6841-
* This action is deprecated. Please use <a>DetachPolicy</a> instead.
6841+
* <b>Note:</b> This action is deprecated and works as expected for backward
6842+
* compatibility, but we won't add enhancements. Use <a>DetachPolicy</a>
6843+
* instead.
68426844
* </p>
6843-
* </note>
68446845
* <p>
68456846
* Requires permission to access the <a href=
68466847
* "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions"
@@ -9689,7 +9690,8 @@ public ListPoliciesResult listPolicies(ListPoliciesRequest listPoliciesRequest)
96899690
* Lists the principals associated with the specified policy.
96909691
* </p>
96919692
* <p>
9692-
* <b>Note:</b> This action is deprecated. Please use
9693+
* <b>Note:</b> This action is deprecated and works as expected for backward
9694+
* compatibility, but we won't add enhancements. Use
96939695
* <a>ListTargetsForPolicy</a> instead.
96949696
* </p>
96959697
* <p>
@@ -9818,7 +9820,8 @@ public ListPolicyVersionsResult listPolicyVersions(
98189820
* >AmazonCognito Identity format</a>.
98199821
* </p>
98209822
* <p>
9821-
* <b>Note:</b> This action is deprecated. Please use
9823+
* <b>Note:</b> This action is deprecated and works as expected for backward
9824+
* compatibility, but we won't add enhancements. Use
98229825
* <a>ListAttachedPolicies</a> instead.
98239826
* </p>
98249827
* <p>
@@ -9942,7 +9945,7 @@ public ListPrincipalThingsResult listPrincipalThings(
99429945

99439946
/**
99449947
* <p>
9945-
* A list of fleet provisioning template versions.
9948+
* A list of provisioning template versions.
99469949
* </p>
99479950
* <p>
99489951
* Requires permission to access the <a href=
@@ -10000,8 +10003,7 @@ public ListProvisioningTemplateVersionsResult listProvisioningTemplateVersions(
1000010003

1000110004
/**
1000210005
* <p>
10003-
* Lists the fleet provisioning templates in your Amazon Web Services
10004-
* account.
10006+
* Lists the provisioning templates in your Amazon Web Services account.
1000510007
* </p>
1000610008
* <p>
1000710009
* Requires permission to access the <a href=
@@ -11313,14 +11315,10 @@ public PutVerificationStateOnViolationResult putVerificationStateOnViolation(
1131311315

1131411316
/**
1131511317
* <p>
11316-
* Registers a CA certificate with IoT. This CA certificate can then be used
11317-
* to sign device certificates, which can be then registered with IoT. You
11318-
* can register up to 10 CA certificates per Amazon Web Services account
11319-
* that have the same subject field. This enables you to have up to 10
11320-
* certificate authorities sign your device certificates. If you have more
11321-
* than one CA certificate registered, make sure you pass the CA certificate
11322-
* when you register your device certificates with the
11323-
* <a>RegisterCertificate</a> action.
11318+
* Registers a CA certificate with Amazon Web Services IoT Core. There is no
11319+
* limit to the number of CA certificates you can register in your Amazon
11320+
* Web Services account. You can register up to 10 CA certificates with the
11321+
* same <code>CA subject field</code> per Amazon Web Services account.
1132411322
* </p>
1132511323
* <p>
1132611324
* Requires permission to access the <a href=
@@ -11333,6 +11331,7 @@ public PutVerificationStateOnViolationResult putVerificationStateOnViolation(
1133311331
* </p>
1133411332
* @return registerCACertificateResult The response from the
1133511333
* RegisterCACertificate service method, as returned by AWS IoT.
11334+
* @throws ResourceNotFoundException
1133611335
* @throws ResourceAlreadyExistsException
1133711336
* @throws RegistrationCodeValidationException
1133811337
* @throws InvalidRequestException
@@ -11383,7 +11382,9 @@ public RegisterCACertificateResult registerCACertificate(
1138311382

1138411383
/**
1138511384
* <p>
11386-
* Registers a device certificate with IoT. If you have more than one CA
11385+
* Registers a device certificate with IoT in the same <a href=
11386+
* "https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode"
11387+
* >certificate mode</a> as the signing CA. If you have more than one CA
1138711388
* certificate that has the same subject field, you must specify the CA
1138811389
* certificate that was used to sign the device certificate being
1138911390
* registered.
@@ -13572,7 +13573,7 @@ public UpdateMitigationActionResult updateMitigationAction(
1357213573

1357313574
/**
1357413575
* <p>
13575-
* Updates a fleet provisioning template.
13576+
* Updates a provisioning template.
1357613577
* </p>
1357713578
* <p>
1357813579
* Requires permission to access the <a href=

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
* other credential).
2626
* </p>
2727
* <p>
28-
* <b>Note:</b> This action is deprecated. Please use <a>AttachPolicy</a>
28+
* <b>Note:</b> This action is deprecated and works as expected for backward
29+
* compatibility, but we won't add enhancements. Use <a>AttachPolicy</a>
2930
* instead.
3031
* </p>
3132
* <p>

0 commit comments

Comments
 (0)