aws-sdk-outposts 1.9.0 → 1.14.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: c15d434a02d02ca32038d6ca973ac76f51afc3ee87ce4c9fec8235e38031a040
4
- data.tar.gz: f7397e4712c4ac997f86e8751bcefce3e026bb892043000a46f90533ce65563c
3
+ metadata.gz: 188b7c6fc82cec583f6c09e285d8acc215e7e7b4c9234a2c4540f34392587392
4
+ data.tar.gz: 23b54f8f51ebe2a9a0d9e0acda2cb555b5eee14f2fa1b7c20d455ad75293de8a
5
5
  SHA512:
6
- metadata.gz: 53546b49b2137b4399256c9787b1f2fe9fdd39a0b70d334fac82de155e776196df449f3560043abf04c8cdd80abc1e1742d49d4f7c4cec52b8b4fc3c02073f00
7
- data.tar.gz: d5e493ab3f2a3e468cc15cb1b594d535103fb53729473de66812f1765adb53699e948686557f9e719eaa6aaf86627bdc764bf66f7e6cc147b7d460c4b6b48889
6
+ metadata.gz: 1540fb48d78866985b3172bf6f544d55b4fd3b97dc6af05bf2811b0f6af12ecdd1ff0d0801fe5fdd673f07f8a15be3e91b6983c9503a4e6e2a38d143afa5e827
7
+ data.tar.gz: ce2b80b63fdbd00075b633f8c30520e57e133e1c932a296d8b960566690e5d54b39847c67fafa83a8f0b405e0ba0c984877b9a4505026bb638baf625cf4b7a56
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-outposts/customizations'
48
48
  # @!group service
49
49
  module Aws::Outposts
50
50
 
51
- GEM_VERSION = '1.9.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -329,11 +329,11 @@ module Aws::Outposts
329
329
 
330
330
  # Creates an Outpost.
331
331
  #
332
- # @option params [String] :name
332
+ # @option params [required, String] :name
333
333
  # The name of the Outpost.
334
334
  #
335
335
  # @option params [String] :description
336
- # The Outpost description.
336
+ # The description of the Outpost.
337
337
  #
338
338
  # @option params [required, String] :site_id
339
339
  # The ID of the site.
@@ -348,6 +348,9 @@ module Aws::Outposts
348
348
  #
349
349
  # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
350
350
  #
351
+ # @option params [Hash<String,String>] :tags
352
+ # The tags to apply to the Outpost.
353
+ #
351
354
  # @return [Types::CreateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
352
355
  #
353
356
  # * {Types::CreateOutpostOutput#outpost #outpost} => Types::Outpost
@@ -355,11 +358,14 @@ module Aws::Outposts
355
358
  # @example Request syntax with placeholder values
356
359
  #
357
360
  # resp = client.create_outpost({
358
- # name: "OutpostName",
361
+ # name: "OutpostName", # required
359
362
  # description: "OutpostDescription",
360
363
  # site_id: "SiteId", # required
361
364
  # availability_zone: "AvailabilityZone",
362
365
  # availability_zone_id: "AvailabilityZoneId",
366
+ # tags: {
367
+ # "TagKey" => "TagValue",
368
+ # },
363
369
  # })
364
370
  #
365
371
  # @example Response structure
@@ -373,6 +379,8 @@ module Aws::Outposts
373
379
  # resp.outpost.life_cycle_status #=> String
374
380
  # resp.outpost.availability_zone #=> String
375
381
  # resp.outpost.availability_zone_id #=> String
382
+ # resp.outpost.tags #=> Hash
383
+ # resp.outpost.tags["TagKey"] #=> String
376
384
  #
377
385
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost AWS API Documentation
378
386
  #
@@ -453,6 +461,8 @@ module Aws::Outposts
453
461
  # resp.outpost.life_cycle_status #=> String
454
462
  # resp.outpost.availability_zone #=> String
455
463
  # resp.outpost.availability_zone_id #=> String
464
+ # resp.outpost.tags #=> Hash
465
+ # resp.outpost.tags["TagKey"] #=> String
456
466
  #
457
467
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost AWS API Documentation
458
468
  #
@@ -540,6 +550,8 @@ module Aws::Outposts
540
550
  # resp.outposts[0].life_cycle_status #=> String
541
551
  # resp.outposts[0].availability_zone #=> String
542
552
  # resp.outposts[0].availability_zone_id #=> String
553
+ # resp.outposts[0].tags #=> Hash
554
+ # resp.outposts[0].tags["TagKey"] #=> String
543
555
  # resp.next_token #=> String
544
556
  #
545
557
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts AWS API Documentation
@@ -580,6 +592,8 @@ module Aws::Outposts
580
592
  # resp.sites[0].account_id #=> String
