aws-sdk-marketplacecatalog 1.23.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cfa7b8a02f8778b42ad1c659fca5c40aa12aace4297281fecb14e250b75a6f9
4
- data.tar.gz: 99d72a8d770414880ae11010ea25177069e770d700ff8df3cf8a0dc922fa2335
3
+ metadata.gz: 07eff050f2b0f46039b691bf433317d9144ae61235932c5f0fd35eb311a58952
4
+ data.tar.gz: acabbda9312bbd8290665f1745a987955a124bd0c773ba29b571de9d7a7c3a9c
5
5
  SHA512:
6
- metadata.gz: 48adb12c243a114c9aeaa2165b4edb32bf5d7479a2d16ccd1d753585d95fb47720bd1f4264e7aa39c02e54731e46a955d097befbcc30940242ab937469edc8c7
7
- data.tar.gz: 30b1ee28cc105812ada19660c2920a6416cb8b113a507af3f39b9abe008f4d2ffab92bff33ecd684c3515774690378a122902d7bf87b3d831a634a081deb36ca
6
+ metadata.gz: 4285af8ebe7a6718aabeeb4996585cb6138d7597fcff2082a2546187832bff5b9fbf378bdf77f26d9b13e50d931b16aa6c5adac48ed5f47dd7a9747f6ad655c4
7
+ data.tar.gz: bf88dc32f7d9bf9a5a842caa2316f7371ee23cb3fab72510a69018aca2daab7788aa7198541b1d3e7a2d88831f082c99dbc7025b5725ecf9059d9dfaab234a1a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.24.0 (2022-11-11)
12
+ ------------------
13
+
14
+ * Feature - Added three new APIs to support tagging and tag-based authorization: TagResource, UntagResource, and ListTagsForResource. Added optional parameters to the StartChangeSet API to support tagging a resource while making a request to create it.
15
+
4
16
  1.23.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -125,4 +137,4 @@ Unreleased Changes
125
137
  1.0.0 (2019-11-12)
126
138
  ------------------
127
139
 
128
- * Feature - Initial release of `aws-sdk-marketplacecatalog`.
140
+ * Feature - Initial release of `aws-sdk-marketplacecatalog`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.25.0
@@ -650,18 +650,58 @@ module Aws::MarketplaceCatalog
650
650
  req.send_request(options)
651
651
  end
652
652
 
653
- # This operation allows you to request changes for your entities. Within
654
- # a single ChangeSet, you cannot start the same change type against the
655
- # same entity multiple times. Additionally, when a ChangeSet is running,
653
+ # Lists all tags that have been added to a resource (either an
654
+ # [entity][1] or [change set][2]).
655
+ #
656
+ #
657
+ #
658
+ # [1]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities
659
+ # [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets
660
+ #
661
+ # @option params [required, String] :resource_arn
662
+ # Required. The Amazon Resource Name (ARN) associated with the resource
663
+ # you want to list tags on.
664
+ #
665
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
666
+ #
667
+ # * {Types::ListTagsForResourceResponse#resource_arn #resource_arn} => String
668
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
669
+ #
670
+ # @example Request syntax with placeholder values
671
+ #
672
+ # resp = client.list_tags_for_resource({
673
+ # resource_arn: "ResourceARN", # required
674
+ # })
675
+ #
676
+ # @example Response structure
677
+ #
678
+ # resp.resource_arn #=> String
679
+ # resp.tags #=> Array
680
+ # resp.tags[0].key #=> String
681
+ # resp.tags[0].value #=> String
682
+ #
683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListTagsForResource AWS API Documentation
684
+ #
685
+ # @overload list_tags_for_resource(params = {})
686
+ # @param [Hash] params ({})
687
+ def list_tags_for_resource(params = {}, options = {})
688
+ req = build_request(:list_tags_for_resource, params)
689
+ req.send_request(options)
690
+ end
691
+
692
+ # Allows you to request changes for your entities. Within a single
693
+ # `ChangeSet`, you can't start the same change type against the same
694
+ # entity multiple times. Additionally, when a `ChangeSet` is running,
656
695
  # all the entities targeted by the different changes are locked until
