Skip to content

Commit 1781546

Browse files
author
AWS
committed
AWS Service Catalog Update: ServiceCatalog's APIs (DeleteServiceAction, DisassociateServiceActionFromProvisioningArtifact, AssociateServiceActionWithProvisioningArtifact) now throw InvalidParametersException when IdempotencyToken is invalid.
1 parent 1b7ece7 commit 1781546

File tree

2 files changed

+45
-72
lines changed

2 files changed

+45
-72
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Service Catalog",
4+
"contributor": "",
5+
"description": "ServiceCatalog's APIs (DeleteServiceAction, DisassociateServiceActionFromProvisioningArtifact, AssociateServiceActionWithProvisioningArtifact) now throw InvalidParametersException when IdempotencyToken is invalid."
6+
}

services/servicecatalog/src/main/resources/codegen-resources/service-2.json

Lines changed: 39 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@
372372
"output":{"shape":"DeleteServiceActionOutput"},
373373
"errors":[
374374
{"shape":"ResourceNotFoundException"},
375-
{"shape":"ResourceInUseException"}
375+
{"shape":"ResourceInUseException"},
376+
{"shape":"InvalidParametersException"}
376377
],
377378
"documentation":"<p>Deletes a self-service action.</p>"
378379
},
@@ -677,7 +678,8 @@
677678
"input":{"shape":"DisassociateServiceActionFromProvisioningArtifactInput"},
678679
"output":{"shape":"DisassociateServiceActionFromProvisioningArtifactOutput"},
679680
"errors":[
680-
{"shape":"ResourceNotFoundException"}
681+
{"shape":"ResourceNotFoundException"},
682+
{"shape":"InvalidParametersException"}
681683
],
682684
"documentation":"<p>Disassociates the specified self-service action association from the specified provisioning artifact.</p>"
683685
},
@@ -1331,8 +1333,7 @@
13311333
},
13321334
"AcceptPortfolioShareOutput":{
13331335
"type":"structure",
1334-
"members":{
1335-
}
1336+
"members":{}
13361337
},
13371338
"AccessLevelFilter":{
13381339
"type":"structure",
@@ -1402,8 +1403,7 @@
14021403
},
14031404
"AssociateBudgetWithResourceOutput":{
14041405
"type":"structure",
1405-
"members":{
1406-
}
1406+
"members":{}
14071407
},
14081408
"AssociatePrincipalWithPortfolioInput":{
14091409
"type":"structure",
@@ -1433,8 +1433,7 @@
14331433
},
14341434
"AssociatePrincipalWithPortfolioOutput":{
14351435
"type":"structure",
1436-
"members":{
1437-
}
1436+
"members":{}
14381437
},
14391438
"AssociateProductWithPortfolioInput":{
14401439
"type":"structure",
@@ -1463,8 +1462,7 @@
14631462
},
14641463
"AssociateProductWithPortfolioOutput":{
14651464
"type":"structure",
1466-
"members":{
1467-
}
1465+
"members":{}
14681466
},
14691467
"AssociateServiceActionWithProvisioningArtifactInput":{
14701468
"type":"structure",
@@ -1499,8 +1497,7 @@
14991497
},
15001498
"AssociateServiceActionWithProvisioningArtifactOutput":{
15011499
"type":"structure",
1502-
"members":{
1503-
}
1500+
"members":{}
15041501
},
15051502
"AssociateTagOptionWithResourceInput":{
15061503
"type":"structure",
@@ -1521,8 +1518,7 @@
15211518
},
15221519
"AssociateTagOptionWithResourceOutput":{
15231520
"type":"structure",
1524-
"members":{
1525-
}
1521+
"members":{}
15261522
},
15271523
"AttributeValue":{"type":"string"},
15281524
"BatchAssociateServiceActionWithProvisioningArtifactInput":{
@@ -2217,8 +2213,7 @@
22172213
},
22182214
"DeleteConstraintOutput":{
22192215
"type":"structure",
2220-
"members":{
2221-
}
2216+
"members":{}
22222217
},
22232218
"DeletePortfolioInput":{
22242219
"type":"structure",
@@ -2236,8 +2231,7 @@
22362231
},
22372232
"DeletePortfolioOutput":{
22382233
"type":"structure",
2239-
"members":{
2240-
}
2234+
"members":{}
22412235
},
22422236
"DeletePortfolioShareInput":{
22432237
"type":"structure",
@@ -2286,8 +2280,7 @@
22862280
},
22872281
"DeleteProductOutput":{
22882282
"type":"structure",
2289-
"members":{
2290-
}
2283+
"members":{}
22912284
},
22922285
"DeleteProvisionedProductPlanInput":{
22932286
"type":"structure",
@@ -2309,8 +2302,7 @@
23092302
},
23102303
"DeleteProvisionedProductPlanOutput":{
23112304
"type":"structure",
2312-
"members":{
2313-
}
2305+
"members":{}
23142306
},
23152307
"DeleteProvisioningArtifactInput":{
23162308
"type":"structure",
@@ -2335,8 +2327,7 @@
23352327
},
23362328
"DeleteProvisioningArtifactOutput":{
23372329
"type":"structure",
2338-
"members":{
2339-
}
2330+
"members":{}
23402331
},
23412332
"DeleteServiceActionInput":{
23422333
"type":"structure",
@@ -2359,8 +2350,7 @@
23592350
},
23602351
"DeleteServiceActionOutput":{
23612352
"type":"structure",
2362-
"members":{
2363-
}
2353+
"members":{}
23642354
},
23652355
"DeleteTagOptionInput":{
23662356
"type":"structure",
@@ -2374,8 +2364,7 @@
23742364
},
23752365
"DeleteTagOptionOutput":{
23762366
"type":"structure",
2377-
"members":{
2378-
}
2367+
"members":{}
23792368
},
23802369
"DescribeConstraintInput":{
23812370
"type":"structure",
@@ -2973,13 +2962,11 @@
29732962
"Description":{"type":"string"},
29742963
"DisableAWSOrganizationsAccessInput":{
29752964
"type":"structure",
2976-
"members":{
2977-
}
2965+
"members":{}
29782966
},
29792967
"DisableAWSOrganizationsAccessOutput":{
29802968
"type":"structure",
2981-
"members":{
2982-
}
2969+
"members":{}
29832970
},
29842971
"DisableTemplateValidation":{"type":"boolean"},
29852972
"DisassociateBudgetFromResourceInput":{
@@ -3001,8 +2988,7 @@
30012988
},
30022989
"DisassociateBudgetFromResourceOutput":{
30032990
"type":"structure",
3004-
"members":{
3005-
}
2991+
"members":{}
30062992
},
30072993
"DisassociatePrincipalFromPortfolioInput":{
30082994
"type":"structure",
@@ -3031,8 +3017,7 @@
30313017
},
30323018
"DisassociatePrincipalFromPortfolioOutput":{
30333019
"type":"structure",
3034-
"members":{
3035-
}
3020+
"members":{}
30363021
},
30373022
"DisassociateProductFromPortfolioInput":{
30383023
"type":"structure",
@@ -3057,8 +3042,7 @@
30573042
},
30583043
"DisassociateProductFromPortfolioOutput":{
30593044
"type":"structure",
3060-
"members":{
3061-
}
3045+
"members":{}
30623046
},
30633047
"DisassociateServiceActionFromProvisioningArtifactInput":{
30643048
"type":"structure",
@@ -3093,8 +3077,7 @@
30933077
},
30943078
"DisassociateServiceActionFromProvisioningArtifactOutput":{
30953079
"type":"structure",
3096-
"members":{
3097-
}
3080+
"members":{}
30983081
},
30993082
"DisassociateTagOptionFromResourceInput":{
31003083
"type":"structure",
@@ -3115,25 +3098,21 @@
31153098
},
31163099
"DisassociateTagOptionFromResourceOutput":{
31173100
"type":"structure",
3118-
"members":{
3119-
}
3101+
"members":{}
31203102
},
31213103
"DuplicateResourceException":{
31223104
"type":"structure",
3123-
"members":{
3124-
},
3105+
"members":{},
31253106
"documentation":"<p>The specified resource is a duplicate.</p>",
31263107
"exception":true
31273108
},
31283109
"EnableAWSOrganizationsAccessInput":{
31293110
"type":"structure",
3130-
"members":{
3131-
}
3111+
"members":{}
31323112
},
31333113
"EnableAWSOrganizationsAccessOutput":{
31343114
"type":"structure",
3135-
"members":{
3136-
}
3115+
"members":{}
31373116
},
31383117
"EngineWorkflowFailureReason":{
31393118
"type":"string",
@@ -3328,8 +3307,7 @@
33283307
},
33293308
"GetAWSOrganizationsAccessStatusInput":{
33303309
"type":"structure",
3331-
"members":{
3332-
}
3310+
"members":{}
33333311
},
33343312
"GetAWSOrganizationsAccessStatusOutput":{
33353313
"type":"structure",
@@ -3443,15 +3421,13 @@
34433421
"InstructionValue":{"type":"string"},
34443422
"InvalidParametersException":{
34453423
"type":"structure",
3446-
"members":{
3447-
},
3424+
"members":{},
34483425
"documentation":"<p>One or more parameters provided to the operation are not valid.</p>",
34493426
"exception":true
34503427
},
34513428
"InvalidStateException":{
34523429
"type":"structure",
3453-
"members":{
3454-
},
3430+
"members":{},
34553431
"documentation":"<p>An attempt was made to modify a resource that is in a state that is not valid. Check your resources to ensure that they are in valid states before retrying the operation.</p>",
34563432
"exception":true
34573433
},
@@ -3538,8 +3514,7 @@
35383514
},
35393515
"LimitExceededException":{
35403516
"type":"structure",
3541-
"members":{
3542-
},
3517+
"members":{},
35433518
"documentation":"<p>The current limits of the service would have been exceeded by this operation. Decrease your resource use or increase your service limits and retry the operation.</p>",
35443519
"exception":true
35453520
},
@@ -4269,8 +4244,7 @@
42694244
},
42704245
"NotifyProvisionProductEngineWorkflowResultOutput":{
42714246
"type":"structure",
4272-
"members":{
4273-
}
4247+
"members":{}
42744248
},
42754249
"NotifyTerminateProvisionedProductEngineWorkflowResultInput":{
42764250
"type":"structure",
@@ -4306,8 +4280,7 @@
43064280
},
43074281
"NotifyTerminateProvisionedProductEngineWorkflowResultOutput":{
43084282
"type":"structure",
4309-
"members":{
4310-
}
4283+
"members":{}
43114284
},
43124285
"NotifyUpdateProvisionedProductEngineWorkflowResultInput":{
43134286
"type":"structure",
@@ -4347,17 +4320,15 @@
43474320
},
43484321
"NotifyUpdateProvisionedProductEngineWorkflowResultOutput":{
43494322
"type":"structure",
4350-
"members":{
4351-
}
4323+
"members":{}
43524324
},
43534325
"NullableBoolean":{
43544326
"type":"boolean",
43554327
"box":true
43564328
},
43574329
"OperationNotSupportedException":{
43584330
"type":"structure",
4359-
"members":{
4360-
},
4331+
"members":{},
43614332
"documentation":"<p>The operation is not supported.</p>",
43624333
"exception":true
43634334
},
@@ -5633,8 +5604,7 @@
56335604
},
56345605
"RejectPortfolioShareOutput":{
56355606
"type":"structure",
5636-
"members":{
5637-
}
5607+
"members":{}
56385608
},
56395609
"Replacement":{
56405610
"type":"string",
@@ -5781,15 +5751,13 @@
57815751
"ResourceId":{"type":"string"},
57825752
"ResourceInUseException":{
57835753
"type":"structure",
5784-
"members":{
5785-
},
5754+
"members":{},
57865755
"documentation":"<p>A resource that is currently in use. Ensure that the resource is not in use and retry the operation.</p>",
57875756
"exception":true
57885757
},
57895758
"ResourceNotFoundException":{
57905759
"type":"structure",
5791-
"members":{
5792-
},
5760+
"members":{},
57935761
"documentation":"<p>The specified resource was not found.</p>",
57945762
"exception":true
57955763
},
@@ -6411,8 +6379,7 @@
64116379
},
64126380
"TagOptionNotMigratedException":{
64136381
"type":"structure",
6414-
"members":{
6415-
},
6382+
"members":{},
64166383
"documentation":"<p>An operation requiring TagOptions failed because the TagOptions migration process has not been performed for this account. Use the Amazon Web Services Management Console to perform the migration process before retrying the operation.</p>",
64176384
"exception":true
64186385
},

0 commit comments

Comments
 (0)