aws-sdk-outposts 1.12.0 → 1.17.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: 46ad51f6bdef33b0f0d4a20f70708e29f64841cb66134cf075df87b23000f55b
4
- data.tar.gz: 8ca29c0a10fe456e1ca57ed84c7b38a532ba3eb6713d008de480d86da641c97f
3
+ metadata.gz: af5b5d4d437d1fde3844cea1e24d3508d83c18cadda63a512db65c858570edd7
4
+ data.tar.gz: 4a0aa7dbb095558452680b42013a40d053560e660fd67c709168da83d5304090
5
5
  SHA512:
6
- metadata.gz: 4cd039594ab6afdd307adb10c5ef8181bd32f67ad8c7be550e0c41e21767e5f95f2b908fcf06452d193efba1973a22d998ac05bfb5be7ca1e1818fb44f9a6cb9
7
- data.tar.gz: 5156d1c8d0bb1455865bf72637a6c57c3c6ddcef928b49e7f21f105893790c6afd325e05d1e324eb345a0cdffc0c66b857227692cf646140ed263ed3d51c520d
6
+ metadata.gz: 0d4bcf98b8358d47e9df82a2212d536b276c0f527e15e1d5e4f408d5565a8f409f230674b84cec7f455627123945392af6a28b1824e3915183666b15dd0e67f2
7
+ data.tar.gz: b30e4a6d84acc90246f087ab7b93c23ba3b9746a589f694134a467459b89a35bff5d92f4e9671b4bbcbe265e61837f7100b0c45cc1bf60e3df4229d88034289a
data/CHANGELOG.md ADDED
@@ -0,0 +1,98 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.17.0 (2021-07-08)
5
+ ------------------
6
+
7
+ * Feature - Added property filters for listOutposts
8
+
9
+ 1.16.0 (2021-05-26)
10
+ ------------------
11
+
12
+ * Feature - Add ConflictException to DeleteOutpost, CreateOutpost
13
+
14
+ 1.15.0 (2021-03-10)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.14.0 (2021-02-02)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.13.0 (2020-12-21)
25
+ ------------------
26
+
27
+ * 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.
28
+
29
+ 1.12.0 (2020-11-23)
30
+ ------------------
31
+
32
+ * Feature - Support specifying tags during the creation of the Outpost resource. Tags are now returned in the response body of Outpost APIs.
33
+
34
+ 1.11.0 (2020-11-18)
35
+ ------------------
36
+
37
+ * Feature - Mark the Name parameter in CreateOutpost as required.
38
+
39
+ 1.10.0 (2020-09-30)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.9.0 (2020-09-15)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.8.0 (2020-08-25)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.7.0 (2020-06-23)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.6.1 (2020-06-11)
60
+ ------------------
61
+
62
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
63
+
64
+ 1.6.0 (2020-06-10)
65
+ ------------------
66
+
67
+ * Issue - This version has been yanked. (#2327).
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.5.0 (2020-05-28)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.4.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.3.0 (2020-03-19)
81
+ ------------------
82
+
83
+ * Feature - Documentation updates for AWS Outposts.
84
+
85
+ 1.2.0 (2020-03-09)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.1.0 (2020-02-25)
91
+ ------------------
92
+
93
+ * Feature - This release adds DeleteSite and DeleteOutpost.
94
+
95
+ 1.0.0 (2019-12-03)
96
+ ------------------
97
+
98
+ * 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.17.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.12.0'
51
+ GEM_VERSION = '1.17.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,13 @@ module Aws::Outposts
329
329
 
330
330
  # Creates an Outpost.
331
331
  #
332
+ # You can specify `AvailabilityZone` or `AvailabilityZoneId`.
333
+ #
332
334
  # @option params [required, String] :name
333
335
  # The name of the Outpost.
334
336
  #
335
337
  # @option params [String] :description
336
- # The Outpost description.
338
+ # The description of the Outpost.
337
339
  #
338
340
  # @option params [required, String] :site_id
339
341
  # The ID of the site.
@@ -341,13 +343,9 @@ module Aws::Outposts
341
343
  # @option params [String] :availability_zone
342
344
  # The Availability Zone.
343
345
  #
344
- # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
345
- #
346
346
  # @option params [String] :availability_zone_id
347
347
  # The ID of the Availability Zone.
348
348
  #
349
- # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
350
- #
351
349
  # @option params [Hash<String,String>] :tags
352
350
  # The tags to apply to the Outpost.
353
351
  #
@@ -381,6 +379,7 @@ module Aws::Outposts
381
379
  # resp.outpost.availability_zone_id #=> String
382
380
  # resp.outpost.tags #=> Hash
383
381
  # resp.outpost.tags["TagKey"] #=> String
382
+ # resp.outpost.site_arn #=> String
384
383
  #
385
384
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost AWS API Documentation
386
385
  #
@@ -463,6 +462,7 @@ module Aws::Outposts
463
462
  # resp.outpost.availability_zone_id #=> String
464
463
  # resp.outpost.tags #=> Hash
465
464
  # resp.outpost.tags["TagKey"] #=> String
465
+ # resp.outpost.site_arn #=> String
466
466
  #
467
467
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost AWS API Documentation
468
468
  #
@@ -516,7 +516,14 @@ module Aws::Outposts
516
516
  req.send_request(options)
517
517
  end
518
518
 
519
- # List the Outposts for your AWS account.
519
+ # Create a list of the Outposts for your AWS account. Add filters to
520
+ # your request to return a more specific list of results. Use filters to
521
+ # match an Outpost lifecycle status, Availibility Zone (`us-east-1a`),
522
+ # and AZ ID (`use1-az1`).
523
+ #
524
+ # If you specify multiple filters, the filters are joined with an `AND`,
525
+ # and the request returns only results that match all of the specified
526
+ # filters.
520
527
  #
521
528
  # @option params [String] :next_token
522
529
  # The pagination token.
@@ -524,6 +531,27 @@ module Aws::Outposts
524
531
  # @option params [Integer] :max_results
525
532
  # The maximum page size.
526
533
  #
534
+ # @option params [Array<String>] :life_cycle_status_filter
535
+ # A filter for the lifecycle status of the Outpost.
536
+ #
537
+ # Filter values are case sensitive. If you specify multiple values for a
538
+ # filter, the values are joined with an `OR`, and the request returns
539
+ # all results that match any of the specified values.
540
+ #
541
+ # @option params [Array<String>] :availability_zone_filter
542
+ # A filter for the Availibility Zone (`us-east-1a`) of the Outpost.
543
+ #
544
+ # Filter values are case sensitive. If you specify multiple values for a
545
+ # filter, the values are joined with an `OR`, and the request returns
546
+ # all results that match any of the specified values.
547
+ #
548
+ # @option params [Array<String>] :availability_zone_id_filter
549
+ # A filter for the AZ IDs (`use1-az1`) of the Outpost.
550
+ #
551
+ # Filter values are case sensitive. If you specify multiple values for a
552
+ # filter, the values are joined with an `OR`, and the request returns
553
+ # all results that match any of the specified values.
554
+ #
527
555
  # @return [Types::ListOutpostsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
528
556
  #
529
557
  # * {Types::ListOutpostsOutput#outposts #outposts} => Array&lt;Types::Outpost&gt;
@@ -536,6 +564,9 @@ module Aws::Outposts
536
564
  # resp = client.list_outposts({
537
565
  # next_token: "Token",
538
566
  # max_results: 1,
567
+ # life_cycle_status_filter: ["LifeCycleStatus"],
568
+ # availability_zone_filter: ["AvailabilityZone"],
569
+ # availability_zone_id_filter: ["AvailabilityZoneId"],
539
570
  # })
540
571
  #
541
572
  # @example Response structure
@@ -552,6 +583,7 @@ module Aws::Outposts
552
583
  # resp.outposts[0].availability_zone_id #=> String
553
584
  # resp.outposts[0].tags #=> Hash
554
585
  # resp.outposts[0].tags["TagKey"] #=> String
586
+ # resp.outposts[0].site_arn #=> String
555
587
  # resp.next_token #=> String
556
588
  #
557
589
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts AWS API Documentation
@@ -594,6 +626,7 @@ module Aws::Outposts
594
626
  # resp.sites[0].description #=> String
595
627
  # resp.sites[0].tags #=> Hash
596
628
  # resp.sites[0].tags["TagKey"] #=> String
629
+ # resp.sites[0].site_arn #=> String
597
630
  # resp.next_token #=> String
598
631
  #
599
632
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites AWS API Documentation
@@ -605,6 +638,89 @@ module Aws::Outposts
605
638
  req.send_request(options)
606
639
  end
607
640
 
641
+ # Lists the tags for the specified resource.
642
+ #
643
+ # @option params [required, String] :resource_arn
644
+ # The Amazon Resource Name (ARN) of the resource.
645
+ #
646
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
647
+ #
648
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
649
+ #
650
+ # @example Request syntax with placeholder values
651
+ #
652
+ # resp = client.list_tags_for_resource({
653
+ # resource_arn: "Arn", # required
654
+ # })
655
+ #
656
+ # @example Response structure
657
+ #
658
+ # resp.tags #=> Hash
659
+ # resp.tags["TagKey"] #=> String
660
+ #
661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResource AWS API Documentation
662
+ #
663
+ # @overload list_tags_for_resource(params = {})
664
+ # @param [Hash] params ({})
665
+ def list_tags_for_resource(params = {}, options = {})
666
+ req = build_request(:list_tags_for_resource, params)
667
+ req.send_request(options)
668
+ end
669
+
670
+ # Adds tags to the specified resource.
671
+ #
672
+ # @option params [required, String] :resource_arn
673
+ # The Amazon Resource Name (ARN) of the resource.
674
+ #
675
+ # @option params [required, Hash<String,String>] :tags
676
+ # The tags to add to the resource.
677
+ #
678
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
679
+ #
680
+ # @example Request syntax with placeholder values
681
+ #
682
+ # resp = client.tag_resource({
683
+ # resource_arn: "Arn", # required
684
+ # tags: { # required
685
+ # "TagKey" => "TagValue",
686
+ # },
687
+ # })
688
+ #
689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResource AWS API Documentation
690
+ #
691
+ # @overload tag_resource(params = {})
692
+ # @param [Hash] params ({})
693
+ def tag_resource(params = {}, options = {})
694
+ req = build_request(:tag_resource, params)
695
+ req.send_request(options)
696
+ end
697
+
698
+ # Removes tags from the specified resource.
699
+ #
700
+ # @option params [required, String] :resource_arn
701
+ # The Amazon Resource Name (ARN) of the resource.
702
+ #
703
+ # @option params [required, Array<String>] :tag_keys
704
+ # The tag keys.
705
+ #
706
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
707
+ #
708
+ # @example Request syntax with placeholder values
709
+ #
710
+ # resp = client.untag_resource({
711
+ # resource_arn: "Arn", # required
712
+ # tag_keys: ["TagKey"], # required
713
+ # })
714
+ #
715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResource AWS API Documentation
716
+ #
717
+ # @overload untag_resource(params = {})
718
+ # @param [Hash] params ({})
719
+ def untag_resource(params = {}, options = {})
720
+ req = build_request(:untag_resource, params)
721
+ req.send_request(options)
722
+ end
723
+
608
724
  # @!endgroup
609
725
 
610
726
  # @param params ({})
@@ -618,7 +734,7 @@ module Aws::Outposts
618
734
  params: params,
619
735
  config: config)