657
- # the ChangeSet has completed (either succeeded, cancelled, or failed).
658
- # If you try to start a ChangeSet containing a change against an entity
659
- # that is already locked, you will receive a `ResourceInUseException`.
696
+ # the change set has completed (either succeeded, cancelled, or failed).
697
+ # If you try to start a change set containing a change against an entity
698
+ # that is already locked, you will receive a `ResourceInUseException`
699
+ # error.
660
700
  #
661
- # For example, you cannot start the ChangeSet described in the
662
- # [example][1] later in this topic, because it contains two changes to
663
- # execute the same change type (`AddRevisions`) against the same entity
664
- # (`entity-id@1)`.
701
+ # For example, you can't start the `ChangeSet` described in the
702
+ # [example][1] later in this topic because it contains two changes to
703
+ # run the same change type (`AddRevisions`) against the same entity
704
+ # (`entity-id@1`).
665
705
  #
666
706
  # For more information about working with change sets, see [ Working
667
707
  # with change sets][2].
@@ -687,6 +727,10 @@ module Aws::MarketplaceCatalog
687
727
  # **A suitable default value is auto-generated.** You should normally
688
728
  # not need to pass this option.**
689
729
  #
730
+ # @option params [Array<Types::Tag>] :change_set_tags
731
+ # A list of objects specifying each key name and value for the
732
+ # `ChangeSetTags` property.
733
+ #
690
734
  # @return [Types::StartChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
691
735
  #
692
736
  # * {Types::StartChangeSetResponse#change_set_id #change_set_id} => String
@@ -703,12 +747,24 @@ module Aws::MarketplaceCatalog
703
747
  # type: "EntityType", # required
704
748
  # identifier: "Identifier",
705
749
  # },
750
+ # entity_tags: [
751
+ # {
752
+ # key: "TagKey", # required
753
+ # value: "TagValue", # required
754
+ # },
755
+ # ],
706
756
  # details: "Json", # required
707
757
  # change_name: "ChangeName",
708
758
  # },
709
759
  # ],
710
760
  # change_set_name: "ChangeSetName",
711
761
  # client_request_token: "ClientRequestToken",
762
+ # change_set_tags: [
763
+ # {
764
+ # key: "TagKey", # required
765
+ # value: "TagValue", # required
766
+ # },
767
+ # ],
712
768
  # })
713
769
  #
714
770
  # @example Response structure
@@ -725,6 +781,78 @@ module Aws::MarketplaceCatalog
725
781
  req.send_request(options)
726
782
  end
727
783
 
784
+ # Tags a resource (either an [entity][1] or [change set][2]).
785
+ #
786
+ #
787
+ #
788
+ # [1]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities
789
+ # [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets
790
+ #
791
+ # @option params [required, String] :resource_arn
792
+ # Required. The Amazon Resource Name (ARN) associated with the resource
793
+ # you want to tag.
794
+ #
795
+ # @option params [required, Array<Types::Tag>] :tags
796
+ # Required. A list of objects specifying each key name and value. Number
797
+ # of objects allowed: 1-50.
798
+ #
799
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
800
+ #
801
+ # @example Request syntax with placeholder values
802
+ #
803
+ # resp = client.tag_resource({
804
+ # resource_arn: "ResourceARN", # required
805
+ # tags: [ # required
806
+ # {
807
+ # key: "TagKey", # required
808
+ # value: "TagValue", # required
809
+ # },
810
+ # ],
811
+ # })
812
+ #
813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/TagResource AWS API Documentation
814
+ #
815
+ # @overload tag_resource(params = {})
816
+ # @param [Hash] params ({})
817
+ def tag_resource(params = {}, options = {})
818
+ req = build_request(:tag_resource, params)
819
+ req.send_request(options)
820
+ end
821
+
822
+ # Removes a tag or list of tags from a resource (either an [entity][1]
823
+ # or [change set][2]).
824
+ #
825
+ #
826
+ #
827
+ # [1]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities
828
+ # [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets
829
+ #
830
+ # @option params [required, String] :resource_arn
831
+ # Required. The Amazon Resource Name (ARN) associated with the resource
832
+ # you want to remove the tag from.
833
+ #
834
+ # @option params [required, Array<String>] :tag_keys
835
+ # Required. A list of key names of tags to be removed. Number of strings
836
+ # allowed: 0-256.
837
+ #
838
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
839
+ #
840
+ # @example Request syntax with placeholder values
841
+ #
842
+ # resp = client.untag_resource({
843
+ # resource_arn: "ResourceARN", # required
844
+ # tag_keys: ["TagKey"], # required
845
+ # })
846
+ #
847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/UntagResource AWS API Documentation
848
+ #
849
+ # @overload untag_resource(params = {})
850
+ # @param [Hash] params ({})
851
+ def untag_resource(params = {}, options = {})
852
+ req = build_request(:untag_resource, params)
853
+ req.send_request(options)
854
+ end
855
+
728
856
  # @!endgroup
