Skip to content

Commit bb75d64

Browse files
author
awstools
committed
feat(client-service-catalog): ServiceCatalog's APIs (DeleteServiceAction, DisassociateServiceActionFromProvisioningArtifact, AssociateServiceActionWithProvisioningArtifact) now throw InvalidParametersException when IdempotencyToken is invalid.
1 parent 03ae328 commit bb75d64

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

clients/client-service-catalog/src/commands/DeleteServiceActionCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ export interface DeleteServiceActionCommandOutput extends DeleteServiceActionOut
5252
* @see {@link DeleteServiceActionCommandOutput} for command's `response` shape.
5353
* @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape.
5454
*
55+
* @throws {@link InvalidParametersException} (client fault)
56+
* <p>One or more parameters provided to the operation are not valid.</p>
57+
*
5558
* @throws {@link ResourceInUseException} (client fault)
5659
* <p>A resource that is currently in use. Ensure that the resource is not in use and retry the operation.</p>
5760
*

clients/client-service-catalog/src/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export interface DisassociateServiceActionFromProvisioningArtifactCommandOutput
6363
* @see {@link DisassociateServiceActionFromProvisioningArtifactCommandOutput} for command's `response` shape.
6464
* @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape.
6565
*
66+
* @throws {@link InvalidParametersException} (client fault)
67+
* <p>One or more parameters provided to the operation are not valid.</p>
68+
*
6669
* @throws {@link ResourceNotFoundException} (client fault)
6770
* <p>The specified resource was not found.</p>
6871
*

codegen/sdk-codegen/aws-models/service-catalog.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3410,6 +3410,9 @@
34103410
"target": "com.amazonaws.servicecatalog#DeleteServiceActionOutput"
34113411
},
34123412
"errors": [
3413+
{
3414+
"target": "com.amazonaws.servicecatalog#InvalidParametersException"
3415+
},
34133416
{
34143417
"target": "com.amazonaws.servicecatalog#ResourceInUseException"
34153418
},
@@ -4949,6 +4952,9 @@
49494952
"target": "com.amazonaws.servicecatalog#DisassociateServiceActionFromProvisioningArtifactOutput"
49504953
},
49514954
"errors": [
4955+
{
4956+
"target": "com.amazonaws.servicecatalog#InvalidParametersException"
4957+
},
49524958
{
49534959
"target": "com.amazonaws.servicecatalog#ResourceNotFoundException"
49544960
}

0 commit comments

Comments
 (0)