620
736
  context[:gem_name] = 'aws-sdk-outposts'
621
- context[:gem_version] = '1.12.0'
737
+ context[:gem_version] = '1.17.0'
622
738
  Seahorse::Client::Request.new(handlers, context)
623
739
  end
624
740
 
@@ -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,8 +15,12 @@ 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')
21
+ AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
22
+ AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
23
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
20
24
  CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
21
25
  CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
22
26
  DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
@@ -33,10 +37,13 @@ module Aws::Outposts
33
37
  InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
34
38
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
35
39
  LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
40
+ LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
36
41
  ListOutpostsInput = Shapes::StructureShape.new(name: 'ListOutpostsInput')
37
42
  ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
38
43
  ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
39
44
  ListSitesOutput = Shapes::StructureShape.new(name: 'ListSitesOutput')
45
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
46
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
40
47
  MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
41
48
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
42
49
  Outpost = Shapes::StructureShape.new(name: 'Outpost')
@@ -45,15 +52,23 @@ module Aws::Outposts
45
52
  OutpostId = Shapes::StringShape.new(name: 'OutpostId')
46
53
  OutpostName = Shapes::StringShape.new(name: 'OutpostName')
47
54
  OwnerId = Shapes::StringShape.new(name: 'OwnerId')
55
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
48
56
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
49
57
  Site = Shapes::StructureShape.new(name: 'Site')