729
857
 
730
858
  # @param params ({})
@@ -738,7 +866,7 @@ module Aws::MarketplaceCatalog
738
866
  params: params,
739
867
  config: config)
740
868
  context[:gem_name] = 'aws-sdk-marketplacecatalog'
741
- context[:gem_version] = '1.23.0'
869
+ context[:gem_version] = '1.25.0'
742
870
  Seahorse::Client::Request.new(handlers, context)
743
871
  end
744
872
 
@@ -54,9 +54,12 @@ module Aws::MarketplaceCatalog
54
54
  ListChangeSetsResponse = Shapes::StructureShape.new(name: 'ListChangeSetsResponse')
55
55
  ListEntitiesRequest = Shapes::StructureShape.new(name: 'ListEntitiesRequest')
56
56
  ListEntitiesResponse = Shapes::StructureShape.new(name: 'ListEntitiesResponse')
57
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
58
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
57
59
  MaxResultInteger = Shapes::IntegerShape.new(name: 'MaxResultInteger')
58
60
  NextToken = Shapes::StringShape.new(name: 'NextToken')
59
61
  RequestedChangeList = Shapes::ListShape.new(name: 'RequestedChangeList')
62
+ ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
60
63
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
61
64
  ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
62
65
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
@@ -68,7 +71,16 @@ module Aws::MarketplaceCatalog
68
71
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
69
72
  StartChangeSetRequest = Shapes::StructureShape.new(name: 'StartChangeSetRequest')
70
73
  StartChangeSetResponse = Shapes::StructureShape.new(name: 'StartChangeSetResponse')
74
+ Tag = Shapes::StructureShape.new(name: 'Tag')
75
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
76
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
77
+ TagList = Shapes::ListShape.new(name: 'TagList')
78
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
79
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
80
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
71
81
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
82
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
83
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
72
84
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
73
85
  ValueList = Shapes::ListShape.new(name: 'ValueList')
74
86
  VisibilityValue = Shapes::StringShape.new(name: 'VisibilityValue')
@@ -86,6 +98,7 @@ module Aws::MarketplaceCatalog
86
98
 
87
99
  Change.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeType, required: true, location_name: "ChangeType"))
88
100
  Change.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, required: true, location_name: "Entity"))
101
+ Change.add_member(:entity_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "EntityTags"))
89
102
  Change.add_member(:details, Shapes::ShapeRef.new(shape: Json, required: true, location_name: "Details"))
90
103
  Change.add_member(:change_name, Shapes::ShapeRef.new(shape: ChangeName, location_name: "ChangeName"))
91
104
  Change.struct_class = Types::Change
@@ -189,6 +202,13 @@ module Aws::MarketplaceCatalog
189
202
  ListEntitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
190
203
  ListEntitiesResponse.struct_class = Types::ListEntitiesResponse
191
204
 
205
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceArn"))
206
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
207
+
208
+ ListTagsForResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceArn"))
209
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
210
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
211
+
192
212
  RequestedChangeList.member = Shapes::ShapeRef.new(shape: Change)
193
213
 
194
214
  ResourceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
