Skip to content

Commit 6d706fd

Browse files
author
AWS
committed
Partner Central Selling API Update: Modified validation to allow expectedCustomerSpend array with zero elements in Partner Opportunity operations.
1 parent d67b609 commit 6d706fd

File tree

2 files changed

+32
-26
lines changed

2 files changed

+32
-26
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": "Partner Central Selling API",
4+
"contributor": "",
5+
"description": "Modified validation to allow expectedCustomerSpend array with zero elements in Partner Opportunity operations."
6+
}

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"input":{"shape":"AcceptEngagementInvitationRequest"},
2525
"errors":[
26-
{"shape":"ThrottlingException"},
2726
{"shape":"ConflictException"},
27+
{"shape":"ThrottlingException"},
2828
{"shape":"AccessDeniedException"},
2929
{"shape":"InternalServerException"},
3030
{"shape":"ValidationException"},
@@ -73,8 +73,8 @@
7373
"input":{"shape":"CreateEngagementRequest"},
7474
"output":{"shape":"CreateEngagementResponse"},
7575
"errors":[
76-
{"shape":"ThrottlingException"},
7776
{"shape":"ConflictException"},
77+
{"shape":"ThrottlingException"},
7878
{"shape":"AccessDeniedException"},
7979
{"shape":"ValidationException"},
8080
{"shape":"ServiceQuotaExceededException"},
@@ -92,8 +92,8 @@
9292
"input":{"shape":"CreateEngagementInvitationRequest"},
9393
"output":{"shape":"CreateEngagementInvitationResponse"},
9494
"errors":[
95-
{"shape":"ThrottlingException"},
9695
{"shape":"ConflictException"},
96+
{"shape":"ThrottlingException"},
9797
{"shape":"AccessDeniedException"},
9898
{"shape":"ValidationException"},
9999
{"shape":"ServiceQuotaExceededException"},
@@ -111,8 +111,8 @@
111111
"input":{"shape":"CreateOpportunityRequest"},
112112
"output":{"shape":"CreateOpportunityResponse"},
113113
"errors":[
114-
{"shape":"ThrottlingException"},
115114
{"shape":"ConflictException"},
115+
{"shape":"ThrottlingException"},
116116
{"shape":"AccessDeniedException"},
117117
{"shape":"InternalServerException"},
118118
{"shape":"ValidationException"},
@@ -130,8 +130,8 @@
130130
"input":{"shape":"CreateResourceSnapshotRequest"},
131131
"output":{"shape":"CreateResourceSnapshotResponse"},
132132
"errors":[
133-
{"shape":"ThrottlingException"},
134133
{"shape":"ConflictException"},
134+
{"shape":"ThrottlingException"},
135135
{"shape":"AccessDeniedException"},
136136
{"shape":"ValidationException"},
137137
{"shape":"ServiceQuotaExceededException"},
@@ -149,8 +149,8 @@
149149
"input":{"shape":"CreateResourceSnapshotJobRequest"},
150150
"output":{"shape":"CreateResourceSnapshotJobResponse"},
151151
"errors":[
152-
{"shape":"ThrottlingException"},
153152
{"shape":"ConflictException"},
153+
{"shape":"ThrottlingException"},
154154
{"shape":"AccessDeniedException"},
155155
{"shape":"ValidationException"},
156156
{"shape":"ServiceQuotaExceededException"},
@@ -167,8 +167,8 @@
167167
},
168168
"input":{"shape":"DeleteResourceSnapshotJobRequest"},
169169
"errors":[
170-
{"shape":"ThrottlingException"},
171170
{"shape":"ConflictException"},
171+
{"shape":"ThrottlingException"},
172172
{"shape":"AccessDeniedException"},
173173
{"shape":"ValidationException"},
174174
{"shape":"ResourceNotFoundException"}
@@ -511,8 +511,8 @@
511511
},
512512
"input":{"shape":"RejectEngagementInvitationRequest"},
513513
"errors":[
514-
{"shape":"ThrottlingException"},
515514
{"shape":"ConflictException"},
515+
{"shape":"ThrottlingException"},
516516
{"shape":"AccessDeniedException"},
517517
{"shape":"InternalServerException"},
518518
{"shape":"ValidationException"},
@@ -529,8 +529,8 @@
529529
"input":{"shape":"StartEngagementByAcceptingInvitationTaskRequest"},
530530
"output":{"shape":"StartEngagementByAcceptingInvitationTaskResponse"},
531531
"errors":[
532-
{"shape":"ThrottlingException"},
533532
{"shape":"ConflictException"},
533+
{"shape":"ThrottlingException"},
534534
{"shape":"AccessDeniedException"},
535535
{"shape":"InternalServerException"},
536536
{"shape":"ValidationException"},
@@ -548,8 +548,8 @@
548548
"input":{"shape":"StartEngagementFromOpportunityTaskRequest"},
549549
"output":{"shape":"StartEngagementFromOpportunityTaskResponse"},
550550
"errors":[
551-
{"shape":"ThrottlingException"},
552551
{"shape":"ConflictException"},
552+
{"shape":"ThrottlingException"},
553553
{"shape":"AccessDeniedException"},
554554
{"shape":"InternalServerException"},
555555
{"shape":"ValidationException"},
@@ -615,8 +615,8 @@
615615
"input":{"shape":"TagResourceRequest"},
616616
"output":{"shape":"TagResourceResponse"},
617617
"errors":[
618-
{"shape":"ThrottlingException"},
619618
{"shape":"ConflictException"},
619+
{"shape":"ThrottlingException"},
620620
{"shape":"AccessDeniedException"},
621621
{"shape":"InternalServerException"},
622622
{"shape":"ValidationException"},
@@ -634,8 +634,8 @@
634634
"input":{"shape":"UntagResourceRequest"},
635635
"output":{"shape":"UntagResourceResponse"},
636636
"errors":[
637-
{"shape":"ThrottlingException"},
638637
{"shape":"ConflictException"},
638+
{"shape":"ThrottlingException"},
639639
{"shape":"AccessDeniedException"},
640640
{"shape":"InternalServerException"},
641641
{"shape":"ValidationException"},
@@ -653,8 +653,8 @@
653653
"input":{"shape":"UpdateOpportunityRequest"},
654654
"output":{"shape":"UpdateOpportunityResponse"},
655655
"errors":[
656-
{"shape":"ThrottlingException"},
657656
{"shape":"ConflictException"},
657+
{"shape":"ThrottlingException"},
658658
{"shape":"AccessDeniedException"},
659659
{"shape":"InternalServerException"},
660660
{"shape":"ValidationException"},
@@ -874,7 +874,7 @@
874874
"type":"string",
875875
"max":80,
876876
"min":0,
877-
"pattern":"^[\\p{L}\\p{N}\\p{P}\\p{Z}]+$"
877+
"sensitive":true
878878
},
879879
"ApnPrograms":{
880880
"type":"list",
@@ -1301,7 +1301,7 @@
13011301
"type":"string",
13021302
"max":120,
13031303
"min":1,
1304-
"pattern":"^[\\p{L}\\p{N}\\p{P}\\p{Z}]+$"
1304+
"sensitive":true
13051305
},
13061306
"CompanyWebsiteUrl":{
13071307
"type":"string",
@@ -1848,7 +1848,7 @@
18481848
},
18491849
"Tags":{
18501850
"shape":"TagList",
1851-
"documentation":"<p>A list of objects specifying each tag name and value.</p>"
1851+
"documentation":"<p>A map of the key-value pairs of the tag or tags to assign.</p>"
18521852
}
18531853
}
18541854
},
@@ -2803,7 +2803,8 @@
28032803
"ExpectedCustomerSpendList":{
28042804
"type":"list",
28052805
"member":{"shape":"ExpectedCustomerSpend"},
2806-
"min":1
2806+
"max":10,
2807+
"min":0
28072808
},
28082809
"ExpectedCustomerSpendTargetCompanyString":{
28092810
"type":"string",
@@ -3372,7 +3373,8 @@
33723373
"InvitationMessage":{
33733374
"type":"string",
33743375
"max":255,
3375-
"min":1
3376+
"min":1,
3377+
"sensitive":true
33763378
},
33773379
"InvitationStatus":{
33783380
"type":"string",
@@ -3936,10 +3938,7 @@
39363938
"shape":"String",
39373939
"documentation":"<p>The token for the next set of results. This value is returned from a previous call.</p>"
39383940
},
3939-
"Sort":{
3940-
"shape":"EngagementSort",
3941-
"documentation":"<p> An object that specifies the sort order of the results. </p>"
3942-
}
3941+
"Sort":{"shape":"EngagementSort"}
39433942
}
39443943
},
39453944
"ListEngagementsResponse":{
@@ -4291,7 +4290,8 @@
42914290
"MemberCompanyName":{
42924291
"type":"string",
42934292
"max":120,
4294-
"min":1
4293+
"min":1,
4294+
"sensitive":true
42954295
},
42964296
"MemberPageSize":{
42974297
"type":"integer",
@@ -5302,7 +5302,7 @@
53025302
},
53035303
"Tags":{
53045304
"shape":"TagList",
5305-
"documentation":"<p>A list of objects specifying each tag name and value.</p>"
5305+
"documentation":"<p>A map of the key-value pairs of the tag or tags to assign.</p>"
53065306
}
53075307
}
53085308
},
@@ -5377,7 +5377,7 @@
53775377
},
53785378
"Tags":{
53795379
"shape":"TagList",
5380-
"documentation":"<p>A list of objects specifying each tag name and value.</p>"
5380+
"documentation":"<p>A map of the key-value pairs of the tag or tags to assign.</p>"
53815381
}
53825382
}
53835383
},
@@ -5541,7 +5541,7 @@
55415541
},
55425542
"Tags":{
55435543
"shape":"TagList",
5544-
"documentation":"<p>A map of the key-value pairs of the tag or tags to assign to the resource.</p>"
5544+
"documentation":"<p>A map of the key-value pairs of the tag or tags to assign.</p>"
55455545
}
55465546
}
55475547
},

0 commit comments

Comments
 (0)