58
+ SiteArn = Shapes::StringShape.new(name: 'SiteArn')
50
59
  SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
51
60
  SiteId = Shapes::StringShape.new(name: 'SiteId')
52
61
  SiteName = Shapes::StringShape.new(name: 'SiteName')
62
+ String = Shapes::StringShape.new(name: 'String')
53
63
  TagKey = Shapes::StringShape.new(name: 'TagKey')
64
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
54
65
  TagMap = Shapes::MapShape.new(name: 'TagMap')
66
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
67
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
55
68
  TagValue = Shapes::StringShape.new(name: 'TagValue')
56
69
  Token = Shapes::StringShape.new(name: 'Token')
70
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
71
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
57
72
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
58
73
  outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
59
74
  siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
@@ -61,6 +76,15 @@ module Aws::Outposts
61
76
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
62
77
  AccessDeniedException.struct_class = Types::AccessDeniedException
63
78
 
79
+ AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
80
+
81
+ AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
82
+
83
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
84
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
85
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
86
+ ConflictException.struct_class = Types::ConflictException
87
+
64
88
  CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
65
89
  CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
66
90
  CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
@@ -107,8 +131,13 @@ module Aws::Outposts
107
131
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
108
132
  InternalServerException.struct_class = Types::InternalServerException
109
133
 
