Skip to content

Commit 539ff94

Browse files
Various model updates (#2228)
* feat(aws-android-sdk-textract): update models to latest * feat(aws-android-sdk-iot): update models to latest * feat(aws-android-sdk-polly): update models to latest * feat(aws-android-sdk-lambda): update models to latest * update changelog Co-authored-by: awsmobilesdk <[email protected]>
1 parent 79eaa55 commit 539ff94

File tree

606 files changed

+17089
-930
lines changed

Some content is hidden

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

606 files changed

+17089
-930
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log - AWS SDK for Android
22

3+
## [Release 2.19.2](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.19.2)
4+
5+
### Model updates
6+
- AWS IoT
7+
- AWS Lambda
8+
- Amazon Polly
9+
- Amazon Textract
10+
311
## [Release 2.19.1](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.19.1)
412

513
### New Features

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

Lines changed: 182 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,31 @@ ConfirmTopicRuleDestinationResult confirmTopicRuleDestination(
541541
ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest)
542542
throws AmazonClientException, AmazonServiceException;
543543

544+
/**
545+
* <p>
546+
* Creates a Device Defender audit suppression.
547+
* </p>
548+
*
549+
* @param createAuditSuppressionRequest
550+
* @return createAuditSuppressionResult The response from the
551+
* CreateAuditSuppression service method, as returned by AWS IoT.
552+
* @throws InvalidRequestException
553+
* @throws ResourceAlreadyExistsException
554+
* @throws ThrottlingException
555+
* @throws InternalFailureException
556+
* @throws LimitExceededException
557+
* @throws AmazonClientException If any internal errors are encountered
558+
* inside the client while attempting to make the request or
559+
* handle the response. For example if a network connection is
560+
* not available.
561+
* @throws AmazonServiceException If an error response is returned by AWS
562+
* IoT indicating either a problem with the data in the request,
563+
* or a server side issue.
564+
*/
565+
CreateAuditSuppressionResult createAuditSuppression(
566+
CreateAuditSuppressionRequest createAuditSuppressionRequest)
567+
throws AmazonClientException, AmazonServiceException;
568+
544569
/**
545570
* <p>
546571
* Creates an authorizer.
@@ -827,8 +852,12 @@ CreateKeysAndCertificateResult createKeysAndCertificate(
827852
/**
828853
* <p>
829854
* Defines an action that can be applied to audit findings by using
830-
* StartAuditMitigationActionsTask. Each mitigation action can apply only
831-
* one type of change.
855+
* StartAuditMitigationActionsTask. Only certain types of mitigation actions
856+
* can be applied to specific check names. For more information, see <a
857+
* href=
858+
* "https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-mitigation-actions.html"
859+
* >Mitigation actions</a>. Each mitigation action can apply only one type
860+
* of change.
832861
* </p>
833862
*
834863
* @param createMitigationActionRequest
@@ -1314,6 +1343,29 @@ DeleteAccountAuditConfigurationResult deleteAccountAuditConfiguration(
13141343
DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest)
13151344
throws AmazonClientException, AmazonServiceException;
13161345

1346+
/**
1347+
* <p>
1348+
* Deletes a Device Defender audit suppression.
1349+
* </p>
1350+
*
1351+
* @param deleteAuditSuppressionRequest
1352+
* @return deleteAuditSuppressionResult The response from the
1353+
* DeleteAuditSuppression service method, as returned by AWS IoT.
1354+
* @throws InvalidRequestException
1355+
* @throws ThrottlingException
1356+
* @throws InternalFailureException
1357+
* @throws AmazonClientException If any internal errors are encountered
1358+
* inside the client while attempting to make the request or
1359+
* handle the response. For example if a network connection is
1360+
* not available.
1361+
* @throws AmazonServiceException If an error response is returned by AWS
1362+
* IoT indicating either a problem with the data in the request,
1363+
* or a server side issue.
1364+
*/
1365+
DeleteAuditSuppressionResult deleteAuditSuppression(
1366+
DeleteAuditSuppressionRequest deleteAuditSuppressionRequest)
1367+
throws AmazonClientException, AmazonServiceException;
1368+
13171369
/**
13181370
* <p>
13191371
* Deletes an authorizer.
@@ -1692,6 +1744,7 @@ void deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest)
16921744
* @throws ResourceNotFoundException
16931745
* @throws DeleteConflictException
16941746
* @throws ThrottlingException
1747+
* @throws ConflictingResourceUpdateException
16951748
* @throws UnauthorizedException
16961749
* @throws AmazonClientException If any internal errors are encountered
16971750
* inside the client while attempting to make the request or
@@ -1719,6 +1772,7 @@ DeleteProvisioningTemplateResult deleteProvisioningTemplate(
17191772
* @throws ThrottlingException
17201773
* @throws ResourceNotFoundException
17211774
* @throws UnauthorizedException
1775+
* @throws ConflictingResourceUpdateException
17221776
* @throws DeleteConflictException
17231777
* @throws AmazonClientException If any internal errors are encountered
17241778
* inside the client while attempting to make the request or
@@ -2120,6 +2174,30 @@ DescribeAuditMitigationActionsTaskResult describeAuditMitigationActionsTask(
21202174
DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest)
21212175
throws AmazonClientException, AmazonServiceException;
21222176

2177+
/**
2178+
* <p>
2179+
* Gets information about a Device Defender audit suppression.
2180+
* </p>
2181+
*
2182+
* @param describeAuditSuppressionRequest
2183+
* @return describeAuditSuppressionResult The response from the
2184+
* DescribeAuditSuppression service method, as returned by AWS IoT.
2185+
* @throws InvalidRequestException
2186+
* @throws ResourceNotFoundException
2187+
* @throws ThrottlingException
2188+
* @throws InternalFailureException
2189+
* @throws AmazonClientException If any internal errors are encountered
2190+
* inside the client while attempting to make the request or
2191+
* handle the response. For example if a network connection is
2192+
* not available.
2193+
* @throws AmazonServiceException If an error response is returned by AWS
2194+
* IoT indicating either a problem with the data in the request,
2195+
* or a server side issue.
2196+
*/
2197+
DescribeAuditSuppressionResult describeAuditSuppression(
2198+
DescribeAuditSuppressionRequest describeAuditSuppressionRequest)
2199+
throws AmazonClientException, AmazonServiceException;
2200+
21232201
/**
21242202
* <p>
21252203
* Gets information about a Device Defender audit.
@@ -2314,6 +2392,7 @@ DescribeDimensionResult describeDimension(DescribeDimensionRequest describeDimen
23142392
* IoT.
23152393
* @throws ResourceNotFoundException
23162394
* @throws ThrottlingException
2395+
* @throws InvalidRequestException
23172396
* @throws UnauthorizedException
23182397
* @throws ServiceUnavailableException
23192398
* @throws InternalFailureException
@@ -3323,7 +3402,7 @@ ListAttachedPoliciesResult listAttachedPolicies(
33233402
/**
33243403
* <p>
33253404
* Lists the findings (results) of a Device Defender audit or of the audits
3326-
* performed during a specified time period. (Findings are retained for 180
3405+
* performed during a specified time period. (Findings are retained for 90
33273406
* days.)
33283407
* </p>
33293408
*
@@ -3393,6 +3472,29 @@ ListAuditMitigationActionsTasksResult listAuditMitigationActionsTasks(
33933472
ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest)
33943473
throws AmazonClientException, AmazonServiceException;
33953474

3475+
/**
3476+
* <p>
3477+
* Lists your Device Defender audit listings.
3478+
* </p>
3479+
*
3480+
* @param listAuditSuppressionsRequest
3481+
* @return listAuditSuppressionsResult The response from the
3482+
* ListAuditSuppressions service method, as returned by AWS IoT.
3483+
* @throws InvalidRequestException
3484+
* @throws ThrottlingException
3485+
* @throws InternalFailureException
3486+
* @throws AmazonClientException If any internal errors are encountered
3487+
* inside the client while attempting to make the request or
3488+
* handle the response. For example if a network connection is
3489+
* not available.
3490+
* @throws AmazonServiceException If an error response is returned by AWS
3491+
* IoT indicating either a problem with the data in the request,
3492+
* or a server side issue.
3493+
*/
3494+
ListAuditSuppressionsResult listAuditSuppressions(
3495+
ListAuditSuppressionsRequest listAuditSuppressionsRequest)
3496+
throws AmazonClientException, AmazonServiceException;
3497+
33963498
/**
33973499
* <p>
33983500
* Lists the Device Defender audits that have been performed during a given
@@ -4188,6 +4290,7 @@ ListTargetsForSecurityProfileResult listTargetsForSecurityProfile(
41884290
* @throws InvalidRequestException
41894291
* @throws InternalFailureException
41904292
* @throws ResourceNotFoundException
4293+
* @throws ThrottlingException
41914294
* @throws AmazonClientException If any internal errors are encountered
41924295
* inside the client while attempting to make the request or
41934296
* handle the response. For example if a network connection is
@@ -4210,6 +4313,7 @@ ListThingGroupsResult listThingGroups(ListThingGroupsRequest listThingGroupsRequ
42104313
* @throws InvalidRequestException
42114314
* @throws InternalFailureException
42124315
* @throws ResourceNotFoundException
4316+
* @throws ThrottlingException
42134317
* @throws AmazonClientException If any internal errors are encountered
42144318
* inside the client while attempting to make the request or
42154319
* handle the response. For example if a network connection is
@@ -4336,6 +4440,14 @@ ListThingTypesResult listThingTypes(ListThingTypesRequest listThingTypesRequest)
43364440
* retrieves all things in the registry that contain an attribute
43374441
* <b>Color</b> with the value <b>Red</b>.
43384442
* </p>
4443+
* <note>
4444+
* <p>
4445+
* You will not be charged for calling this API if an
4446+
* <code>Access denied</code> error is returned. You will also not be
4447+
* charged if no attributes or pagination token was provided in request and
4448+
* no pagination token and no results were returned.
4449+
* </p>
4450+
* </note>
43394451
*
43404452
* @param listThingsRequest <p>
43414453
* The input for the ListThings operation.
@@ -4393,6 +4505,7 @@ ListThingsInBillingGroupResult listThingsInBillingGroup(
43934505
* @throws InvalidRequestException
43944506
* @throws InternalFailureException
43954507
* @throws ResourceNotFoundException
4508+
* @throws ThrottlingException
43964509
* @throws AmazonClientException If any internal errors are encountered
43974510
* inside the client while attempting to make the request or
43984511
* handle the response. For example if a network connection is
@@ -4574,6 +4687,35 @@ RegisterCertificateResult registerCertificate(
45744687
RegisterCertificateRequest registerCertificateRequest) throws AmazonClientException,
45754688
AmazonServiceException;
45764689

4690+
/**
4691+
* <p>
4692+
* Register a certificate that does not have a certificate authority (CA).
4693+
* </p>
4694+
*
4695+
* @param registerCertificateWithoutCARequest
4696+
* @return registerCertificateWithoutCAResult The response from the
4697+
* RegisterCertificateWithoutCA service method, as returned by AWS
4698+
* IoT.
4699+
* @throws ResourceAlreadyExistsException
4700+
* @throws InvalidRequestException
4701+
* @throws CertificateStateException
4702+
* @throws CertificateValidationException
4703+
* @throws ThrottlingException
4704+
* @throws UnauthorizedException
4705+
* @throws ServiceUnavailableException
4706+
* @throws InternalFailureException
4707+
* @throws AmazonClientException If any internal errors are encountered
4708+
* inside the client while attempting to make the request or
4709+
* handle the response. For example if a network connection is
4710+
* not available.
4711+
* @throws AmazonServiceException If an error response is returned by AWS
4712+
* IoT indicating either a problem with the data in the request,
4713+
* or a server side issue.
4714+
*/
4715+
RegisterCertificateWithoutCAResult registerCertificateWithoutCA(
4716+
RegisterCertificateWithoutCARequest registerCertificateWithoutCARequest)
4717+
throws AmazonClientException, AmazonServiceException;
4718+
45774719
/**
45784720
* <p>
45794721
* Provisions a thing in the device registry. RegisterThing calls other AWS
@@ -4672,6 +4814,12 @@ RemoveThingFromBillingGroupResult removeThingFromBillingGroup(
46724814
* <p>
46734815
* Remove the specified thing from the specified group.
46744816
* </p>
4817+
* <p>
4818+
* You must specify either a <code>thingGroupArn</code> or a
4819+
* <code>thingGroupName</code> to identify the thing group and either a
4820+
* <code>thingArn</code> or a <code>thingName</code> to identify the thing
4821+
* to remove from the thing group.
4822+
* </p>
46754823
*
46764824
* @param removeThingFromThingGroupRequest
46774825
* @return removeThingFromThingGroupResult The response from the
@@ -4839,6 +4987,7 @@ void setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest)
48394987
* @throws NotConfiguredException
48404988
* @throws InvalidRequestException
48414989
* @throws ServiceUnavailableException
4990+
* @throws LimitExceededException
48424991
* @throws AmazonClientException If any internal errors are encountered
48434992
* inside the client while attempting to make the request or
48444993
* handle the response. For example if a network connection is
@@ -5147,6 +5296,30 @@ UpdateAccountAuditConfigurationResult updateAccountAuditConfiguration(
51475296
UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest)
51485297
throws AmazonClientException, AmazonServiceException;
51495298

5299+
/**
5300+
* <p>
5301+
* Updates a Device Defender audit suppression.
5302+
* </p>
5303+
*
5304+
* @param updateAuditSuppressionRequest
5305+
* @return updateAuditSuppressionResult The response from the
5306+
* UpdateAuditSuppression service method, as returned by AWS IoT.
5307+
* @throws InvalidRequestException
5308+
* @throws ResourceNotFoundException
5309+
* @throws ThrottlingException
5310+
* @throws InternalFailureException
5311+
* @throws AmazonClientException If any internal errors are encountered
5312+
* inside the client while attempting to make the request or
5313+
* handle the response. For example if a network connection is
5314+
* not available.
5315+
* @throws AmazonServiceException If an error response is returned by AWS
5316+
* IoT indicating either a problem with the data in the request,
5317+
* or a server side issue.
5318+
*/
5319+
UpdateAuditSuppressionResult updateAuditSuppression(
5320+
UpdateAuditSuppressionRequest updateAuditSuppressionRequest)
5321+
throws AmazonClientException, AmazonServiceException;
5322+
51505323
/**
51515324
* <p>
51525325
* Updates an authorizer.
@@ -5228,13 +5401,14 @@ void updateCACertificate(UpdateCACertificateRequest updateCACertificateRequest)
52285401
* idempotent.
52295402
* </p>
52305403
* <p>
5231-
* Moving a certificate from the ACTIVE state (including REVOKED) will not
5232-
* disconnect currently connected devices, but these devices will be unable
5233-
* to reconnect.
5404+
* Certificates must be in the ACTIVE state to authenticate devices that use
5405+
* a certificate to connect to AWS IoT.
52345406
* </p>
52355407
* <p>
5236-
* The ACTIVE state is required to authenticate devices connecting to AWS
5237-
* IoT using a certificate.
5408+
* Within a few minutes of updating a certificate from the ACTIVE state to
5409+
* any other state, AWS IoT disconnects all devices that used that
5410+
* certificate to connect. Devices cannot use a certificate that is not in
5411+
* the ACTIVE state to reconnect.
52385412
* </p>
52395413
*
52405414
* @param updateCertificateRequest <p>

0 commit comments

Comments
 (0)