581
593
  # resp.sites[0].name #=> String
582
594
  # resp.sites[0].description #=> String
595
+ # resp.sites[0].tags #=> Hash
596
+ # resp.sites[0].tags["TagKey"] #=> String
583
597
  # resp.next_token #=> String
584
598
  #
585
599
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites AWS API Documentation
@@ -591,6 +605,89 @@ module Aws::Outposts
591
605
  req.send_request(options)
592
606
  end
593
607
 
608
+ # Lists the tags for the specified resource.
609
+ #
610
+ # @option params [required, String] :resource_arn
611
+ # The Amazon Resource Name (ARN) of the resource.
612
+ #
613
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
614
+ #
615
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
616
+ #
617
+ # @example Request syntax with placeholder values
618
+ #
619
+ # resp = client.list_tags_for_resource({
620
+ # resource_arn: "Arn", # required
621
+ # })
622
+ #
623
+ # @example Response structure
624
+ #
625
+ # resp.tags #=> Hash
626
+ # resp.tags["TagKey"] #=> String
627
+ #
628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResource AWS API Documentation
629
+ #
630
+ # @overload list_tags_for_resource(params = {})
631
+ # @param [Hash] params ({})
632
+ def list_tags_for_resource(params = {}, options = {})
633
+ req = build_request(:list_tags_for_resource, params)
634
+ req.send_request(options)
635
+ end
636
+
637
+ # Adds tags to the specified resource.
638
+ #
639
+ # @option params [required, String] :resource_arn
640
+ # The Amazon Resource Name (ARN) of the resource.
641
+ #
642
+ # @option params [required, Hash<String,String>] :tags
643
+ # The tags to add to the resource.
644
+ #
645
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
646
+ #
647
+ # @example Request syntax with placeholder values
648
+ #
649
+ # resp = client.tag_resource({
650
+ # resource_arn: "Arn", # required
651
+ # tags: { # required
652
+ # "TagKey" => "TagValue",
653
+ # },
654
+ # })
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResource AWS API Documentation
657
+ #
658
+ # @overload tag_resource(params = {})
659
+ # @param [Hash] params ({})
660
+ def tag_resource(params = {}, options = {})
661
+ req = build_request(:tag_resource, params)
662
+ req.send_request(options)
663
+ end
664
+
665
+ # Removes tags from the specified resource.
666
+ #
667
+ # @option params [required, String] :resource_arn
668
+ # The Amazon Resource Name (ARN) of the resource.
669
+ #
670
+ # @option params [required, Array<String>] :tag_keys
671
+ # The tag keys.
672
+ #
673
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
674
+ #
675
+ # @example Request syntax with placeholder values
676
+ #
677
+ # resp = client.untag_resource({
678
+ # resource_arn: "Arn", # required
679
+ # tag_keys: ["TagKey"], # required
680
+ # })
681
+ #
682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResource AWS API Documentation
683
+ #
684
+ # @overload untag_resource(params = {})
685
+ # @param [Hash] params ({})
686
+ def untag_resource(params = {}, options = {})
687
+ req = build_request(:untag_resource, params)
688
+ req.send_request(options)
689
+ end
690
+
594
691
  # @!endgroup
595
692
 
596
693
  # @param params ({})
@@ -604,7 +701,7 @@ module Aws::Outposts
604
701
  params: params,
605
702
  config: config)
606
703
  context[:gem_name] = 'aws-sdk-outposts'
607
- context[:gem_version] = '1.9.0'
704
+ context[:gem_version] = '1.14.0'
608
705
  Seahorse::Client::Request.new(handlers, context)
609
706
  end
610
707
 
@@ -15,6 +15,7 @@ module Aws::Outposts
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AccountId = Shapes::StringShape.new(name: 'AccountId')
18
+ Arn = Shapes::StringShape.new(name: 'Arn')
18
19
  AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
19
20
  AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
20
21
  CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
@@ -37,6 +38,8 @@ module Aws::Outposts
37
38
  ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
38
39
  ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
39
40
  ListSitesOutput = Shapes::StructureShape.new(name: 'ListSitesOutput')
41
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
42
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
40
43
  MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
41
44
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
42
45
  Outpost = Shapes::StructureShape.new(name: 'Outpost')
@@ -50,7 +53,15 @@ module Aws::Outposts
50
53
  SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
51
54
  SiteId = Shapes::StringShape.new(name: 'SiteId')
52
55
  SiteName = Shapes::StringShape.new(name: 'SiteName')
56
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
57
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
58
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
59
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
60
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
61
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
53
62
  Token = Shapes::StringShape.new(name: 'Token')
63
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
64
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
54
65
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
55
66
  outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