134
+ LifeCycleStatusList.member = Shapes::ShapeRef.new(shape: LifeCycleStatus)
135
+
110
136
  ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
111
137
  ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
138
+ ListOutpostsInput.add_member(:life_cycle_status_filter, Shapes::ShapeRef.new(shape: LifeCycleStatusList, location: "querystring", location_name: "LifeCycleStatusFilter"))
139
+ ListOutpostsInput.add_member(:availability_zone_filter, Shapes::ShapeRef.new(shape: AvailabilityZoneList, location: "querystring", location_name: "AvailabilityZoneFilter"))
140
+ ListOutpostsInput.add_member(:availability_zone_id_filter, Shapes::ShapeRef.new(shape: AvailabilityZoneIdList, location: "querystring", location_name: "AvailabilityZoneIdFilter"))
112
141
  ListOutpostsInput.struct_class = Types::ListOutpostsInput
113
142
 
114
143
  ListOutpostsOutput.add_member(:outposts, Shapes::ShapeRef.new(shape: outpostListDefinition, location_name: "Outposts"))
@@ -123,6 +152,12 @@ module Aws::Outposts
123
152
  ListSitesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
124
153
  ListSitesOutput.struct_class = Types::ListSitesOutput
125
154
 
155
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
156
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
157
+
158
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
159
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
160
+
126
161
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
127
162
  NotFoundException.struct_class = Types::NotFoundException
128
163
 
@@ -136,6 +171,7 @@ module Aws::Outposts
136
171
  Outpost.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
137
172
  Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
138
173
  Outpost.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
174
+ Outpost.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
139
175
  Outpost.struct_class = Types::Outpost
140
176
 
141
177
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -146,11 +182,26 @@ module Aws::Outposts
146
182
  Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
147
183
  Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
148
184
  Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
185
+ Site.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
149
186
  Site.struct_class = Types::Site
150
187
 
188
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
189
+
151
190
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
152
191
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
153
192
 
193
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
194
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
195
+ TagResourceRequest.struct_class = Types::TagResourceRequest
196
+
197
+ TagResourceResponse.struct_class = Types::TagResourceResponse
198
+
199
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
200
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
201
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
202
+
203
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
204
+
154
205
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
155
206
  ValidationException.struct_class = Types::ValidationException
156
207
 
@@ -184,6 +235,7 @@ module Aws::Outposts
184
235
  o.input = Shapes::ShapeRef.new(shape: CreateOutpostInput)