@@ -213,15 +233,36 @@ module Aws::MarketplaceCatalog
213
233
  StartChangeSetRequest.add_member(:change_set, Shapes::ShapeRef.new(shape: RequestedChangeList, required: true, location_name: "ChangeSet"))
214
234
  StartChangeSetRequest.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName"))
215
235
  StartChangeSetRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
236
+ StartChangeSetRequest.add_member(:change_set_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ChangeSetTags"))
216
237
  StartChangeSetRequest.struct_class = Types::StartChangeSetRequest
217
238
 
218
239
  StartChangeSetResponse.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ChangeSetId"))
219
240
  StartChangeSetResponse.add_member(:change_set_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ChangeSetArn"))
220
241
  StartChangeSetResponse.struct_class = Types::StartChangeSetResponse
221
242
 
243
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
244
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
245
+ Tag.struct_class = Types::Tag
246
+
247
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
248
+
249
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
250
+
251
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceArn"))
252
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
253
+ TagResourceRequest.struct_class = Types::TagResourceRequest
254
+
255
+ TagResourceResponse.struct_class = Types::TagResourceResponse
256
+
222
257
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessageContent, location_name: "Message"))
223
258
  ThrottlingException.struct_class = Types::ThrottlingException
224
259
 
260
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceArn"))
261
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
262
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
263
+
264
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
265
+
225
266
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessageContent, location_name: "Message"))
226
267
  ValidationException.struct_class = Types::ValidationException
227
268
 
@@ -324,6 +365,19 @@ module Aws::MarketplaceCatalog
324
365
  )
325
366
  end)
326
367
 
368
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
369
+ o.name = "ListTagsForResource"
370
+ o.http_method = "POST"
371
+ o.http_request_uri = "/ListTagsForResource"
372
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
373
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
374
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
375
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
376
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
377
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
378
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
379
+ end)
380
+
327
381
  api.add_operation(:start_change_set, Seahorse::Model::Operation.new.tap do |o|
328
382
  o.name = "StartChangeSet"
329
383
  o.http_method = "POST"
@@ -338,6 +392,32 @@ module Aws::MarketplaceCatalog
338
392
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
339
393
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
340
394
  end)
395
+
396
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
397
+ o.name = "TagResource"
398
+ o.http_method = "POST"
399
+ o.http_request_uri = "/TagResource"
400
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
401
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
402
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
403
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
404
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
405
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
406
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
407
+ end)
408
+
409
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
410
+ o.name = "UntagResource"
411
+ o.http_method = "POST"
412
+ o.http_request_uri = "/UntagResource"
413
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
414
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
415
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
416
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
417
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
418
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
419
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
420
+ end)
341
421
  end
342
422
 
343
423
  end
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::MarketplaceCatalog
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ 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"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6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kZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0s
103
- eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
104
- ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
105
- Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
106
- aW50Ijp7InVybCI6Imh0dHBzOi8vY2F0YWxvZy5tYXJrZXRwbGFjZS57UmVn
107
- aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
108
- Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -81,6 +81,20 @@ module Aws::MarketplaceCatalog
81
81
  end
82
82
  end
83
83
 
84
+ class ListTagsForResource
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::MarketplaceCatalog::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
84
98
  class StartChangeSet
85
99
  def self.build(context)
86
100
  unless context.config.regional_endpoint
@@ -95,5 +109,33 @@ module Aws::MarketplaceCatalog
95
109
  end
96
110
  end
97
111
 
112
+ class TagResource
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::MarketplaceCatalog::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class UntagResource
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
  end
99
141
  end
@@ -66,8 +66,14 @@ module Aws::MarketplaceCatalog
66
66
  Aws::MarketplaceCatalog::Endpoints::ListChangeSets.build(context)
67
67
  when :list_entities
68
68
  Aws::MarketplaceCatalog::Endpoints::ListEntities.build(context)
69
+ when :list_tags_for_resource
70
+ Aws::MarketplaceCatalog::Endpoints::ListTagsForResource.build(context)
69
71
  when :start_change_set
70
72
  Aws::MarketplaceCatalog::Endpoints::StartChangeSet.build(context)
