aws-sdk-marketplacecatalog 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cfa7b8a02f8778b42ad1c659fca5c40aa12aace4297281fecb14e250b75a6f9
4
- data.tar.gz: 99d72a8d770414880ae11010ea25177069e770d700ff8df3cf8a0dc922fa2335
3
+ metadata.gz: 0bb042caa788a4df5c2dcf0186eae6df143e6ce7da2778bae91b913fbd1fea6a
4
+ data.tar.gz: f8264c31b36df86bba7297cbf0223c767497ca1eae37bcd14a54f95e920e9c5d
5
5
  SHA512:
6
- metadata.gz: 48adb12c243a114c9aeaa2165b4edb32bf5d7479a2d16ccd1d753585d95fb47720bd1f4264e7aa39c02e54731e46a955d097befbcc30940242ab937469edc8c7
7
- data.tar.gz: 30b1ee28cc105812ada19660c2920a6416cb8b113a507af3f39b9abe008f4d2ffab92bff33ecd684c3515774690378a122902d7bf87b3d831a634a081deb36ca
6
+ metadata.gz: 5dabd615b91c4919ad7e7bd076fa65a3965065d4a68b14de37ccba98a8124079045e4c659a416fee6f6f2e37b41c5312514181bcf19ec035012309e1f389a52f
7
+ data.tar.gz: 03f45707553bb6f8f8223367e66ee71e8eb37316110710de480c3cc6e78f1a23f9be0ac4361c66948a38239f6e1cdd3d173b63d32f3a481d89529efa96861941
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.24.0 (2022-11-11)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.23.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.24.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.24.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
@@ -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
@@ -78,6 +78,12 @@ module Aws::MarketplaceCatalog
78
78
  # type: "EntityType", # required
79
79
  # identifier: "Identifier",
80
80
  # },
81
+ # entity_tags: [
82
+ # {
83
+ # key: "TagKey", # required
84
+ # value: "TagValue", # required
85
+ # },
86
+ # ],
81
87
  # details: "Json", # required
82
88
  # change_name: "ChangeName",
83
89
  # }
@@ -92,6 +98,10 @@ module Aws::MarketplaceCatalog
92
98
  # The entity to be changed.
93
99
  # @return [Types::Entity]
94
100
  #
101
+ # @!attribute [rw] entity_tags
102
+ # The tags associated with the change.
103
+ # @return [Array<Types::Tag>]
104
+ #
95
105
  # @!attribute [rw] details
96
106
  # This object contains details specific to the change type of the
97
107
  # requested change.
@@ -106,6 +116,7 @@ module Aws::MarketplaceCatalog
106
116
  class Change < Struct.new(
107
117
  :change_type,
108
118
  :entity,
119
+ :entity_tags,
109
120
  :details,
110
121
  :change_name)
111
122
  SENSITIVE = []
@@ -670,6 +681,45 @@ module Aws::MarketplaceCatalog
670
681
  include Aws::Structure
671
682
  end
672
683
 
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
+ # @!attribute [rw] resource_arn
692
+ # Required. The Amazon Resource Name (ARN) associated with the
693
+ # resource you want to list tags on.
694
+ # @return [String]
695
+ #
696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListTagsForResourceRequest AWS API Documentation
697
+ #
698
+ class ListTagsForResourceRequest < Struct.new(
699
+ :resource_arn)
700
+ SENSITIVE = []
701
+ include Aws::Structure
702
+ end
703
+
704
+ # @!attribute [rw] resource_arn
705
+ # Required. The ARN associated with the resource you want to list tags
706
+ # on.
707
+ # @return [String]
708
+ #
709
+ # @!attribute [rw] tags
710
+ # Required. A list of objects specifying each key name and value.
711
+ # Number of objects allowed: 1-50.
712
+ # @return [Array<Types::Tag>]
713
+ #
714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListTagsForResourceResponse AWS API Documentation
715
+ #
716
+ class ListTagsForResourceResponse < Struct.new(
717
+ :resource_arn,
718
+ :tags)
719
+ SENSITIVE = []
720
+ include Aws::Structure
721
+ end
722
+
673
723
  # The resource is currently in use.
674
724
  #
675
725
  # @!attribute [rw] message
@@ -766,12 +816,24 @@ module Aws::MarketplaceCatalog
766
816
  # type: "EntityType", # required