185
236
  o.output = Shapes::ShapeRef.new(shape: CreateOutpostOutput)
186
237
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
238
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
187
239
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
188
240
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
189
241
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
@@ -197,6 +249,7 @@ module Aws::Outposts
197
249
  o.input = Shapes::ShapeRef.new(shape: DeleteOutpostInput)
198
250
  o.output = Shapes::ShapeRef.new(shape: DeleteOutpostOutput)
199
251
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
252
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
200
253
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
201
254
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
202
255
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
@@ -209,6 +262,7 @@ module Aws::Outposts
209
262
  o.input = Shapes::ShapeRef.new(shape: DeleteSiteInput)
210
263
  o.output = Shapes::ShapeRef.new(shape: DeleteSiteOutput)
211
264
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
265
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
212
266
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
213
267
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
214
268
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
@@ -271,6 +325,39 @@ module Aws::Outposts
271
325
  }
272
326
  )
273
327
  end)
328
+
329
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
330
+ o.name = "ListTagsForResource"
331
+ o.http_method = "GET"
332
+ o.http_request_uri = "/tags/{ResourceArn}"
333
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
334
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
335
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
336
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
337
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
338
+ end)
339
+
340
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
341
+ o.name = "TagResource"
342
+ o.http_method = "POST"
343
+ o.http_request_uri = "/tags/{ResourceArn}"
344
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
345
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
346
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
348
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
349
+ end)
350
+
351
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
352
+ o.name = "UntagResource"
353
+ o.http_method = "DELETE"
354
+ o.http_request_uri = "/tags/{ResourceArn}"
355
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
356
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
357
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
358
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
359
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
360
+ end)
274
361
  end
275
362
 
276
363
  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
 
@@ -28,6 +28,7 @@ module Aws::Outposts
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConflictException}
31
32
  # * {InternalServerException}
32
33
  # * {NotFoundException}
33
34
  # * {ServiceQuotaExceededException}
@@ -54,6 +55,31 @@ module Aws::Outposts
54
55
  end
55
56
  end
56
57
 
58
+ class ConflictException < ServiceError
59
+
60
+ # @param [Seahorse::Client::RequestContext] context
61
+ # @param [String] message
62
+ # @param [Aws::Outposts::Types::ConflictException] data
63
+ def initialize(context, message, data = Aws::EmptyStructure.new)
64
+ super(context, message, data)
65
+ end
66
+
67
+ # @return [String]
68
+ def message
69
+ @message || @data[:message]
70
+ end
71
+
72
+ # @return [String]
73
+ def resource_id
74
+ @data[:resource_id]
75
+ end
76
+
77
+ # @return [String]
78
+ def resource_type
79
+ @data[:resource_type]
80
+ end
81
+ end
82
+
57
83
  class InternalServerException < ServiceError
58
84
 
59
85
  # @param [Seahorse::Client::RequestContext] context
@@ -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
 
@@ -23,6 +23,29 @@ module Aws::Outposts
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # Updating or deleting this resource can cause an inconsistent state.
27
+ #
28
+ # @!attribute [rw] message
29
+ # @return [String]
30
+ #
31
+ # @!attribute [rw] resource_id
32
+ # The ID of the resource causing the conflict.
33
+ # @return [String]
34
+ #
35
+ # @!attribute [rw] resource_type
36
+ # The type of the resource causing the conflict.
37
+ # @return [String]
38
+ #
39
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ConflictException AWS API Documentation
40
+ #
41
+ class ConflictException < Struct.new(
42
+ :message,
43
+ :resource_id,
44
+ :resource_type)
45
+ SENSITIVE = []
46
+ include Aws::Structure
47
+ end
48
+
26
49
  # @note When making an API call, you may pass CreateOutpostInput
27
50
  # data as a hash:
28
51
  #
@@ -42,7 +65,7 @@ module Aws::Outposts
42
65
  # @return [String]
43
66
  #
44
67
  # @!attribute [rw] description
45
- # The Outpost description.
68
+ # The description of the Outpost.
46
69
  # @return [String]
47
70
  #
48
71
  # @!attribute [rw] site_id