73
+ when :tag_resource
74
+ Aws::MarketplaceCatalog::Endpoints::TagResource.build(context)
75
+ when :untag_resource
76
+ Aws::MarketplaceCatalog::Endpoints::UntagResource.build(context)
71
77
  end
72
78
  end
73
79
  end
@@ -23,14 +23,6 @@ module Aws::MarketplaceCatalog
23
23
  include Aws::Structure
24
24
  end
25
25
 
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
26
  # @!attribute [rw] catalog
35
27
  # Required. The catalog related to the request. Fixed value:
36
28
  # `AWSMarketplace`.
@@ -69,19 +61,6 @@ module Aws::MarketplaceCatalog
69
61
 
70
62
  # An object that contains the `ChangeType`, `Details`, and `Entity`.
71
63
  #
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
- # details: "Json", # required
82
- # change_name: "ChangeName",
83
- # }
84
- #
85
64
  # @!attribute [rw] change_type
86
65
  # Change types are single string values that describe your intention
87
66
  # for the change. Each change type is unique for each `EntityType`
@@ -92,6 +71,10 @@ module Aws::MarketplaceCatalog
92
71
  # The entity to be changed.
93
72
  # @return [Types::Entity]
94
73
  #
74
+ # @!attribute [rw] entity_tags
75
+ # The tags associated with the change.
76
+ # @return [Array<Types::Tag>]
77
+ #
95
78
  # @!attribute [rw] details
96
79
  # This object contains details specific to the change type of the
97
80
  # requested change.
@@ -106,6 +89,7 @@ module Aws::MarketplaceCatalog
106
89
  class Change < Struct.new(
107
90
  :change_type,
108
91
  :entity,
92
+ :entity_tags,
109
93
  :details,
110
94
  :change_name)
111
95
  SENSITIVE = []
@@ -207,14 +191,6 @@ module Aws::MarketplaceCatalog
207
191
  include Aws::Structure
208
192
  end
209
193
 
210
- # @note When making an API call, you may pass DescribeChangeSetRequest
211
- # data as a hash:
212
- #
213
- # {
214
- # catalog: "Catalog", # required
215
- # change_set_id: "ResourceId", # required
216
- # }
217
- #
218
194
  # @!attribute [rw] catalog
219
195
  # Required. The catalog related to the request. Fixed value:
220
196
  # `AWSMarketplace`
@@ -297,14 +273,6 @@ module Aws::MarketplaceCatalog
297
273
  include Aws::Structure
298
274
  end
299
275
 
300
- # @note When making an API call, you may pass DescribeEntityRequest
301
- # data as a hash:
302
- #
303
- # {
304
- # catalog: "Catalog", # required
305
- # entity_id: "ResourceId", # required
306
- # }
307
- #
308
276
  # @!attribute [rw] catalog
309
277
  # Required. The catalog related to the request. Fixed value:
310
278
  # `AWSMarketplace`
@@ -361,14 +329,6 @@ module Aws::MarketplaceCatalog
361
329
  # An entity contains data that describes your product, its supported
362
330
  # features, and how it can be used or launched by your customer.
363
331
  #
364
- # @note When making an API call, you may pass Entity
365
- # data as a hash:
366
- #
367
- # {
368
- # type: "EntityType", # required
369
- # identifier: "Identifier",
370
- # }
371
- #
372
332
  # @!attribute [rw] type
373
333
  # The type of entity.
374
334
  # @return [String]
@@ -455,14 +415,6 @@ module Aws::MarketplaceCatalog
455
415
  # A filter object, used to optionally filter results from calls to the
456
416
  # `ListEntities` and `ListChangeSets` actions.
457
417
  #
458
- # @note When making an API call, you may pass Filter
459
- # data as a hash:
460
- #
461
- # {
462
- # name: "FilterName",
463
- # value_list: ["FilterValueContent"],
464
- # }
465
- #
466
418
  # @!attribute [rw] name
467
419
  # For `ListEntities`, the supported value for this is an `EntityId`.
468
420
  #
@@ -520,25 +472,6 @@ module Aws::MarketplaceCatalog
520
472
  include Aws::Structure
521
473
  end
522
474
 
