aws-sdk-outposts 1.10.0 → 1.15.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: ce74bc361c12d01692736024eefbb292011ee7f4e3f41989f89f73bc1735a481
4
- data.tar.gz: d6944fbcd960bb7c1094bcb2c8417278d0e7b279ce54225f01dd4ed2d1fd64bd
3
+ metadata.gz: d2e954cef6db399d9a527f9f6a5e43552b80974feb731b22d69e7f059a42e71d
4
+ data.tar.gz: 959e1b65d2f2fa7313761cf294bf0a5e8dae47eb61870c024c69543fc95b3848
5
5
  SHA512:
6
- metadata.gz: eab05c20afed936287dc60f9ea66f75620a24dfec2e6c7fa48f1860bb3f6adfa7d0349d9824ff2b4ee724ebd696539f5f28db5d13ef64fe7246919523f283b39
7
- data.tar.gz: 0bfa4e932add7a2957c38888751660c167c61a8a1d004b719e1cc5e775c957561abf66aa435674f7fee641498f0ecf7da7d1bdd1b93194df05fb0dd7c8161db8
6
+ metadata.gz: 93450d604bf464e1dfe8aeacff0818822943b796819cad9b2ae7406193bb8f121b1ebef928a28cf2e1c2328201c5b0130e5e43b77a3e504285ea25cdc54a370c
7
+ data.tar.gz: 8ce97fcc237fc35cf89aa379bf1f9d0d437f4d083b4fa16621fa7dca24d41fdf08cb1b03d4faaf62d511b8d1985b81ed976347c041f7a5fc111769aaf7b855ff
data/CHANGELOG.md ADDED
@@ -0,0 +1,88 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.15.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.14.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.13.0 (2020-12-21)
15
+ ------------------
16
+
17
+ * Feature - In this release, AWS Outposts adds support for three new APIs: TagResource, UntagResource, and ListTagsForResource. Customers can now manage tags for their resources through the SDK.
18
+
19
+ 1.12.0 (2020-11-23)
20
+ ------------------
21
+
22
+ * Feature - Support specifying tags during the creation of the Outpost resource. Tags are now returned in the response body of Outpost APIs.
23
+
24
+ 1.11.0 (2020-11-18)
25
+ ------------------
26
+
27
+ * Feature - Mark the Name parameter in CreateOutpost as required.
28
+
29
+ 1.10.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.9.0 (2020-09-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.8.0 (2020-08-25)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.7.0 (2020-06-23)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.6.1 (2020-06-11)
50
+ ------------------
51
+
52
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
53
+
54
+ 1.6.0 (2020-06-10)
55
+ ------------------
56
+
57
+ * Issue - This version has been yanked. (#2327).
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.5.0 (2020-05-28)
61
+ ------------------
62
+
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.4.0 (2020-05-07)
66
+ ------------------
67
+
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.3.0 (2020-03-19)
71
+ ------------------
72
+
73
+ * Feature - Documentation updates for AWS Outposts.
74
+
75
+ 1.2.0 (2020-03-09)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.1.0 (2020-02-25)
81
+ ------------------
82
+
83
+ * Feature - This release adds DeleteSite and DeleteOutpost.
84
+
85
+ 1.0.0 (2019-12-03)
86
+ ------------------
87
+
88
+ * Feature - Initial release of `aws-sdk-outposts`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.15.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.10.0'
51
+ GEM_VERSION = '1.15.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.10.0'
704
+ context[:gem_version] = '1.15.0'
608
705
  Seahorse::Client::Request.new(handlers, context)
609
706
  end
610
707
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.10.0
4
+ version: 1.15.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-30 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.109.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.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS Outposts (Outposts). This gem is part of
48
48
  the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-outposts.rb
56
59
  - lib/aws-sdk-outposts/client.rb
57
60
  - lib/aws-sdk-outposts/client_api.rb