@@ -51,14 +74,10 @@ module Aws::Outposts
51
74
  #
52
75
  # @!attribute [rw] availability_zone
53
76
  # The Availability Zone.
54
- #
55
- # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
56
77
  # @return [String]
57
78
  #
58
79
  # @!attribute [rw] availability_zone_id
59
80
  # The ID of the Availability Zone.
60
- #
61
- # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
62
81
  # @return [String]
63
82
  #
64
83
  # @!attribute [rw] tags
@@ -258,6 +277,9 @@ module Aws::Outposts
258
277
  # {
259
278
  # next_token: "Token",
260
279
  # max_results: 1,
280
+ # life_cycle_status_filter: ["LifeCycleStatus"],
281
+ # availability_zone_filter: ["AvailabilityZone"],
282
+ # availability_zone_id_filter: ["AvailabilityZoneId"],
261
283
  # }
262
284
  #
263
285
  # @!attribute [rw] next_token
@@ -268,11 +290,38 @@ module Aws::Outposts
268
290
  # The maximum page size.
269
291
  # @return [Integer]
270
292
  #
293
+ # @!attribute [rw] life_cycle_status_filter
294
+ # A filter for the lifecycle status of the Outpost.
295
+ #
296
+ # Filter values are case sensitive. If you specify multiple values for
297
+ # a filter, the values are joined with an `OR`, and the request
298
+ # returns all results that match any of the specified values.
299
+ # @return [Array<String>]
300
+ #
301
+ # @!attribute [rw] availability_zone_filter
302
+ # A filter for the Availibility Zone (`us-east-1a`) of the Outpost.
303
+ #
304
+ # Filter values are case sensitive. If you specify multiple values for
305
+ # a filter, the values are joined with an `OR`, and the request
306
+ # returns all results that match any of the specified values.
307
+ # @return [Array<String>]
308
+ #
309
+ # @!attribute [rw] availability_zone_id_filter
310
+ # A filter for the AZ IDs (`use1-az1`) of the Outpost.
311
+ #
312
+ # Filter values are case sensitive. If you specify multiple values for
313
+ # a filter, the values are joined with an `OR`, and the request
314
+ # returns all results that match any of the specified values.
315
+ # @return [Array<String>]
316
+ #
271
317
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutpostsInput AWS API Documentation
272
318
  #
273
319
  class ListOutpostsInput < Struct.new(
274
320
  :next_token,
275
- :max_results)
321
+ :max_results,
322
+ :life_cycle_status_filter,
323
+ :availability_zone_filter,
324
+ :availability_zone_id_filter)
276
325
  SENSITIVE = []
277
326
  include Aws::Structure
278
327
  end
@@ -336,6 +385,37 @@ module Aws::Outposts
336
385
  include Aws::Structure
337
386
  end
338
387
 
388
+ # @note When making an API call, you may pass ListTagsForResourceRequest
389
+ # data as a hash:
390
+ #
391
+ # {
392
+ # resource_arn: "Arn", # required
393
+ # }
394
+ #
395
+ # @!attribute [rw] resource_arn
396
+ # The Amazon Resource Name (ARN) of the resource.
397
+ # @return [String]
398
+ #
399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResourceRequest AWS API Documentation
400
+ #
401
+ class ListTagsForResourceRequest < Struct.new(
402
+ :resource_arn)
403
+ SENSITIVE = []
404
+ include Aws::Structure
405
+ end
406
+
407
+ # @!attribute [rw] tags
408
+ # The resource tags.
409
+ # @return [Hash<String,String>]
410
+ #
411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResourceResponse AWS API Documentation
412
+ #
413
+ class ListTagsForResourceResponse < Struct.new(
414
+ :tags)
415
+ SENSITIVE = []
416
+ include Aws::Structure
417
+ end
418
+
339
419
  # The specified request is not valid.
340
420
  #
341
421
  # @!attribute [rw] message
@@ -372,7 +452,7 @@ module Aws::Outposts
372
452
  # @return [String]
373
453
  #
374
454
  # @!attribute [rw] description
375
- # The Outpost description.
455
+ # The description of the Outpost.
376
456
  # @return [String]
377
457
  #
378
458
  # @!attribute [rw] life_cycle_status