523
- # @note When making an API call, you may pass ListChangeSetsRequest
524
- # data as a hash:
525
- #
526
- # {
527
- # catalog: "Catalog", # required
528
- # filter_list: [
529
- # {
530
- # name: "FilterName",
531
- # value_list: ["FilterValueContent"],
532
- # },
533
- # ],
534
- # sort: {
535
- # sort_by: "SortBy",
536
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
537
- # },
538
- # max_results: 1,
539
- # next_token: "NextToken",
540
- # }
541
- #
542
475
  # @!attribute [rw] catalog
543
476
  # The catalog related to the request. Fixed value: `AWSMarketplace`
544
477
  # @return [String]
@@ -592,26 +525,6 @@ module Aws::MarketplaceCatalog
592
525
  include Aws::Structure
593
526
  end
594
527
 
595
- # @note When making an API call, you may pass ListEntitiesRequest
596
- # data as a hash:
597
- #
598
- # {
599
- # catalog: "Catalog", # required
600
- # entity_type: "EntityType", # required
601
- # filter_list: [
602
- # {
603
- # name: "FilterName",
604
- # value_list: ["FilterValueContent"],
605
- # },
606
- # ],
607
- # sort: {
608
- # sort_by: "SortBy",
609
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
610
- # },
611
- # next_token: "NextToken",
612
- # max_results: 1,
613
- # }
614
- #
615
528
  # @!attribute [rw] catalog
616
529
  # The catalog related to the request. Fixed value: `AWSMarketplace`
617
530
  # @return [String]
@@ -670,6 +583,38 @@ module Aws::MarketplaceCatalog
670
583
  include Aws::Structure
671
584
  end
672
585
 
586
+ # @!attribute [rw] resource_arn
587
+ # Required. The Amazon Resource Name (ARN) associated with the
588
+ # resource you want to list tags on.
589
+ # @return [String]
590
+ #
591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListTagsForResourceRequest AWS API Documentation
592
+ #
593
+ class ListTagsForResourceRequest < Struct.new(
594
+ :resource_arn)
595
+ SENSITIVE = []
596
+ include Aws::Structure
597
+ end
598
+
599
+ # @!attribute [rw] resource_arn
600
+ # Required. The ARN associated with the resource you want to list tags
601
+ # on.
602
+ # @return [String]
603
+ #
604
+ # @!attribute [rw] tags
605
+ # Required. A list of objects specifying each key name and value.
606
+ # Number of objects allowed: 1-50.
607
+ # @return [Array<Types::Tag>]
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListTagsForResourceResponse AWS API Documentation
610
+ #
611
+ class ListTagsForResourceResponse < Struct.new(
612
+ :resource_arn,
613
+ :tags)
614
+ SENSITIVE = []
615
+ include Aws::Structure
616
+ end
617
+
673
618
  # The resource is currently in use.
674
619
  #
675
620
  # @!attribute [rw] message
@@ -724,14 +669,6 @@ module Aws::MarketplaceCatalog
724
669
 
725
670
  # An object that contains two attributes, `SortBy` and `SortOrder`.
726
671
  #
727
- # @note When making an API call, you may pass Sort
728
- # data as a hash:
729
- #
730
- # {
731
- # sort_by: "SortBy",
732
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
733
- # }
734
- #
735
672
  # @!attribute [rw] sort_by
736
673
  # For `ListEntities`, supported attributes include `LastModifiedDate`
737
674
  # (default), `Visibility`, `EntityId`, and `Name`.
@@ -754,26 +691,6 @@ module Aws::MarketplaceCatalog
754
691
  include Aws::Structure
755
692
  end
756
693
 
757
- # @note When making an API call, you may pass StartChangeSetRequest
758
- # data as a hash:
759
- #
760
- # {
761
- # catalog: "Catalog", # required
762
- # change_set: [ # required
763
- # {
764
- # change_type: "ChangeType", # required
765
- # entity: { # required
766
- # type: "EntityType", # required
767
- # identifier: "Identifier",
768
- # },
769
- # details: "Json", # required
770
- # change_name: "ChangeName",
771
- # },
772
- # ],
773
- # change_set_name: "ChangeSetName",
774
- # client_request_token: "ClientRequestToken",
775
- # }
776
- #
777
694
  # @!attribute [rw] catalog