56
67
  siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
@@ -58,11 +69,12 @@ module Aws::Outposts
58
69
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
59
70
  AccessDeniedException.struct_class = Types::AccessDeniedException
60
71
 
61
- CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, location_name: "Name"))
72
+ CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
62
73
  CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
63
74
  CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
64
75
  CreateOutpostInput.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
65
76
  CreateOutpostInput.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
77
+ CreateOutpostInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
66
78
  CreateOutpostInput.struct_class = Types::CreateOutpostInput
67
79
 
68
80
  CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
@@ -119,6 +131,12 @@ module Aws::Outposts
119
131
  ListSitesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
120
132
  ListSitesOutput.struct_class = Types::ListSitesOutput
121
133
 
134
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
135
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
136
+
137
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
138
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
139
+
122
140
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
123
141
  NotFoundException.struct_class = Types::NotFoundException
124
142
 
@@ -131,6 +149,7 @@ module Aws::Outposts
131
149
  Outpost.add_member(:life_cycle_status, Shapes::ShapeRef.new(shape: LifeCycleStatus, location_name: "LifeCycleStatus"))
132
150
  Outpost.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
133
151
  Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
152
+ Outpost.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
134
153
  Outpost.struct_class = Types::Outpost
135
154
 
136
155
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -140,8 +159,26 @@ module Aws::Outposts
140
159
  Site.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
141
160
  Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
142
161
  Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
162
+ Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
143
163
  Site.struct_class = Types::Site
144
164
 
165
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
166
+
167
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
168
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
169
+
170
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
171
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
172
+ TagResourceRequest.struct_class = Types::TagResourceRequest
173
+
174
+ TagResourceResponse.struct_class = Types::TagResourceResponse
175
+
176
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
177
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
178
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
179
+
180
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
181
+
145
182
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
146
183
  ValidationException.struct_class = Types::ValidationException
147
184
 
@@ -262,6 +299,39 @@ module Aws::Outposts
262
299
  }
263
300
  )
264
301
  end)
302
+
303
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
304
+ o.name = "ListTagsForResource"
305
+ o.http_method = "GET"
306
+ o.http_request_uri = "/tags/{ResourceArn}"
307
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
308
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
309
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
310
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
311
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
312
+ end)
313
+
314
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
315
+ o.name = "TagResource"
316
+ o.http_method = "POST"
317
+ o.http_request_uri = "/tags/{ResourceArn}"
318
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
319
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
321
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
322
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
323
+ end)
324
+
325
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
326
+ o.name = "UntagResource"
327
+ o.http_method = "DELETE"
328
+ o.http_request_uri = "/tags/{ResourceArn}"
329
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
330
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
331
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
332
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
333
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
334
+ end)
265
335
  end
266
336
 
267
337
  end
@@ -27,11 +27,14 @@ module Aws::Outposts
27
27
  # data as a hash:
28
28
  #
29
29
  # {
30
- # name: "OutpostName",
30
+ # name: "OutpostName", # required
31
31
  # description: "OutpostDescription",
32
32
  # site_id: "SiteId", # required
33
33
  # availability_zone: "AvailabilityZone",
34
34
  # availability_zone_id: "AvailabilityZoneId",
35
+ # tags: {
36
+ # "TagKey" => "TagValue",
37
+ # },
35
38
  # }
36
39
  #
37
40
  # @!attribute [rw] name
@@ -39,7 +42,7 @@ module Aws::Outposts
39
42
  # @return [String]
40
43
  #
41
44
  # @!attribute [rw] description
42
- # The Outpost description.
45
+ # The description of the Outpost.
43
46
  # @return [String]
44
47
  #
45
48
  # @!attribute [rw] site_id
@@ -58,6 +61,10 @@ module Aws::Outposts
58
61
  # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
59
62
  # @return [String]
60
63
  #
64
+ # @!attribute [rw] tags
65
+ # The tags to apply to the Outpost.
66
+ # @return [Hash<String,String>]
67
+ #
61
68
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostInput AWS API Documentation
62
69
  #
63
70
  class CreateOutpostInput < Struct.new(
@@ -65,7 +72,8 @@ module Aws::Outposts
65
72
  :description,
66
73
  :site_id,
67
74
  :availability_zone,
68
- :availability_zone_id)
75
+ :availability_zone_id,
76
+ :tags)
69
77
  SENSITIVE = []
70
78
  include Aws::Structure
71
79
  end
@@ -328,6 +336,37 @@ module Aws::Outposts
328
336
  include Aws::Structure
329
337
  end
330
338
 