@@ -381,20 +461,20 @@ module Aws::Outposts
381
461
  #
382
462
  # @!attribute [rw] availability_zone
383
463
  # The Availability Zone.
384
- #
385
- # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
386
464
  # @return [String]
387
465
  #
388
466
  # @!attribute [rw] availability_zone_id
389
467
  # The ID of the Availability Zone.
390
- #
391
- # You must specify `AvailabilityZone` or `AvailabilityZoneId`.
392
468
  # @return [String]
393
469
  #
394
470
  # @!attribute [rw] tags
395
471
  # The Outpost tags.
396
472
  # @return [Hash<String,String>]
397
473
  #
474
+ # @!attribute [rw] site_arn
475
+ # The Amazon Resource Name (ARN) of the site.
476
+ # @return [String]
477
+ #
398
478
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
399
479
  #
400
480
  class Outpost < Struct.new(
@@ -407,7 +487,8 @@ module Aws::Outposts
407
487
  :life_cycle_status,
408
488
  :availability_zone,
409
489
  :availability_zone_id,
410
- :tags)
490
+ :tags,
491
+ :site_arn)
411
492
  SENSITIVE = []
412
493
  include Aws::Structure
413
494
  end
@@ -447,6 +528,10 @@ module Aws::Outposts
447
528
  # The site tags.
448
529
  # @return [Hash<String,String>]
449
530
  #
531
+ # @!attribute [rw] site_arn
532
+ # The Amazon Resource Name (ARN) of the site.
533
+ # @return [String]
534
+ #
450
535
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Site AWS API Documentation
451
536
  #
452
537
  class Site < Struct.new(
@@ -454,11 +539,72 @@ module Aws::Outposts
454
539
  :account_id,
455
540
  :name,
456
541
  :description,
542
+ :tags,
543
+ :site_arn)
544
+ SENSITIVE = []
545
+ include Aws::Structure
546
+ end
547
+
548
+ # @note When making an API call, you may pass TagResourceRequest
549
+ # data as a hash:
550
+ #
551
+ # {
552
+ # resource_arn: "Arn", # required
553
+ # tags: { # required
554
+ # "TagKey" => "TagValue",
555
+ # },
556
+ # }
557
+ #
558
+ # @!attribute [rw] resource_arn
559
+ # The Amazon Resource Name (ARN) of the resource.
560
+ # @return [String]
561
+ #
562
+ # @!attribute [rw] tags
563
+ # The tags to add to the resource.
564
+ # @return [Hash<String,String>]
565
+ #
566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResourceRequest AWS API Documentation
567
+ #
568
+ class TagResourceRequest < Struct.new(
569
+ :resource_arn,
457
570
  :tags)
458
571
  SENSITIVE = []
459
572
  include Aws::Structure
460
573
  end
461
574
 
575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResourceResponse AWS API Documentation
576
+ #
577
+ class TagResourceResponse < Aws::EmptyStructure; end
578
+
579
+ # @note When making an API call, you may pass UntagResourceRequest
580
+ # data as a hash:
581
+ #
582
+ # {
583
+ # resource_arn: "Arn", # required
584
+ # tag_keys: ["TagKey"], # required
585
+ # }
586
+ #
587
+ # @!attribute [rw] resource_arn
588
+ # The Amazon Resource Name (ARN) of the resource.
589
+ # @return [String]
590
+ #
591
+ # @!attribute [rw] tag_keys
592
+ # The tag keys.
593
+ # @return [Array<String>]
594
+ #
595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResourceRequest AWS API Documentation
596
+ #
597
+ class UntagResourceRequest < Struct.new(
598
+ :resource_arn,
599
+ :tag_keys)
600
+ SENSITIVE = []
601
+ include Aws::Structure
602
+ end
603
+
604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResourceResponse AWS API Documentation
605
+ #
606
+ class UntagResourceResponse < Aws::EmptyStructure; end
607
+
462
608
  # A parameter is not valid.
463
609
  #
464
610
  # @!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.12.0
4
+ version: 1.17.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-11-23 00:00:00.000000000 Z
11
+ date: 2021-07-08 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
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-outposts
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-outposts/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-outposts
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-outposts/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - Outposts