aws-sdk-marketplacecatalog 1.24.0 → 1.26.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-marketplacecatalog/client.rb +92 -2
- data/lib/aws-sdk-marketplacecatalog/client_api.rb +69 -3
- data/lib/aws-sdk-marketplacecatalog/endpoint_provider.rb +38 -96
- data/lib/aws-sdk-marketplacecatalog/endpoints.rb +42 -0
- data/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-marketplacecatalog/types.rb +96 -175
- data/lib/aws-sdk-marketplacecatalog.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d15657d197ee28bbb5d11cabaad35869fe856c19e705f99b9bceeaa7c5664407
|
4
|
+
data.tar.gz: ff50e8740ea012d4a46e1e71973b55baa38e1920ae16dafe37ea3efe3dfcce84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3be5a4fdec4e856d743b71c6020993d2a8846d4aa321e33c9243d996313fcd0823ff418dec643f5acbc9454d3bd48fddc46fe3155f01f8f58c8afd2fcc2a86f9
|
7
|
+
data.tar.gz: f176395699edbc88102a94b9a9829bd47f0346214b432b87be72e87be2adeebc93075e76570a1a101cff0e756699f8851408404a961652a11c776a613d0760ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2023-04-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added three new APIs to support resource sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added new OwnershipType field to ListEntities request to let users filter on entities that are shared with them. Increased max page size of ListEntities response from 20 to 50 results.
|
8
|
+
|
9
|
+
1.25.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.24.0 (2022-11-11)
|
5
17
|
------------------
|
6
18
|
|
@@ -130,4 +142,4 @@ Unreleased Changes
|
|
130
142
|
1.0.0 (2019-11-12)
|
131
143
|
------------------
|
132
144
|
|
133
|
-
* Feature - Initial release of `aws-sdk-marketplacecatalog`.
|
145
|
+
* Feature - Initial release of `aws-sdk-marketplacecatalog`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
@@ -407,6 +407,30 @@ module Aws::MarketplaceCatalog
|
|
407
407
|
req.send_request(options)
|
408
408
|
end
|
409
409
|
|
410
|
+
# Deletes a resource-based policy on an Entity that is identified by its
|
411
|
+
# resource ARN.
|
412
|
+
#
|
413
|
+
# @option params [required, String] :resource_arn
|
414
|
+
# The Amazon Resource Name (ARN) of the Entity resource that is
|
415
|
+
# associated with the resource policy.
|
416
|
+
#
|
417
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
418
|
+
#
|
419
|
+
# @example Request syntax with placeholder values
|
420
|
+
#
|
421
|
+
# resp = client.delete_resource_policy({
|
422
|
+
# resource_arn: "ResourceARN", # required
|
423
|
+
# })
|
424
|
+
#
|
425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DeleteResourcePolicy AWS API Documentation
|
426
|
+
#
|
427
|
+
# @overload delete_resource_policy(params = {})
|
428
|
+
# @param [Hash] params ({})
|
429
|
+
def delete_resource_policy(params = {}, options = {})
|
430
|
+
req = build_request(:delete_resource_policy, params)
|
431
|
+
req.send_request(options)
|
432
|
+
end
|
433
|
+
|
410
434
|
# Provides information about a given change set.
|
411
435
|
#
|
412
436
|
# @option params [required, String] :catalog
|
@@ -506,6 +530,36 @@ module Aws::MarketplaceCatalog
|
|
506
530
|
req.send_request(options)
|
507
531
|
end
|
508
532
|
|
533
|
+
# Gets a resource-based policy of an Entity that is identified by its
|
534
|
+
# resource ARN.
|
535
|
+
#
|
536
|
+
# @option params [required, String] :resource_arn
|
537
|
+
# The Amazon Resource Name (ARN) of the Entity resource that is
|
538
|
+
# associated with the resource policy.
|
539
|
+
#
|
540
|
+
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
541
|
+
#
|
542
|
+
# * {Types::GetResourcePolicyResponse#policy #policy} => String
|
543
|
+
#
|
544
|
+
# @example Request syntax with placeholder values
|
545
|
+
#
|
546
|
+
# resp = client.get_resource_policy({
|
547
|
+
# resource_arn: "ResourceARN", # required
|
548
|
+
# })
|
549
|
+
#
|
550
|
+
# @example Response structure
|
551
|
+
#
|
552
|
+
# resp.policy #=> String
|
553
|
+
#
|
554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/GetResourcePolicy AWS API Documentation
|
555
|
+
#
|
556
|
+
# @overload get_resource_policy(params = {})
|
557
|
+
# @param [Hash] params ({})
|
558
|
+
def get_resource_policy(params = {}, options = {})
|
559
|
+
req = build_request(:get_resource_policy, params)
|
560
|
+
req.send_request(options)
|
561
|
+
end
|
562
|
+
|
509
563
|
# Returns the list of change sets owned by the account being used to
|
510
564
|
# make the call. You can filter this list by providing any combination
|
511
565
|
# of `entityId`, `ChangeSetName`, and status. If you provide more than
|
@@ -604,6 +658,8 @@ module Aws::MarketplaceCatalog
|
|
604
658
|
# Specifies the upper limit of the elements on a single page. If a value
|
605
659
|
# isn't provided, the default value is 20.
|
606
660
|
#
|
661
|
+
# @option params [String] :ownership_type
|
662
|
+
#
|
607
663
|
# @return [Types::ListEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
608
664
|
#
|
609
665
|
# * {Types::ListEntitiesResponse#entity_summary_list #entity_summary_list} => Array<Types::EntitySummary>
|
@@ -628,6 +684,7 @@ module Aws::MarketplaceCatalog
|
|
628
684
|
# },
|
629
685
|
# next_token: "NextToken",
|
630
686
|
# max_results: 1,
|
687
|
+
# ownership_type: "SELF", # accepts SELF, SHARED
|
631
688
|
# })
|
632
689
|
#
|
633
690
|
# @example Response structure
|
@@ -689,6 +746,34 @@ module Aws::MarketplaceCatalog
|
|
689
746
|
req.send_request(options)
|
690
747
|
end
|
691
748
|
|
749
|
+
# Attaches a resource-based policy to an Entity. Examples of an entity
|
750
|
+
# include: `AmiProduct` and `ContainerProduct`.
|
751
|
+
#
|
752
|
+
# @option params [required, String] :resource_arn
|
753
|
+
# The Amazon Resource Name (ARN) of the Entity resource you want to
|
754
|
+
# associate with a resource policy.
|
755
|
+
#
|
756
|
+
# @option params [required, String] :policy
|
757
|
+
# The policy document to set; formatted in JSON.
|
758
|
+
#
|
759
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
760
|
+
#
|
761
|
+
# @example Request syntax with placeholder values
|
762
|
+
#
|
763
|
+
# resp = client.put_resource_policy({
|
764
|
+
# resource_arn: "ResourceARN", # required
|
765
|
+
# policy: "ResourcePolicyJson", # required
|
766
|
+
# })
|
767
|
+
#
|
768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/PutResourcePolicy AWS API Documentation
|
769
|
+
#
|
770
|
+
# @overload put_resource_policy(params = {})
|
771
|
+
# @param [Hash] params ({})
|
772
|
+
def put_resource_policy(params = {}, options = {})
|
773
|
+
req = build_request(:put_resource_policy, params)
|
774
|
+
req.send_request(options)
|
775
|
+
end
|
776
|
+
|
692
777
|
# Allows you to request changes for your entities. Within a single
|
693
778
|
# `ChangeSet`, you can't start the same change type against the same
|
694
779
|
# entity multiple times. Additionally, when a `ChangeSet` is running,
|
@@ -704,12 +789,17 @@ module Aws::MarketplaceCatalog
|
|
704
789
|
# (`entity-id@1`).
|
705
790
|
#
|
706
791
|
# For more information about working with change sets, see [ Working
|
707
|
-
# with change sets][2].
|
792
|
+
# with change sets][2]. For information on change types for single-AMI
|
793
|
+
# products, see [Working with single-AMI products][3]. Als, for more
|
794
|
+
# information on change types available for container-based products,
|
795
|
+
# see [Working with container products][4].
|
708
796
|
#
|
709
797
|
#
|
710
798
|
#
|
711
799
|
# [1]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples
|
712
800
|
# [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets
|
801
|
+
# [3]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products
|
802
|
+
# [4]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products
|
713
803
|
#
|
714
804
|
# @option params [required, String] :catalog
|
715
805
|
# The catalog related to the request. Fixed value: `AWSMarketplace`
|
@@ -866,7 +956,7 @@ module Aws::MarketplaceCatalog
|
|
866
956
|
params: params,
|
867
957
|
config: config)
|
868
958
|
context[:gem_name] = 'aws-sdk-marketplacecatalog'
|
869
|
-
context[:gem_version] = '1.
|
959
|
+
context[:gem_version] = '1.26.0'
|
870
960
|
Seahorse::Client::Request.new(handlers, context)
|
871
961
|
end
|
872
962
|
|
@@ -29,6 +29,8 @@ module Aws::MarketplaceCatalog
|
|
29
29
|
ChangeType = Shapes::StringShape.new(name: 'ChangeType')
|
30
30
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
31
31
|
DateTimeISO8601 = Shapes::StringShape.new(name: 'DateTimeISO8601')
|
32
|
+
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
33
|
+
DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
|
32
34
|
DescribeChangeSetRequest = Shapes::StructureShape.new(name: 'DescribeChangeSetRequest')
|
33
35
|
DescribeChangeSetResponse = Shapes::StructureShape.new(name: 'DescribeChangeSetResponse')
|
34
36
|
DescribeEntityRequest = Shapes::StructureShape.new(name: 'DescribeEntityRequest')
|
@@ -47,17 +49,23 @@ module Aws::MarketplaceCatalog
|
|
47
49
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
48
50
|
FilterName = Shapes::StringShape.new(name: 'FilterName')
|
49
51
|
FilterValueContent = Shapes::StringShape.new(name: 'FilterValueContent')
|
52
|
+
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
53
|
+
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
50
54
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
51
55
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
52
56
|
Json = Shapes::StringShape.new(name: 'Json')
|
57
|
+
ListChangeSetsMaxResultInteger = Shapes::IntegerShape.new(name: 'ListChangeSetsMaxResultInteger')
|
53
58
|
ListChangeSetsRequest = Shapes::StructureShape.new(name: 'ListChangeSetsRequest')
|
54
59
|
ListChangeSetsResponse = Shapes::StructureShape.new(name: 'ListChangeSetsResponse')
|
60
|
+
ListEntitiesMaxResultInteger = Shapes::IntegerShape.new(name: 'ListEntitiesMaxResultInteger')
|
55
61
|
ListEntitiesRequest = Shapes::StructureShape.new(name: 'ListEntitiesRequest')
|
56
62
|
ListEntitiesResponse = Shapes::StructureShape.new(name: 'ListEntitiesResponse')
|
57
63
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
58
64
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
59
|
-
MaxResultInteger = Shapes::IntegerShape.new(name: 'MaxResultInteger')
|
60
65
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
66
|
+
OwnershipType = Shapes::StringShape.new(name: 'OwnershipType')
|
67
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
68
|
+
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
61
69
|
RequestedChangeList = Shapes::ListShape.new(name: 'RequestedChangeList')
|
62
70
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
63
71
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
@@ -65,6 +73,7 @@ module Aws::MarketplaceCatalog
|
|
65
73
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
66
74
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
67
75
|
ResourceNotSupportedException = Shapes::StructureShape.new(name: 'ResourceNotSupportedException')
|
76
|
+
ResourcePolicyJson = Shapes::StringShape.new(name: 'ResourcePolicyJson')
|
68
77
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
69
78
|
Sort = Shapes::StructureShape.new(name: 'Sort')
|
70
79
|
SortBy = Shapes::StringShape.new(name: 'SortBy')
|
@@ -124,6 +133,11 @@ module Aws::MarketplaceCatalog
|
|
124
133
|
ChangeSummary.add_member(:change_name, Shapes::ShapeRef.new(shape: ChangeName, location_name: "ChangeName"))
|
125
134
|
ChangeSummary.struct_class = Types::ChangeSummary
|
126
135
|
|
136
|
+
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "resourceArn"))
|
137
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
138
|
+
|
139
|
+
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
140
|
+
|
127
141
|
DescribeChangeSetRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location: "querystring", location_name: "catalog"))
|
128
142
|
DescribeChangeSetRequest.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "querystring", location_name: "changeSetId"))
|
129
143
|
DescribeChangeSetRequest.struct_class = Types::DescribeChangeSetRequest
|
@@ -176,13 +190,19 @@ module Aws::MarketplaceCatalog
|
|
176
190
|
|
177
191
|
FilterList.member = Shapes::ShapeRef.new(shape: Filter)
|
178
192
|
|
193
|
+
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "resourceArn"))
|
194
|
+
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
195
|
+
|
196
|
+
GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyJson, location_name: "Policy"))
|
197
|
+
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
198
|
+
|
179
199
|
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessageContent, location_name: "Message"))
|
180
200
|
InternalServiceException.struct_class = Types::InternalServiceException
|
181
201
|
|
182
202
|
ListChangeSetsRequest.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, required: true, location_name: "Catalog"))
|
183
203
|
ListChangeSetsRequest.add_member(:filter_list, Shapes::ShapeRef.new(shape: FilterList, location_name: "FilterList"))
|
184
204
|
ListChangeSetsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "Sort"))
|
185
|
-
ListChangeSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape:
|
205
|
+
ListChangeSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListChangeSetsMaxResultInteger, location_name: "MaxResults"))
|
186
206
|
ListChangeSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
187
207
|
ListChangeSetsRequest.struct_class = Types::ListChangeSetsRequest
|
188
208
|
|
@@ -195,7 +215,8 @@ module Aws::MarketplaceCatalog
|
|
195
215
|
ListEntitiesRequest.add_member(:filter_list, Shapes::ShapeRef.new(shape: FilterList, location_name: "FilterList"))
|
196
216
|
ListEntitiesRequest.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "Sort"))
|
197
217
|
ListEntitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
198
|
-
ListEntitiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape:
|
218
|
+
ListEntitiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEntitiesMaxResultInteger, location_name: "MaxResults"))
|
219
|
+
ListEntitiesRequest.add_member(:ownership_type, Shapes::ShapeRef.new(shape: OwnershipType, location_name: "OwnershipType"))
|
199
220
|
ListEntitiesRequest.struct_class = Types::ListEntitiesRequest
|
200
221
|
|
201
222
|
ListEntitiesResponse.add_member(:entity_summary_list, Shapes::ShapeRef.new(shape: EntitySummaryList, location_name: "EntitySummaryList"))
|
@@ -209,6 +230,12 @@ module Aws::MarketplaceCatalog
|
|
209
230
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
210
231
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
211
232
|
|
233
|
+
PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceArn"))
|
234
|
+
PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyJson, required: true, location_name: "Policy"))
|
235
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
236
|
+
|
237
|
+
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
238
|
+
|
212
239
|
RequestedChangeList.member = Shapes::ShapeRef.new(shape: Change)
|
213
240
|
|
214
241
|
ResourceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
|
@@ -301,6 +328,19 @@ module Aws::MarketplaceCatalog
|
|
301
328
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
302
329
|
end)
|
303
330
|
|
331
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
332
|
+
o.name = "DeleteResourcePolicy"
|
333
|
+
o.http_method = "DELETE"
|
334
|
+
o.http_request_uri = "/DeleteResourcePolicy"
|
335
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
336
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
342
|
+
end)
|
343
|
+
|
304
344
|
api.add_operation(:describe_change_set, Seahorse::Model::Operation.new.tap do |o|
|
305
345
|
o.name = "DescribeChangeSet"
|
306
346
|
o.http_method = "GET"
|
@@ -328,6 +368,19 @@ module Aws::MarketplaceCatalog
|
|
328
368
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
329
369
|
end)
|
330
370
|
|
371
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
372
|
+
o.name = "GetResourcePolicy"
|
373
|
+
o.http_method = "GET"
|
374
|
+
o.http_request_uri = "/GetResourcePolicy"
|
375
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
|
376
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
382
|
+
end)
|
383
|
+
|
331
384
|
api.add_operation(:list_change_sets, Seahorse::Model::Operation.new.tap do |o|
|
332
385
|
o.name = "ListChangeSets"
|
333
386
|
o.http_method = "POST"
|
@@ -378,6 +431,19 @@ module Aws::MarketplaceCatalog
|
|
378
431
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
379
432
|
end)
|
380
433
|
|
434
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
435
|
+
o.name = "PutResourcePolicy"
|
436
|
+
o.http_method = "POST"
|
437
|
+
o.http_request_uri = "/PutResourcePolicy"
|
438
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
|
439
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
445
|
+
end)
|
446
|
+
|
381
447
|
api.add_operation(:start_change_set, Seahorse::Model::Operation.new.tap do |o|
|
382
448
|
o.name = "StartChangeSet"
|
383
449
|
o.http_method = "POST"
|
@@ -9,104 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::MarketplaceCatalog
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcX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J9XX0s
|
103
|
-
eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
|
104
|
-
ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
|
105
|
-
Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
|
106
|
-
aW50Ijp7InVybCI6Imh0dHBzOi8vY2F0YWxvZy5tYXJrZXRwbGFjZS57UmVn
|
107
|
-
aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
|
108
|
-
Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
109
|
-
|
110
|
-
JSON
|
111
53
|
end
|
112
54
|
end
|
@@ -25,6 +25,20 @@ module Aws::MarketplaceCatalog
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
class DeleteResourcePolicy
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::MarketplaceCatalog::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
28
42
|
class DescribeChangeSet
|
29
43
|
def self.build(context)
|
30
44
|
unless context.config.regional_endpoint
|
@@ -53,6 +67,20 @@ module Aws::MarketplaceCatalog
|
|
53
67
|
end
|
54
68
|
end
|
55
69
|
|
70
|
+
class GetResourcePolicy
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::MarketplaceCatalog::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
56
84
|
class ListChangeSets
|
57
85
|
def self.build(context)
|
58
86
|
unless context.config.regional_endpoint
|
@@ -95,6 +123,20 @@ module Aws::MarketplaceCatalog
|
|
95
123
|
end
|
96
124
|
end
|
97
125
|
|
126
|
+
class PutResourcePolicy
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::MarketplaceCatalog::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
98
140
|
class StartChangeSet
|
99
141
|
def self.build(context)
|
100
142
|
unless context.config.regional_endpoint
|
@@ -58,16 +58,22 @@ module Aws::MarketplaceCatalog
|
|
58
58
|
case context.operation_name
|
59
59
|
when :cancel_change_set
|
60
60
|
Aws::MarketplaceCatalog::Endpoints::CancelChangeSet.build(context)
|
61
|
+
when :delete_resource_policy
|
62
|
+
Aws::MarketplaceCatalog::Endpoints::DeleteResourcePolicy.build(context)
|
61
63
|
when :describe_change_set
|
62
64
|
Aws::MarketplaceCatalog::Endpoints::DescribeChangeSet.build(context)
|
63
65
|
when :describe_entity
|
64
66
|
Aws::MarketplaceCatalog::Endpoints::DescribeEntity.build(context)
|
67
|
+
when :get_resource_policy
|
68
|
+
Aws::MarketplaceCatalog::Endpoints::GetResourcePolicy.build(context)
|
65
69
|
when :list_change_sets
|
66
70
|
Aws::MarketplaceCatalog::Endpoints::ListChangeSets.build(context)
|
67
71
|
when :list_entities
|
68
72
|
Aws::MarketplaceCatalog::Endpoints::ListEntities.build(context)
|
69
73
|
when :list_tags_for_resource
|
70
74
|
Aws::MarketplaceCatalog::Endpoints::ListTagsForResource.build(context)
|
75
|
+
when :put_resource_policy
|
76
|
+
Aws::MarketplaceCatalog::Endpoints::PutResourcePolicy.build(context)
|
71
77
|
when :start_change_set
|
72
78
|
Aws::MarketplaceCatalog::Endpoints::StartChangeSet.build(context)
|
73
79
|
when :tag_resource
|
@@ -12,6 +12,8 @@ module Aws::MarketplaceCatalog
|
|
12
12
|
|
13
13
|
# Access is denied.
|
14
14
|
#
|
15
|
+
# HTTP status code: 403
|
16
|
+
#
|
15
17
|
# @!attribute [rw] message
|
16
18
|
# @return [String]
|
17
19
|
#
|
@@ -23,14 +25,6 @@ module Aws::MarketplaceCatalog
|
|
23
25
|
include Aws::Structure
|
24
26
|
end
|
25
27
|
|
26
|
-
# @note When making an API call, you may pass CancelChangeSetRequest
|
27
|
-
# data as a hash:
|
28
|
-
#
|
29
|
-
# {
|
30
|
-
# catalog: "Catalog", # required
|
31
|
-
# change_set_id: "ResourceId", # required
|
32
|
-
# }
|
33
|
-
#
|
34
28
|
# @!attribute [rw] catalog
|
35
29
|
# Required. The catalog related to the request. Fixed value:
|
36
30
|
# `AWSMarketplace`.
|
@@ -69,29 +63,19 @@ module Aws::MarketplaceCatalog
|
|
69
63
|
|
70
64
|
# An object that contains the `ChangeType`, `Details`, and `Entity`.
|
71
65
|
#
|
72
|
-
# @note When making an API call, you may pass Change
|
73
|
-
# data as a hash:
|
74
|
-
#
|
75
|
-
# {
|
76
|
-
# change_type: "ChangeType", # required
|
77
|
-
# entity: { # required
|
78
|
-
# type: "EntityType", # required
|
79
|
-
# identifier: "Identifier",
|
80
|
-
# },
|
81
|
-
# entity_tags: [
|
82
|
-
# {
|
83
|
-
# key: "TagKey", # required
|
84
|
-
# value: "TagValue", # required
|
85
|
-
# },
|
86
|
-
# ],
|
87
|
-
# details: "Json", # required
|
88
|
-
# change_name: "ChangeName",
|
89
|
-
# }
|
90
|
-
#
|
91
66
|
# @!attribute [rw] change_type
|
92
67
|
# Change types are single string values that describe your intention
|
93
68
|
# for the change. Each change type is unique for each `EntityType`
|
94
|
-
# provided in the change's scope.
|
69
|
+
# provided in the change's scope. For more information on change
|
70
|
+
# types available for single-AMI products, see [Working with
|
71
|
+
# single-AMI products][1]. Also, for more information on change types
|
72
|
+
# available for container-based products, see [Working with container
|
73
|
+
# products][2].
|
74
|
+
#
|
75
|
+
#
|
76
|
+
#
|
77
|
+
# [1]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products
|
78
|
+
# [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products
|
95
79
|
# @return [String]
|
96
80
|
#
|
97
81
|
# @!attribute [rw] entity
|
@@ -104,7 +88,15 @@ module Aws::MarketplaceCatalog
|
|
104
88
|
#
|
105
89
|
# @!attribute [rw] details
|
106
90
|
# This object contains details specific to the change type of the
|
107
|
-
# requested change.
|
91
|
+
# requested change. For more information on change types available for
|
92
|
+
# single-AMI products, see [Working with single-AMI products][1].
|
93
|
+
# Also, for more information on change types available for
|
94
|
+
# container-based products, see [Working with container products][2].
|
95
|
+
#
|
96
|
+
#
|
97
|
+
#
|
98
|
+
# [1]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products
|
99
|
+
# [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products
|
108
100
|
# @return [String]
|
109
101
|
#
|
110
102
|
# @!attribute [rw] change_name
|
@@ -218,14 +210,23 @@ module Aws::MarketplaceCatalog
|
|
218
210
|
include Aws::Structure
|
219
211
|
end
|
220
212
|
|
221
|
-
#
|
222
|
-
#
|
213
|
+
# @!attribute [rw] resource_arn
|
214
|
+
# The Amazon Resource Name (ARN) of the Entity resource that is
|
215
|
+
# associated with the resource policy.
|
216
|
+
# @return [String]
|
223
217
|
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
|
227
|
-
|
218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DeleteResourcePolicyRequest AWS API Documentation
|
219
|
+
#
|
220
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
221
|
+
:resource_arn)
|
222
|
+
SENSITIVE = []
|
223
|
+
include Aws::Structure
|
224
|
+
end
|
225
|
+
|
226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DeleteResourcePolicyResponse AWS API Documentation
|
228
227
|
#
|
228
|
+
class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
|
229
|
+
|
229
230
|
# @!attribute [rw] catalog
|
230
231
|
# Required. The catalog related to the request. Fixed value:
|
231
232
|
# `AWSMarketplace`
|
@@ -308,14 +309,6 @@ module Aws::MarketplaceCatalog
|
|
308
309
|
include Aws::Structure
|
309
310
|
end
|
310
311
|
|
311
|
-
# @note When making an API call, you may pass DescribeEntityRequest
|
312
|
-
# data as a hash:
|
313
|
-
#
|
314
|
-
# {
|
315
|
-
# catalog: "Catalog", # required
|
316
|
-
# entity_id: "ResourceId", # required
|
317
|
-
# }
|
318
|
-
#
|
319
312
|
# @!attribute [rw] catalog
|
320
313
|
# Required. The catalog related to the request. Fixed value:
|
321
314
|
# `AWSMarketplace`
|
@@ -372,14 +365,6 @@ module Aws::MarketplaceCatalog
|
|
372
365
|
# An entity contains data that describes your product, its supported
|
373
366
|
# features, and how it can be used or launched by your customer.
|
374
367
|
#
|
375
|
-
# @note When making an API call, you may pass Entity
|
376
|
-
# data as a hash:
|
377
|
-
#
|
378
|
-
# {
|
379
|
-
# type: "EntityType", # required
|
380
|
-
# identifier: "Identifier",
|
381
|
-
# }
|
382
|
-
#
|
383
368
|
# @!attribute [rw] type
|
384
369
|
# The type of entity.
|
385
370
|
# @return [String]
|
@@ -466,14 +451,6 @@ module Aws::MarketplaceCatalog
|
|
466
451
|
# A filter object, used to optionally filter results from calls to the
|
467
452
|
# `ListEntities` and `ListChangeSets` actions.
|
468
453
|
#
|
469
|
-
# @note When making an API call, you may pass Filter
|
470
|
-
# data as a hash:
|
471
|
-
#
|
472
|
-
# {
|
473
|
-
# name: "FilterName",
|
474
|
-
# value_list: ["FilterValueContent"],
|
475
|
-
# }
|
476
|
-
#
|
477
454
|
# @!attribute [rw] name
|
478
455
|
# For `ListEntities`, the supported value for this is an `EntityId`.
|
479
456
|
#
|
@@ -518,8 +495,35 @@ module Aws::MarketplaceCatalog
|
|
518
495
|
include Aws::Structure
|
519
496
|
end
|
520
497
|
|
498
|
+
# @!attribute [rw] resource_arn
|
499
|
+
# The Amazon Resource Name (ARN) of the Entity resource that is
|
500
|
+
# associated with the resource policy.
|
501
|
+
# @return [String]
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/GetResourcePolicyRequest AWS API Documentation
|
504
|
+
#
|
505
|
+
class GetResourcePolicyRequest < Struct.new(
|
506
|
+
:resource_arn)
|
507
|
+
SENSITIVE = []
|
508
|
+
include Aws::Structure
|
509
|
+
end
|
510
|
+
|
511
|
+
# @!attribute [rw] policy
|
512
|
+
# The policy document to set; formatted in JSON.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/GetResourcePolicyResponse AWS API Documentation
|
516
|
+
#
|
517
|
+
class GetResourcePolicyResponse < Struct.new(
|
518
|
+
:policy)
|
519
|
+
SENSITIVE = []
|
520
|
+
include Aws::Structure
|
521
|
+
end
|
522
|
+
|
521
523
|
# There was an internal service exception.
|
522
524
|
#
|
525
|
+
# HTTP status code: 500
|
526
|
+
#
|
523
527
|
# @!attribute [rw] message
|
524
528
|
# @return [String]
|
525
529
|
#
|
@@ -531,25 +535,6 @@ module Aws::MarketplaceCatalog
|
|
531
535
|
include Aws::Structure
|
532
536
|
end
|
533
537
|
|
534
|
-
# @note When making an API call, you may pass ListChangeSetsRequest
|
535
|
-
# data as a hash:
|
536
|
-
#
|
537
|
-
# {
|
538
|
-
# catalog: "Catalog", # required
|
539
|
-
# filter_list: [
|
540
|
-
# {
|
541
|
-
# name: "FilterName",
|
542
|
-
# value_list: ["FilterValueContent"],
|
543
|
-
# },
|
544
|
-
# ],
|
545
|
-
# sort: {
|
546
|
-
# sort_by: "SortBy",
|
547
|
-
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
548
|
-
# },
|
549
|
-
# max_results: 1,
|
550
|
-
# next_token: "NextToken",
|
551
|
-
# }
|
552
|
-
#
|
553
538
|
# @!attribute [rw] catalog
|
554
539
|
# The catalog related to the request. Fixed value: `AWSMarketplace`
|
555
540
|
# @return [String]
|
@@ -603,26 +588,6 @@ module Aws::MarketplaceCatalog
|
|
603
588
|
include Aws::Structure
|
604
589
|
end
|
605
590
|
|
606
|
-
# @note When making an API call, you may pass ListEntitiesRequest
|
607
|
-
# data as a hash:
|
608
|
-
#
|
609
|
-
# {
|
610
|
-
# catalog: "Catalog", # required
|
611
|
-
# entity_type: "EntityType", # required
|
612
|
-
# filter_list: [
|
613
|
-
# {
|
614
|
-
# name: "FilterName",
|
615
|
-
# value_list: ["FilterValueContent"],
|
616
|
-
# },
|
617
|
-
# ],
|
618
|
-
# sort: {
|
619
|
-
# sort_by: "SortBy",
|
620
|
-
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
621
|
-
# },
|
622
|
-
# next_token: "NextToken",
|
623
|
-
# max_results: 1,
|
624
|
-
# }
|
625
|
-
#
|
626
591
|
# @!attribute [rw] catalog
|
627
592
|
# The catalog related to the request. Fixed value: `AWSMarketplace`
|
628
593
|
# @return [String]
|
@@ -650,6 +615,9 @@ module Aws::MarketplaceCatalog
|
|
650
615
|
# value isn't provided, the default value is 20.
|
651
616
|
# @return [Integer]
|
652
617
|
#
|
618
|
+
# @!attribute [rw] ownership_type
|
619
|
+
# @return [String]
|
620
|
+
#
|
653
621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListEntitiesRequest AWS API Documentation
|
654
622
|
#
|
655
623
|
class ListEntitiesRequest < Struct.new(
|
@@ -658,7 +626,8 @@ module Aws::MarketplaceCatalog
|
|
658
626
|
:filter_list,
|
659
627
|
:sort,
|
660
628
|
:next_token,
|
661
|
-
:max_results
|
629
|
+
:max_results,
|
630
|
+
:ownership_type)
|
662
631
|
SENSITIVE = []
|
663
632
|
include Aws::Structure
|
664
633
|
end
|
@@ -681,13 +650,6 @@ module Aws::MarketplaceCatalog
|
|
681
650
|
include Aws::Structure
|
682
651
|
end
|
683
652
|
|
684
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
685
|
-
# data as a hash:
|
686
|
-
#
|
687
|
-
# {
|
688
|
-
# resource_arn: "ResourceARN", # required
|
689
|
-
# }
|
690
|
-
#
|
691
653
|
# @!attribute [rw] resource_arn
|
692
654
|
# Required. The Amazon Resource Name (ARN) associated with the
|
693
655
|
# resource you want to list tags on.
|
@@ -720,6 +682,28 @@ module Aws::MarketplaceCatalog
|
|
720
682
|
include Aws::Structure
|
721
683
|
end
|
722
684
|
|
685
|
+
# @!attribute [rw] resource_arn
|
686
|
+
# The Amazon Resource Name (ARN) of the Entity resource you want to
|
687
|
+
# associate with a resource policy.
|
688
|
+
# @return [String]
|
689
|
+
#
|
690
|
+
# @!attribute [rw] policy
|
691
|
+
# The policy document to set; formatted in JSON.
|
692
|
+
# @return [String]
|
693
|
+
#
|
694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/PutResourcePolicyRequest AWS API Documentation
|
695
|
+
#
|
696
|
+
class PutResourcePolicyRequest < Struct.new(
|
697
|
+
:resource_arn,
|
698
|
+
:policy)
|
699
|
+
SENSITIVE = []
|
700
|
+
include Aws::Structure
|
701
|
+
end
|
702
|
+
|
703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/PutResourcePolicyResponse AWS API Documentation
|
704
|
+
#
|
705
|
+
class PutResourcePolicyResponse < Aws::EmptyStructure; end
|
706
|
+
|
723
707
|
# The resource is currently in use.
|
724
708
|
#
|
725
709
|
# @!attribute [rw] message
|
@@ -735,6 +719,8 @@ module Aws::MarketplaceCatalog
|
|
735
719
|
|
736
720
|
# The specified resource wasn't found.
|
737
721
|
#
|
722
|
+
# HTTP status code: 404
|
723
|
+
#
|
738
724
|
# @!attribute [rw] message
|
739
725
|
# @return [String]
|
740
726
|
#
|
@@ -774,14 +760,6 @@ module Aws::MarketplaceCatalog
|
|
774
760
|
|
775
761
|
# An object that contains two attributes, `SortBy` and `SortOrder`.
|
776
762
|
#
|
777
|
-
# @note When making an API call, you may pass Sort
|
778
|
-
# data as a hash:
|
779
|
-
#
|
780
|
-
# {
|
781
|
-
# sort_by: "SortBy",
|
782
|
-
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
783
|
-
# }
|
784
|
-
#
|
785
763
|
# @!attribute [rw] sort_by
|
786
764
|
# For `ListEntities`, supported attributes include `LastModifiedDate`
|
787
765
|
# (default), `Visibility`, `EntityId`, and `Name`.
|
@@ -804,38 +782,6 @@ module Aws::MarketplaceCatalog
|
|
804
782
|
include Aws::Structure
|
805
783
|
end
|
806
784
|
|
807
|
-
# @note When making an API call, you may pass StartChangeSetRequest
|
808
|
-
# data as a hash:
|
809
|
-
#
|
810
|
-
# {
|
811
|
-
# catalog: "Catalog", # required
|
812
|
-
# change_set: [ # required
|
813
|
-
# {
|
814
|
-
# change_type: "ChangeType", # required
|
815
|
-
# entity: { # required
|
816
|
-
# type: "EntityType", # required
|
817
|
-
# identifier: "Identifier",
|
818
|
-
# },
|
819
|
-
# entity_tags: [
|
820
|
-
# {
|
821
|
-
# key: "TagKey", # required
|
822
|
-
# value: "TagValue", # required
|
823
|
-
# },
|
824
|
-
# ],
|
825
|
-
# details: "Json", # required
|
826
|
-
# change_name: "ChangeName",
|
827
|
-
# },
|
828
|
-
# ],
|
829
|
-
# change_set_name: "ChangeSetName",
|
830
|
-
# client_request_token: "ClientRequestToken",
|
831
|
-
# change_set_tags: [
|
832
|
-
# {
|
833
|
-
# key: "TagKey", # required
|
834
|
-
# value: "TagValue", # required
|
835
|
-
# },
|
836
|
-
# ],
|
837
|
-
# }
|
838
|
-
#
|
839
785
|
# @!attribute [rw] catalog
|
840
786
|
# The catalog related to the request. Fixed value: `AWSMarketplace`
|
841
787
|
# @return [String]
|
@@ -893,14 +839,6 @@ module Aws::MarketplaceCatalog
|
|
893
839
|
|
894
840
|
# A list of objects specifying each key name and value.
|
895
841
|
#
|
896
|
-
# @note When making an API call, you may pass Tag
|
897
|
-
# data as a hash:
|
898
|
-
#
|
899
|
-
# {
|
900
|
-
# key: "TagKey", # required
|
901
|
-
# value: "TagValue", # required
|
902
|
-
# }
|
903
|
-
#
|
904
842
|
# @!attribute [rw] key
|
905
843
|
# The key associated with the tag.
|
906
844
|
# @return [String]
|
@@ -918,19 +856,6 @@ module Aws::MarketplaceCatalog
|
|
918
856
|
include Aws::Structure
|
919
857
|
end
|
920
858
|
|
921
|
-
# @note When making an API call, you may pass TagResourceRequest
|
922
|
-
# data as a hash:
|
923
|
-
#
|
924
|
-
# {
|
925
|
-
# resource_arn: "ResourceARN", # required
|
926
|
-
# tags: [ # required
|
927
|
-
# {
|
928
|
-
# key: "TagKey", # required
|
929
|
-
# value: "TagValue", # required
|
930
|
-
# },
|
931
|
-
# ],
|
932
|
-
# }
|
933
|
-
#
|
934
859
|
# @!attribute [rw] resource_arn
|
935
860
|
# Required. The Amazon Resource Name (ARN) associated with the
|
936
861
|
# resource you want to tag.
|
@@ -956,6 +881,8 @@ module Aws::MarketplaceCatalog
|
|
956
881
|
|
957
882
|
# Too many requests.
|
958
883
|
#
|
884
|
+
# HTTP status code: 429
|
885
|
+
#
|
959
886
|
# @!attribute [rw] message
|
960
887
|
# @return [String]
|
961
888
|
#
|
@@ -967,14 +894,6 @@ module Aws::MarketplaceCatalog
|
|
967
894
|
include Aws::Structure
|
968
895
|
end
|
969
896
|
|
970
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
971
|
-
# data as a hash:
|
972
|
-
#
|
973
|
-
# {
|
974
|
-
# resource_arn: "ResourceARN", # required
|
975
|
-
# tag_keys: ["TagKey"], # required
|
976
|
-
# }
|
977
|
-
#
|
978
897
|
# @!attribute [rw] resource_arn
|
979
898
|
# Required. The Amazon Resource Name (ARN) associated with the
|
980
899
|
# resource you want to remove the tag from.
|
@@ -1000,6 +919,8 @@ module Aws::MarketplaceCatalog
|
|
1000
919
|
|
1001
920
|
# An error occurred during validation.
|
1002
921
|
#
|
922
|
+
# HTTP status code: 422
|
923
|
+
#
|
1003
924
|
# @!attribute [rw] message
|
1004
925
|
# @return [String]
|
1005
926
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-marketplacecatalog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|