aws-sdk-partnercentralselling 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-partnercentralselling/client.rb +213 -44
- data/lib/aws-sdk-partnercentralselling/client_api.rb +86 -0
- data/lib/aws-sdk-partnercentralselling/types.rb +189 -71
- data/lib/aws-sdk-partnercentralselling.rb +1 -1
- data/sig/client.rbs +60 -5
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +41 -4
- metadata +4 -4
@@ -215,6 +215,8 @@ module Aws::PartnerCentralSelling
|
|
215
215
|
ListSolutionsRequestIdentifierList = Shapes::ListShape.new(name: 'ListSolutionsRequestIdentifierList')
|
216
216
|
ListSolutionsRequestStatusList = Shapes::ListShape.new(name: 'ListSolutionsRequestStatusList')
|
217
217
|
ListSolutionsResponse = Shapes::StructureShape.new(name: 'ListSolutionsResponse')
|
218
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
219
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
218
220
|
ListTasksSortBase = Shapes::StructureShape.new(name: 'ListTasksSortBase')
|
219
221
|
ListTasksSortName = Shapes::StringShape.new(name: 'ListTasksSortName')
|
220
222
|
Marketing = Shapes::StructureShape.new(name: 'Marketing')
|
@@ -318,6 +320,14 @@ module Aws::PartnerCentralSelling
|
|
318
320
|
StopResourceSnapshotJobRequest = Shapes::StructureShape.new(name: 'StopResourceSnapshotJobRequest')
|
319
321
|
String = Shapes::StringShape.new(name: 'String')
|
320
322
|
SubmitOpportunityRequest = Shapes::StructureShape.new(name: 'SubmitOpportunityRequest')
|
323
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
324
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
325
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
326
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
327
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
328
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
329
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
330
|
+
TaggableResourceArn = Shapes::StringShape.new(name: 'TaggableResourceArn')
|
321
331
|
TaskArn = Shapes::StringShape.new(name: 'TaskArn')
|
322
332
|
TaskArnOrIdentifier = Shapes::StringShape.new(name: 'TaskArnOrIdentifier')
|
323
333
|
TaskIdentifier = Shapes::StringShape.new(name: 'TaskIdentifier')
|
@@ -325,6 +335,8 @@ module Aws::PartnerCentralSelling
|
|
325
335
|
TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
|
326
336
|
TaskStatuses = Shapes::ListShape.new(name: 'TaskStatuses')
|
327
337
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
338
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
339
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
328
340
|
UpdateOpportunityRequest = Shapes::StructureShape.new(name: 'UpdateOpportunityRequest')
|
329
341
|
UpdateOpportunityRequestPartnerOpportunityIdentifierString = Shapes::StringShape.new(name: 'UpdateOpportunityRequestPartnerOpportunityIdentifierString')
|
330
342
|
UpdateOpportunityResponse = Shapes::StructureShape.new(name: 'UpdateOpportunityResponse')
|
@@ -498,6 +510,7 @@ module Aws::PartnerCentralSelling
|
|
498
510
|
CreateResourceSnapshotJobRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "ResourceIdentifier"))
|
499
511
|
CreateResourceSnapshotJobRequest.add_member(:resource_snapshot_template_identifier, Shapes::ShapeRef.new(shape: ResourceTemplateName, required: true, location_name: "ResourceSnapshotTemplateIdentifier"))
|
500
512
|
CreateResourceSnapshotJobRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
|
513
|
+
CreateResourceSnapshotJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
501
514
|
CreateResourceSnapshotJobRequest.struct_class = Types::CreateResourceSnapshotJobRequest
|
502
515
|
|
503
516
|
CreateResourceSnapshotJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceSnapshotJobArn, location_name: "Arn"))
|
@@ -969,6 +982,12 @@ module Aws::PartnerCentralSelling
|
|
969
982
|
ListSolutionsResponse.add_member(:solution_summaries, Shapes::ShapeRef.new(shape: SolutionList, required: true, location_name: "SolutionSummaries"))
|
970
983
|
ListSolutionsResponse.struct_class = Types::ListSolutionsResponse
|
971
984
|
|
985
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
986
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
987
|
+
|
988
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
989
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
990
|
+
|
972
991
|
ListTasksSortBase.add_member(:sort_by, Shapes::ShapeRef.new(shape: ListTasksSortName, required: true, location_name: "SortBy"))
|
973
992
|
ListTasksSortBase.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder"))
|
974
993
|
ListTasksSortBase.struct_class = Types::ListTasksSortBase
|
@@ -1169,6 +1188,7 @@ module Aws::PartnerCentralSelling
|
|
1169
1188
|
StartEngagementByAcceptingInvitationTaskRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: CatalogIdentifier, required: true, location_name: "Catalog"))
|
1170
1189
|
StartEngagementByAcceptingInvitationTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: StartEngagementByAcceptingInvitationTaskRequestClientTokenString, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1171
1190
|
StartEngagementByAcceptingInvitationTaskRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: EngagementInvitationArnOrIdentifier, required: true, location_name: "Identifier"))
|
1191
|
+
StartEngagementByAcceptingInvitationTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1172
1192
|
StartEngagementByAcceptingInvitationTaskRequest.struct_class = Types::StartEngagementByAcceptingInvitationTaskRequest
|
1173
1193
|
|
1174
1194
|
StartEngagementByAcceptingInvitationTaskResponse.add_member(:engagement_invitation_id, Shapes::ShapeRef.new(shape: EngagementInvitationIdentifier, location_name: "EngagementInvitationId"))
|
@@ -1186,6 +1206,7 @@ module Aws::PartnerCentralSelling
|
|
1186
1206
|
StartEngagementFromOpportunityTaskRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: CatalogIdentifier, required: true, location_name: "Catalog"))
|
1187
1207
|
StartEngagementFromOpportunityTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: StartEngagementFromOpportunityTaskRequestClientTokenString, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1188
1208
|
StartEngagementFromOpportunityTaskRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: OpportunityIdentifier, required: true, location_name: "Identifier"))
|
1209
|
+
StartEngagementFromOpportunityTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1189
1210
|
StartEngagementFromOpportunityTaskRequest.struct_class = Types::StartEngagementFromOpportunityTaskRequest
|
1190
1211
|
|
1191
1212
|
StartEngagementFromOpportunityTaskResponse.add_member(:engagement_id, Shapes::ShapeRef.new(shape: EngagementIdentifier, location_name: "EngagementId"))
|
@@ -1214,6 +1235,20 @@ module Aws::PartnerCentralSelling
|
|
1214
1235
|
SubmitOpportunityRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility"))
|
1215
1236
|
SubmitOpportunityRequest.struct_class = Types::SubmitOpportunityRequest
|
1216
1237
|
|
1238
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
1239
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
1240
|
+
Tag.struct_class = Types::Tag
|
1241
|
+
|
1242
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1243
|
+
|
1244
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1245
|
+
|
1246
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
1247
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1248
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1249
|
+
|
1250
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1251
|
+
|
1217
1252
|
TaskIdentifiers.member = Shapes::ShapeRef.new(shape: TaskArnOrIdentifier)
|
1218
1253
|
|
1219
1254
|
TaskStatuses.member = Shapes::ShapeRef.new(shape: TaskStatus)
|
@@ -1221,6 +1256,12 @@ module Aws::PartnerCentralSelling
|
|
1221
1256
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1222
1257
|
ThrottlingException.struct_class = Types::ThrottlingException
|
1223
1258
|
|
1259
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
1260
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1261
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1262
|
+
|
1263
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1264
|
+
|
1224
1265
|
UpdateOpportunityRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: CatalogIdentifier, required: true, location_name: "Catalog"))
|
1225
1266
|
UpdateOpportunityRequest.add_member(:customer, Shapes::ShapeRef.new(shape: Customer, location_name: "Customer"))
|
1226
1267
|
UpdateOpportunityRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: OpportunityIdentifier, required: true, location_name: "Identifier"))
|
@@ -1281,6 +1322,7 @@ module Aws::PartnerCentralSelling
|
|
1281
1322
|
o.input = Shapes::ShapeRef.new(shape: AcceptEngagementInvitationRequest)
|
1282
1323
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1283
1324
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1325
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1284
1326
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1285
1327
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1286
1328
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -1390,6 +1432,7 @@ module Aws::PartnerCentralSelling
|
|
1390
1432
|
o.input = Shapes::ShapeRef.new(shape: DeleteResourceSnapshotJobRequest)
|
1391
1433
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1392
1434
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1435
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1393
1436
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1394
1437
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1395
1438
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1632,6 +1675,7 @@ module Aws::PartnerCentralSelling
|
|
1632
1675
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1633
1676
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1634
1677
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1678
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1635
1679
|
o[:pager] = Aws::Pager.new(
|
1636
1680
|
limit_key: "max_results",
|
1637
1681
|
tokens: {
|
@@ -1676,6 +1720,19 @@ module Aws::PartnerCentralSelling
|
|
1676
1720
|
)
|
1677
1721
|
end)
|
1678
1722
|
|
1723
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1724
|
+
o.name = "ListTagsForResource"
|
1725
|
+
o.http_method = "POST"
|
1726
|
+
o.http_request_uri = "/"
|
1727
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
1728
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
1729
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1730
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1731
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1732
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1733
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1734
|
+
end)
|
1735
|
+
|
1679
1736
|
api.add_operation(:put_selling_system_settings, Seahorse::Model::Operation.new.tap do |o|
|
1680
1737
|
o.name = "PutSellingSystemSettings"
|
1681
1738
|
o.http_method = "POST"
|
@@ -1695,6 +1752,7 @@ module Aws::PartnerCentralSelling
|
|
1695
1752
|
o.input = Shapes::ShapeRef.new(shape: RejectEngagementInvitationRequest)
|
1696
1753
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1697
1754
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1755
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1698
1756
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1699
1757
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1700
1758
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -1768,6 +1826,34 @@ module Aws::PartnerCentralSelling
|
|
1768
1826
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1769
1827
|
end)
|
1770
1828
|
|
1829
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1830
|
+
o.name = "TagResource"
|
1831
|
+
o.http_method = "POST"
|
1832
|
+
o.http_request_uri = "/"
|
1833
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1834
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1835
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1837
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1838
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1839
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1840
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1841
|
+
end)
|
1842
|
+
|
1843
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1844
|
+
o.name = "UntagResource"
|
1845
|
+
o.http_method = "POST"
|
1846
|
+
o.http_request_uri = "/"
|
1847
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1848
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
1849
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1851
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1852
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1853
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1855
|
+
end)
|
1856
|
+
|
1771
1857
|
api.add_operation(:update_opportunity, Seahorse::Model::Operation.new.tap do |o|
|
1772
1858
|
o.name = "UpdateOpportunity"
|
1773
1859
|
o.http_method = "POST"
|