339
+ # @note When making an API call, you may pass ListTagsForResourceRequest
340
+ # data as a hash:
341
+ #
342
+ # {
343
+ # resource_arn: "Arn", # required
344
+ # }
345
+ #
346
+ # @!attribute [rw] resource_arn
347
+ # The Amazon Resource Name (ARN) of the resource.
348
+ # @return [String]
349
+ #
350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResourceRequest AWS API Documentation
351
+ #
352
+ class ListTagsForResourceRequest < Struct.new(
353
+ :resource_arn)
354
+ SENSITIVE = []
355
+ include Aws::Structure
356
+ end
357
+
358
+ # @!attribute [rw] tags
359
+ # The resource tags.
360
+ # @return [Hash<String,String>]
361
+ #
362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResourceResponse AWS API Documentation
363
+ #
364
+ class ListTagsForResourceResponse < Struct.new(
365
+ :tags)
366
+ SENSITIVE = []
367
+ include Aws::Structure
368
+ end
369
+
331
370
  # The specified request is not valid.
332
371
  #
333
372
  # @!attribute [rw] message
@@ -364,7 +403,7 @@ module Aws::Outposts
364
403
  # @return [String]
365
404
  #
366
405
  # @!attribute [rw] description
367
- # The Outpost description.
406
+ # The description of the Outpost.
368
407
  # @return [String]
369
408
  #
370
409
  # @!attribute [rw] life_cycle_status
@@ -383,6 +422,10 @@ module Aws::Outposts
383
422
  # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
384
423
  # @return [String]
385
424
  #
425
+ # @!attribute [rw] tags
426
+ # The Outpost tags.
427
+ # @return [Hash<String,String>]
428
+ #
386
429
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
387
430
  #
388
431
  class Outpost < Struct.new(
@@ -394,7 +437,8 @@ module Aws::Outposts
394
437
  :description,
395
438
  :life_cycle_status,
396
439
  :availability_zone,
397
- :availability_zone_id)
440
+ :availability_zone_id,
441
+ :tags)
398
442
  SENSITIVE = []
399
443
  include Aws::Structure
400
444
  end
@@ -430,17 +474,82 @@ module Aws::Outposts
430
474
  # The description of the site.
431
475
  # @return [String]
432
476
  #
477
+ # @!attribute [rw] tags
478
+ # The site tags.
479
+ # @return [Hash<String,String>]
480
+ #
433
481
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Site AWS API Documentation
434
482
  #
435
483
  class Site < Struct.new(
436
484
  :site_id,
437
485
  :account_id,
438
486
  :name,
439
- :description)
487
+ :description,
488
+ :tags)
489
+ SENSITIVE = []
490
+ include Aws::Structure
491
+ end
492
+
493
+ # @note When making an API call, you may pass TagResourceRequest
494
+ # data as a hash:
495
+ #
496
+ # {
497
+ # resource_arn: "Arn", # required
498
+ # tags: { # required
499
+ # "TagKey" => "TagValue",
500
+ # },
501
+ # }
502
+ #
503
+ # @!attribute [rw] resource_arn
504
+ # The Amazon Resource Name (ARN) of the resource.
505
+ # @return [String]
506
+ #
507
+ # @!attribute [rw] tags
508
+ # The tags to add to the resource.
509
+ # @return [Hash<String,String>]
510
+ #
511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResourceRequest AWS API Documentation
512
+ #
513
+ class TagResourceRequest < Struct.new(
514
+ :resource_arn,
515
+ :tags)
516
+ SENSITIVE = []
517
+ include Aws::Structure
518
+ end
519
+
520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResourceResponse AWS API Documentation
521
+ #
522
+ class TagResourceResponse < Aws::EmptyStructure; end
523
+
524
+ # @note When making an API call, you may pass UntagResourceRequest
525
+ # data as a hash:
526
+ #
527
+ # {
528
+ # resource_arn: "Arn", # required
529
+ # tag_keys: ["TagKey"], # required
530
+ # }
531
+ #
532
+ # @!attribute [rw] resource_arn
533
+ # The Amazon Resource Name (ARN) of the resource.
534
+ # @return [String]
535
+ #
536
+ # @!attribute [rw] tag_keys
537
+ # The tag keys.
538
+ # @return [Array<String>]
539
+ #
540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResourceRequest AWS API Documentation
541
+ #
542
+ class UntagResourceRequest < Struct.new(
543
+ :resource_arn,
544
+ :tag_keys)
440
545
  SENSITIVE = []
441
546
  include Aws::Structure
442
547
  end
443
548
 
549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResourceResponse AWS API Documentation
550
+ #
551
+ class UntagResourceResponse < Aws::EmptyStructure; end
552
+
444
553
  # A parameter is not valid.
445
554
  #
446
555
  # @!attribute [rw] message
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-outposts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.14.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: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement