aws-sdk-mediastore 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-mediastore.rb +1 -1
- data/lib/aws-sdk-mediastore/client.rb +129 -1
- data/lib/aws-sdk-mediastore/client_api.rb +77 -0
- data/lib/aws-sdk-mediastore/types.rb +163 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5acaf0fd9e1bf7e8d6e1f390c235bbafcb60f763
|
4
|
+
data.tar.gz: d855244438f91a2a3cea29c65a28808dd9e192c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95423c1206b4e737063de3b0d1c82b37ec1af80c01b53a4d870a0628b3f0a4ca6a5edf3e9a0b1bf629dbf58b1d90d2d083a25d1f0b9d0cc0229c318fa274e19e
|
7
|
+
data.tar.gz: edf91768524d574aaeb4d34678f77d043b33d20a2354a43a7bd64e74efe93d9b67cb011f083376f473dcb5644982007b8fac926b04360abd5318bbeddf2d47da
|
data/lib/aws-sdk-mediastore.rb
CHANGED
@@ -274,6 +274,19 @@ module Aws::MediaStore
|
|
274
274
|
# every region, as long as you don’t have an existing container with
|
275
275
|
# that name.
|
276
276
|
#
|
277
|
+
# @option params [Array<Types::Tag>] :tags
|
278
|
+
# An array of key:value pairs that you define. These values can be
|
279
|
+
# anything that you want. Typically, the tag key represents a category
|
280
|
+
# (such as "environment") and the tag value represents a specific
|
281
|
+
# value within that category (such as "test," "development," or
|
282
|
+
# "production"). You can add up to 50 tags to each container. For more
|
283
|
+
# information about tagging, including naming and usage conventions, see
|
284
|
+
# [Tagging Resources in MediaStore][1].
|
285
|
+
#
|
286
|
+
#
|
287
|
+
#
|
288
|
+
# [1]: https://aws.amazon.com/documentation/mediastore/tagging
|
289
|
+
#
|
277
290
|
# @return [Types::CreateContainerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
278
291
|
#
|
279
292
|
# * {Types::CreateContainerOutput#container #container} => Types::Container
|
@@ -282,6 +295,12 @@ module Aws::MediaStore
|
|
282
295
|
#
|
283
296
|
# resp = client.create_container({
|
284
297
|
# container_name: "ContainerName", # required
|
298
|
+
# tags: [
|
299
|
+
# {
|
300
|
+
# key: "TagKey",
|
301
|
+
# value: "TagValue",
|
302
|
+
# },
|
303
|
+
# ],
|
285
304
|
# })
|
286
305
|
#
|
287
306
|
# @example Response structure
|
@@ -598,6 +617,36 @@ module Aws::MediaStore
|
|
598
617
|
req.send_request(options)
|
599
618
|
end
|
600
619
|
|
620
|
+
# Returns a list of the tags assigned to the specified container.
|
621
|
+
#
|
622
|
+
# @option params [required, String] :resource
|
623
|
+
# The Amazon Resource Name (ARN) for the container.
|
624
|
+
#
|
625
|
+
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
626
|
+
#
|
627
|
+
# * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::Tag>
|
628
|
+
#
|
629
|
+
# @example Request syntax with placeholder values
|
630
|
+
#
|
631
|
+
# resp = client.list_tags_for_resource({
|
632
|
+
# resource: "ContainerARN", # required
|
633
|
+
# })
|
634
|
+
#
|
635
|
+
# @example Response structure
|
636
|
+
#
|
637
|
+
# resp.tags #=> Array
|
638
|
+
# resp.tags[0].key #=> String
|
639
|
+
# resp.tags[0].value #=> String
|
640
|
+
#
|
641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListTagsForResource AWS API Documentation
|
642
|
+
#
|
643
|
+
# @overload list_tags_for_resource(params = {})
|
644
|
+
# @param [Hash] params ({})
|
645
|
+
def list_tags_for_resource(params = {}, options = {})
|
646
|
+
req = build_request(:list_tags_for_resource, params)
|
647
|
+
req.send_request(options)
|
648
|
+
end
|
649
|
+
|
601
650
|
# Creates an access policy for the specified container to restrict the
|
602
651
|
# users and clients that can access it. For information about the data
|
603
652
|
# that is included in an access policy, see the [AWS Identity and Access
|
@@ -778,6 +827,85 @@ module Aws::MediaStore
|
|
778
827
|
req.send_request(options)
|
779
828
|
end
|
780
829
|
|
830
|
+
# Adds tags to the specified AWS Elemental MediaStore container. Tags
|
831
|
+
# are key:value pairs that you can associate with AWS resources. For
|
832
|
+
# example, the tag key might be "customer" and the tag value might be
|
833
|
+
# "companyA." You can specify one or more tags to add to each
|
834
|
+
# container. You can add up to 50 tags to each container. For more
|
835
|
+
# information about tagging, including naming and usage conventions, see
|
836
|
+
# [Tagging Resources in MediaStore][1].
|
837
|
+
#
|
838
|
+
#
|
839
|
+
#
|
840
|
+
# [1]: https://aws.amazon.com/documentation/mediastore/tagging
|
841
|
+
#
|
842
|
+
# @option params [required, String] :resource
|
843
|
+
# The Amazon Resource Name (ARN) for the container.
|
844
|
+
#
|
845
|
+
# @option params [required, Array<Types::Tag>] :tags
|
846
|
+
# An array of key:value pairs that you want to add to the container. You
|
847
|
+
# need to specify only the tags that you want to add or update. For
|
848
|
+
# example, suppose a container already has two tags (customer:CompanyA
|
849
|
+
# and priority:High). You want to change the priority tag and also add a
|
850
|
+
# third tag (type:Contract). For TagResource, you specify the following
|
851
|
+
# tags: priority:Medium, type:Contract. The result is that your
|
852
|
+
# container has three tags: customer:CompanyA, priority:Medium, and
|
853
|
+
# type:Contract.
|
854
|
+
#
|
855
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
856
|
+
#
|
857
|
+
# @example Request syntax with placeholder values
|
858
|
+
#
|
859
|
+
# resp = client.tag_resource({
|
860
|
+
# resource: "ContainerARN", # required
|
861
|
+
# tags: [ # required
|
862
|
+
# {
|
863
|
+
# key: "TagKey",
|
864
|
+
# value: "TagValue",
|
865
|
+
# },
|
866
|
+
# ],
|
867
|
+
# })
|
868
|
+
#
|
869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/TagResource AWS API Documentation
|
870
|
+
#
|
871
|
+
# @overload tag_resource(params = {})
|
872
|
+
# @param [Hash] params ({})
|
873
|
+
def tag_resource(params = {}, options = {})
|
874
|
+
req = build_request(:tag_resource, params)
|
875
|
+
req.send_request(options)
|
876
|
+
end
|
877
|
+
|
878
|
+
# Removes tags from the specified container. You can specify one or more
|
879
|
+
# tags to remove.
|
880
|
+
#
|
881
|
+
# @option params [required, String] :resource
|
882
|
+
# The Amazon Resource Name (ARN) for the container.
|
883
|
+
#
|
884
|
+
# @option params [required, Array<String>] :tag_keys
|
885
|
+
# A comma-separated list of keys for tags that you want to remove from
|
886
|
+
# the container. For example, if your container has two tags
|
887
|
+
# (customer:CompanyA and priority:High) and you want to remove one of
|
888
|
+
# the tags (priority:High), you specify the key for the tag that you
|
889
|
+
# want to remove (priority).
|
890
|
+
#
|
891
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
892
|
+
#
|
893
|
+
# @example Request syntax with placeholder values
|
894
|
+
#
|
895
|
+
# resp = client.untag_resource({
|
896
|
+
# resource: "ContainerARN", # required
|
897
|
+
# tag_keys: ["TagKey"], # required
|
898
|
+
# })
|
899
|
+
#
|
900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/UntagResource AWS API Documentation
|
901
|
+
#
|
902
|
+
# @overload untag_resource(params = {})
|
903
|
+
# @param [Hash] params ({})
|
904
|
+
def untag_resource(params = {}, options = {})
|
905
|
+
req = build_request(:untag_resource, params)
|
906
|
+
req.send_request(options)
|
907
|
+
end
|
908
|
+
|
781
909
|
# @!endgroup
|
782
910
|
|
783
911
|
# @param params ({})
|
@@ -791,7 +919,7 @@ module Aws::MediaStore
|
|
791
919
|
params: params,
|
792
920
|
config: config)
|
793
921
|
context[:gem_name] = 'aws-sdk-mediastore'
|
794
|
-
context[:gem_version] = '1.
|
922
|
+
context[:gem_version] = '1.18.0'
|
795
923
|
Seahorse::Client::Request.new(handlers, context)
|
796
924
|
end
|
797
925
|
|
@@ -54,6 +54,8 @@ module Aws::MediaStore
|
|
54
54
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
55
55
|
ListContainersInput = Shapes::StructureShape.new(name: 'ListContainersInput')
|
56
56
|
ListContainersOutput = Shapes::StructureShape.new(name: 'ListContainersOutput')
|
57
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
58
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
57
59
|
MaxAgeSeconds = Shapes::IntegerShape.new(name: 'MaxAgeSeconds')
|
58
60
|
MethodName = Shapes::StringShape.new(name: 'MethodName')
|
59
61
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
@@ -69,7 +71,16 @@ module Aws::MediaStore
|
|
69
71
|
StartAccessLoggingOutput = Shapes::StructureShape.new(name: 'StartAccessLoggingOutput')
|
70
72
|
StopAccessLoggingInput = Shapes::StructureShape.new(name: 'StopAccessLoggingInput')
|
71
73
|
StopAccessLoggingOutput = Shapes::StructureShape.new(name: 'StopAccessLoggingOutput')
|
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
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
79
|
+
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
80
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
72
81
|
TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
|
82
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
83
|
+
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
73
84
|
|
74
85
|
AllowedHeaders.member = Shapes::ShapeRef.new(shape: Header)
|
75
86
|
|
@@ -106,6 +117,7 @@ module Aws::MediaStore
|
|
106
117
|
CorsRule.struct_class = Types::CorsRule
|
107
118
|
|
108
119
|
CreateContainerInput.add_member(:container_name, Shapes::ShapeRef.new(shape: ContainerName, required: true, location_name: "ContainerName"))
|
120
|
+
CreateContainerInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
109
121
|
CreateContainerInput.struct_class = Types::CreateContainerInput
|
110
122
|
|
111
123
|
CreateContainerOutput.add_member(:container, Shapes::ShapeRef.new(shape: Container, required: true, location_name: "Container"))
|
@@ -171,6 +183,12 @@ module Aws::MediaStore
|
|
171
183
|
ListContainersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
172
184
|
ListContainersOutput.struct_class = Types::ListContainersOutput
|
173
185
|
|
186
|
+
ListTagsForResourceInput.add_member(:resource, Shapes::ShapeRef.new(shape: ContainerARN, required: true, location_name: "Resource"))
|
187
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
188
|
+
|
189
|
+
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
190
|
+
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
191
|
+
|
174
192
|
PolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
175
193
|
PolicyNotFoundException.struct_class = Types::PolicyNotFoundException
|
176
194
|
|
@@ -202,6 +220,26 @@ module Aws::MediaStore
|
|
202
220
|
|
203
221
|
StopAccessLoggingOutput.struct_class = Types::StopAccessLoggingOutput
|
204
222
|
|
223
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
224
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
225
|
+
Tag.struct_class = Types::Tag
|
226
|
+
|
227
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
228
|
+
|
229
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
230
|
+
|
231
|
+
TagResourceInput.add_member(:resource, Shapes::ShapeRef.new(shape: ContainerARN, required: true, location_name: "Resource"))
|
232
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
233
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
234
|
+
|
235
|
+
TagResourceOutput.struct_class = Types::TagResourceOutput
|
236
|
+
|
237
|
+
UntagResourceInput.add_member(:resource, Shapes::ShapeRef.new(shape: ContainerARN, required: true, location_name: "Resource"))
|
238
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
239
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
240
|
+
|
241
|
+
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
242
|
+
|
205
243
|
|
206
244
|
# @api private
|
207
245
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -333,6 +371,23 @@ module Aws::MediaStore
|
|
333
371
|
o.input = Shapes::ShapeRef.new(shape: ListContainersInput)
|
334
372
|
o.output = Shapes::ShapeRef.new(shape: ListContainersOutput)
|
335
373
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
374
|
+
o[:pager] = Aws::Pager.new(
|
375
|
+
limit_key: "max_results",
|
376
|
+
tokens: {
|
377
|
+
"next_token" => "next_token"
|
378
|
+
}
|
379
|
+
)
|
380
|
+
end)
|
381
|
+
|
382
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
383
|
+
o.name = "ListTagsForResource"
|
384
|
+
o.http_method = "POST"
|
385
|
+
o.http_request_uri = "/"
|
386
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
387
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: ContainerInUseException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ContainerNotFoundException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
336
391
|
end)
|
337
392
|
|
338
393
|
api.add_operation(:put_container_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -389,6 +444,28 @@ module Aws::MediaStore
|
|
389
444
|
o.errors << Shapes::ShapeRef.new(shape: ContainerNotFoundException)
|
390
445
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
391
446
|
end)
|
447
|
+
|
448
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
449
|
+
o.name = "TagResource"
|
450
|
+
o.http_method = "POST"
|
451
|
+
o.http_request_uri = "/"
|
452
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
453
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: ContainerInUseException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: ContainerNotFoundException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
457
|
+
end)
|
458
|
+
|
459
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "UntagResource"
|
461
|
+
o.http_method = "POST"
|
462
|
+
o.http_request_uri = "/"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ContainerInUseException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ContainerNotFoundException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
468
|
+
end)
|
392
469
|
end
|
393
470
|
|
394
471
|
end
|
@@ -177,6 +177,12 @@ module Aws::MediaStore
|
|
177
177
|
#
|
178
178
|
# {
|
179
179
|
# container_name: "ContainerName", # required
|
180
|
+
# tags: [
|
181
|
+
# {
|
182
|
+
# key: "TagKey",
|
183
|
+
# value: "TagValue",
|
184
|
+
# },
|
185
|
+
# ],
|
180
186
|
# }
|
181
187
|
#
|
182
188
|
# @!attribute [rw] container_name
|
@@ -187,10 +193,25 @@ module Aws::MediaStore
|
|
187
193
|
# an existing container with that name.
|
188
194
|
# @return [String]
|
189
195
|
#
|
196
|
+
# @!attribute [rw] tags
|
197
|
+
# An array of key:value pairs that you define. These values can be
|
198
|
+
# anything that you want. Typically, the tag key represents a category
|
199
|
+
# (such as "environment") and the tag value represents a specific
|
200
|
+
# value within that category (such as "test," "development," or
|
201
|
+
# "production"). You can add up to 50 tags to each container. For
|
202
|
+
# more information about tagging, including naming and usage
|
203
|
+
# conventions, see [Tagging Resources in MediaStore][1].
|
204
|
+
#
|
205
|
+
#
|
206
|
+
#
|
207
|
+
# [1]: https://aws.amazon.com/documentation/mediastore/tagging
|
208
|
+
# @return [Array<Types::Tag>]
|
209
|
+
#
|
190
210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainerInput AWS API Documentation
|
191
211
|
#
|
192
212
|
class CreateContainerInput < Struct.new(
|
193
|
-
:container_name
|
213
|
+
:container_name,
|
214
|
+
:tags)
|
194
215
|
include Aws::Structure
|
195
216
|
end
|
196
217
|
|
@@ -498,6 +519,35 @@ module Aws::MediaStore
|
|
498
519
|
include Aws::Structure
|
499
520
|
end
|
500
521
|
|
522
|
+
# @note When making an API call, you may pass ListTagsForResourceInput
|
523
|
+
# data as a hash:
|
524
|
+
#
|
525
|
+
# {
|
526
|
+
# resource: "ContainerARN", # required
|
527
|
+
# }
|
528
|
+
#
|
529
|
+
# @!attribute [rw] resource
|
530
|
+
# The Amazon Resource Name (ARN) for the container.
|
531
|
+
# @return [String]
|
532
|
+
#
|
533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListTagsForResourceInput AWS API Documentation
|
534
|
+
#
|
535
|
+
class ListTagsForResourceInput < Struct.new(
|
536
|
+
:resource)
|
537
|
+
include Aws::Structure
|
538
|
+
end
|
539
|
+
|
540
|
+
# @!attribute [rw] tags
|
541
|
+
# An array of key:value pairs that are assigned to the container.
|
542
|
+
# @return [Array<Types::Tag>]
|
543
|
+
#
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListTagsForResourceOutput AWS API Documentation
|
545
|
+
#
|
546
|
+
class ListTagsForResourceOutput < Struct.new(
|
547
|
+
:tags)
|
548
|
+
include Aws::Structure
|
549
|
+
end
|
550
|
+
|
501
551
|
# The policy that you specified in the request does not exist.
|
502
552
|
#
|
503
553
|
# @!attribute [rw] message
|
@@ -653,5 +703,117 @@ module Aws::MediaStore
|
|
653
703
|
#
|
654
704
|
class StopAccessLoggingOutput < Aws::EmptyStructure; end
|
655
705
|
|
706
|
+
# A collection of tags associated with a container. Each tag consists of
|
707
|
+
# a key:value pair, which can be anything you define. Typically, the tag
|
708
|
+
# key represents a category (such as "environment") and the tag value
|
709
|
+
# represents a specific value within that category (such as "test,"
|
710
|
+
# "development," or "production"). You can add up to 50 tags to each
|
711
|
+
# container. For more information about tagging, including naming and
|
712
|
+
# usage conventions, see [Tagging Resources in MediaStore][1].
|
713
|
+
#
|
714
|
+
#
|
715
|
+
#
|
716
|
+
# [1]: https://aws.amazon.com/documentation/mediastore/tagging
|
717
|
+
#
|
718
|
+
# @note When making an API call, you may pass Tag
|
719
|
+
# data as a hash:
|
720
|
+
#
|
721
|
+
# {
|
722
|
+
# key: "TagKey",
|
723
|
+
# value: "TagValue",
|
724
|
+
# }
|
725
|
+
#
|
726
|
+
# @!attribute [rw] key
|
727
|
+
# Part of the key:value pair that defines a tag. You can use a tag key
|
728
|
+
# to describe a category of information, such as "customer." Tag
|
729
|
+
# keys are case-sensitive.
|
730
|
+
# @return [String]
|
731
|
+
#
|
732
|
+
# @!attribute [rw] value
|
733
|
+
# Part of the key:value pair that defines a tag. You can use a tag
|
734
|
+
# value to describe a specific value within a category, such as
|
735
|
+
# "companyA" or "companyB." Tag values are case-sensitive.
|
736
|
+
# @return [String]
|
737
|
+
#
|
738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/Tag AWS API Documentation
|
739
|
+
#
|
740
|
+
class Tag < Struct.new(
|
741
|
+
:key,
|
742
|
+
:value)
|
743
|
+
include Aws::Structure
|
744
|
+
end
|
745
|
+
|
746
|
+
# @note When making an API call, you may pass TagResourceInput
|
747
|
+
# data as a hash:
|
748
|
+
#
|
749
|
+
# {
|
750
|
+
# resource: "ContainerARN", # required
|
751
|
+
# tags: [ # required
|
752
|
+
# {
|
753
|
+
# key: "TagKey",
|
754
|
+
# value: "TagValue",
|
755
|
+
# },
|
756
|
+
# ],
|
757
|
+
# }
|
758
|
+
#
|
759
|
+
# @!attribute [rw] resource
|
760
|
+
# The Amazon Resource Name (ARN) for the container.
|
761
|
+
# @return [String]
|
762
|
+
#
|
763
|
+
# @!attribute [rw] tags
|
764
|
+
# An array of key:value pairs that you want to add to the container.
|
765
|
+
# You need to specify only the tags that you want to add or update.
|
766
|
+
# For example, suppose a container already has two tags
|
767
|
+
# (customer:CompanyA and priority:High). You want to change the
|
768
|
+
# priority tag and also add a third tag (type:Contract). For
|
769
|
+
# TagResource, you specify the following tags: priority:Medium,
|
770
|
+
# type:Contract. The result is that your container has three tags:
|
771
|
+
# customer:CompanyA, priority:Medium, and type:Contract.
|
772
|
+
# @return [Array<Types::Tag>]
|
773
|
+
#
|
774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/TagResourceInput AWS API Documentation
|
775
|
+
#
|
776
|
+
class TagResourceInput < Struct.new(
|
777
|
+
:resource,
|
778
|
+
:tags)
|
779
|
+
include Aws::Structure
|
780
|
+
end
|
781
|
+
|
782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/TagResourceOutput AWS API Documentation
|
783
|
+
#
|
784
|
+
class TagResourceOutput < Aws::EmptyStructure; end
|
785
|
+
|
786
|
+
# @note When making an API call, you may pass UntagResourceInput
|
787
|
+
# data as a hash:
|
788
|
+
#
|
789
|
+
# {
|
790
|
+
# resource: "ContainerARN", # required
|
791
|
+
# tag_keys: ["TagKey"], # required
|
792
|
+
# }
|
793
|
+
#
|
794
|
+
# @!attribute [rw] resource
|
795
|
+
# The Amazon Resource Name (ARN) for the container.
|
796
|
+
# @return [String]
|
797
|
+
#
|
798
|
+
# @!attribute [rw] tag_keys
|
799
|
+
# A comma-separated list of keys for tags that you want to remove from
|
800
|
+
# the container. For example, if your container has two tags
|
801
|
+
# (customer:CompanyA and priority:High) and you want to remove one of
|
802
|
+
# the tags (priority:High), you specify the key for the tag that you
|
803
|
+
# want to remove (priority).
|
804
|
+
# @return [Array<String>]
|
805
|
+
#
|
806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/UntagResourceInput AWS API Documentation
|
807
|
+
#
|
808
|
+
class UntagResourceInput < Struct.new(
|
809
|
+
:resource,
|
810
|
+
:tag_keys)
|
811
|
+
include Aws::Structure
|
812
|
+
end
|
813
|
+
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/UntagResourceOutput AWS API Documentation
|
815
|
+
#
|
816
|
+
class UntagResourceOutput < Aws::EmptyStructure; end
|
817
|
+
|
656
818
|
end
|
657
819
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediastore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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: 2019-07-
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|