778
695
  # The catalog related to the request. Fixed value: `AWSMarketplace`
779
696
  # @return [String]
@@ -794,13 +711,19 @@ module Aws::MarketplaceCatalog
794
711
  # not need to pass this option.
795
712
  # @return [String]
796
713
  #
714
+ # @!attribute [rw] change_set_tags
715
+ # A list of objects specifying each key name and value for the
716
+ # `ChangeSetTags` property.
717
+ # @return [Array<Types::Tag>]
718
+ #
797
719
  # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/StartChangeSetRequest AWS API Documentation
798
720
  #
799
721
  class StartChangeSetRequest < Struct.new(
800
722
  :catalog,
801
723
  :change_set,
802
724
  :change_set_name,
803
- :client_request_token)
725
+ :client_request_token,
726
+ :change_set_tags)
804
727
  SENSITIVE = []
805
728
  include Aws::Structure
806
729
  end
@@ -823,6 +746,48 @@ module Aws::MarketplaceCatalog
823
746
  include Aws::Structure
824
747
  end
825
748
 
749
+ # A list of objects specifying each key name and value.
750
+ #
751
+ # @!attribute [rw] key
752
+ # The key associated with the tag.
753
+ # @return [String]
754
+ #
755
+ # @!attribute [rw] value
756
+ # The value associated with the tag.
757
+ # @return [String]
758
+ #
759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/Tag AWS API Documentation
760
+ #
761
+ class Tag < Struct.new(
762
+ :key,
763
+ :value)
764
+ SENSITIVE = []
765
+ include Aws::Structure
766
+ end
767
+
768
+ # @!attribute [rw] resource_arn
769
+ # Required. The Amazon Resource Name (ARN) associated with the
770
+ # resource you want to tag.
771
+ # @return [String]
772
+ #
773
+ # @!attribute [rw] tags
774
+ # Required. A list of objects specifying each key name and value.
775
+ # Number of objects allowed: 1-50.
776
+ # @return [Array<Types::Tag>]
777
+ #
778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/TagResourceRequest AWS API Documentation
779
+ #
780
+ class TagResourceRequest < Struct.new(
781
+ :resource_arn,
782
+ :tags)
783
+ SENSITIVE = []
784
+ include Aws::Structure
785
+ end
786
+
787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/TagResourceResponse AWS API Documentation
788
+ #
789
+ class TagResourceResponse < Aws::EmptyStructure; end
790
+
826
791
  # Too many requests.
827
792
  #
828
793
  # @!attribute [rw] message
@@ -836,6 +801,29 @@ module Aws::MarketplaceCatalog
836
801
  include Aws::Structure
837
802
  end
838
803
 
804
+ # @!attribute [rw] resource_arn
805
+ # Required. The Amazon Resource Name (ARN) associated with the
806
+ # resource you want to remove the tag from.
807
+ # @return [String]
808
+ #
809
+ # @!attribute [rw] tag_keys
810
+ # Required. A list of key names of tags to be removed. Number of
811
+ # strings allowed: 0-256.
812
+ # @return [Array<String>]
813
+ #
814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/UntagResourceRequest AWS API Documentation
815
+ #
816
+ class UntagResourceRequest < Struct.new(
817
+ :resource_arn,
818
+ :tag_keys)
819
+ SENSITIVE = []
820
+ include Aws::Structure
821
+ end
822
+
823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/UntagResourceResponse AWS API Documentation
824
+ #
825
+ class UntagResourceResponse < Aws::EmptyStructure; end
826
+
839
827
  # An error occurred during validation.
840
828
  #
841
829
  # @!attribute [rw] message
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-marketplacecatalog/customizations'
52
52
  # @!group service
53
53
  module Aws::MarketplaceCatalog
54
54
 
55
- GEM_VERSION = '1.23.0'
55
+ GEM_VERSION = '1.25.0'
56
56
 
57
57
  end
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.23.0
4
+ version: 1.25.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core