767
817
  # identifier: "Identifier",
768
818
  # },
819
+ # entity_tags: [
820
+ # {
821
+ # key: "TagKey", # required
822
+ # value: "TagValue", # required
823
+ # },
824
+ # ],
769
825
  # details: "Json", # required
770
826
  # change_name: "ChangeName",
771
827
  # },
772
828
  # ],
773
829
  # change_set_name: "ChangeSetName",
774
830
  # client_request_token: "ClientRequestToken",
831
+ # change_set_tags: [
832
+ # {
833
+ # key: "TagKey", # required
834
+ # value: "TagValue", # required
835
+ # },
836
+ # ],
775
837
  # }
776
838
  #
777
839
  # @!attribute [rw] catalog
@@ -794,13 +856,19 @@ module Aws::MarketplaceCatalog
794
856
  # not need to pass this option.
795
857
  # @return [String]
796
858
  #
859
+ # @!attribute [rw] change_set_tags
860
+ # A list of objects specifying each key name and value for the
861
+ # `ChangeSetTags` property.
862
+ # @return [Array<Types::Tag>]
863
+ #
797
864
  # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/StartChangeSetRequest AWS API Documentation
798
865
  #
799
866
  class StartChangeSetRequest < Struct.new(
800
867
  :catalog,
801
868
  :change_set,
802
869
  :change_set_name,
803
- :client_request_token)
870
+ :client_request_token,
871
+ :change_set_tags)
804
872
  SENSITIVE = []
805
873
  include Aws::Structure
806
874
  end
@@ -823,6 +891,69 @@ module Aws::MarketplaceCatalog
823
891
  include Aws::Structure
824
892
  end
825
893
 
894
+ # A list of objects specifying each key name and value.
895
+ #
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
+ # @!attribute [rw] key
905
+ # The key associated with the tag.
906
+ # @return [String]
907
+ #
908
+ # @!attribute [rw] value
909
+ # The value associated with the tag.
910
+ # @return [String]
911
+ #
912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/Tag AWS API Documentation
913
+ #
914
+ class Tag < Struct.new(
915
+ :key,
916
+ :value)
917
+ SENSITIVE = []
918
+ include Aws::Structure
919
+ end
920
+
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
+ # @!attribute [rw] resource_arn
935
+ # Required. The Amazon Resource Name (ARN) associated with the
936
+ # resource you want to tag.
937
+ # @return [String]
938
+ #
939
+ # @!attribute [rw] tags
940
+ # Required. A list of objects specifying each key name and value.
941
+ # Number of objects allowed: 1-50.
942
+ # @return [Array<Types::Tag>]
943
+ #
944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/TagResourceRequest AWS API Documentation
945
+ #
946
+ class TagResourceRequest < Struct.new(
947
+ :resource_arn,
948
+ :tags)
949
+ SENSITIVE = []
950
+ include Aws::Structure
951
+ end
952
+
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/TagResourceResponse AWS API Documentation
954
+ #
955
+ class TagResourceResponse < Aws::EmptyStructure; end
956
+
826
957
  # Too many requests.
827
958
  #
828
959
  # @!attribute [rw] message
@@ -836,6 +967,37 @@ module Aws::MarketplaceCatalog
836
967
  include Aws::Structure
837
968
  end
838
969
 
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
+ # @!attribute [rw] resource_arn
979
+ # Required. The Amazon Resource Name (ARN) associated with the
980
+ # resource you want to remove the tag from.
981
+ # @return [String]
982
+ #
983
+ # @!attribute [rw] tag_keys
984
+ # Required. A list of key names of tags to be removed. Number of
985
+ # strings allowed: 0-256.
986
+ # @return [Array<String>]
987
+ #
988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/UntagResourceRequest AWS API Documentation
989
+ #
990
+ class UntagResourceRequest < Struct.new(
991
+ :resource_arn,
992
+ :tag_keys)
993
+ SENSITIVE = []
994
+ include Aws::Structure
995
+ end
996
+
997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/UntagResourceResponse AWS API Documentation
998
+ #
999
+ class UntagResourceResponse < Aws::EmptyStructure; end
1000
+
839
1001
  # An error occurred during validation.
840
1002
  #
841
1003
  # @!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.24.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.24.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: 2022-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core