aws-sdk-outposts 1.11.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +93 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-outposts.rb +2 -2
- data/lib/aws-sdk-outposts/client.rb +104 -3
- data/lib/aws-sdk-outposts/client_api.rb +85 -1
- data/lib/aws-sdk-outposts/errors.rb +27 -1
- data/lib/aws-sdk-outposts/resource.rb +1 -1
- data/lib/aws-sdk-outposts/types.rb +148 -6
- metadata +11 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffe63d41a821cd7582a9c8fc079de326fe17528730da3e93a84446c7aeb0c64e
|
|
4
|
+
data.tar.gz: 628a070f8e22ade0908b84b89c9126771632f68a0bfc835b33ec8c2cf3a558b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bfae6b4287d86c811fa6ec6c5182f6cf71b35b7de0285c228f28176d50251e07ac0eff481e6596f1a33644604e1cd9c2ea92cf13aab7fbccd669c245e886ccf
|
|
7
|
+
data.tar.gz: 7020647dff534c1cbc8a4607d3831c4e9c3184b593f329d70129a2f29137f8f95f48ea9f3761d519e9d28cd24cc33549c8d992538b105f7fe4c599799e5ac589
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Unreleased Changes
|
|
2
|
+
------------------
|
|
3
|
+
|
|
4
|
+
1.16.0 (2021-05-26)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add ConflictException to DeleteOutpost, CreateOutpost
|
|
8
|
+
|
|
9
|
+
1.15.0 (2021-03-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.14.0 (2021-02-02)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.13.0 (2020-12-21)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* 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.
|
|
23
|
+
|
|
24
|
+
1.12.0 (2020-11-23)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Support specifying tags during the creation of the Outpost resource. Tags are now returned in the response body of Outpost APIs.
|
|
28
|
+
|
|
29
|
+
1.11.0 (2020-11-18)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* Feature - Mark the Name parameter in CreateOutpost as required.
|
|
33
|
+
|
|
34
|
+
1.10.0 (2020-09-30)
|
|
35
|
+
------------------
|
|
36
|
+
|
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
38
|
+
|
|
39
|
+
1.9.0 (2020-09-15)
|
|
40
|
+
------------------
|
|
41
|
+
|
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
43
|
+
|
|
44
|
+
1.8.0 (2020-08-25)
|
|
45
|
+
------------------
|
|
46
|
+
|
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
48
|
+
|
|
49
|
+
1.7.0 (2020-06-23)
|
|
50
|
+
------------------
|
|
51
|
+
|
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
53
|
+
|
|
54
|
+
1.6.1 (2020-06-11)
|
|
55
|
+
------------------
|
|
56
|
+
|
|
57
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
|
58
|
+
|
|
59
|
+
1.6.0 (2020-06-10)
|
|
60
|
+
------------------
|
|
61
|
+
|
|
62
|
+
* Issue - This version has been yanked. (#2327).
|
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
64
|
+
|
|
65
|
+
1.5.0 (2020-05-28)
|
|
66
|
+
------------------
|
|
67
|
+
|
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
69
|
+
|
|
70
|
+
1.4.0 (2020-05-07)
|
|
71
|
+
------------------
|
|
72
|
+
|
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
74
|
+
|
|
75
|
+
1.3.0 (2020-03-19)
|
|
76
|
+
------------------
|
|
77
|
+
|
|
78
|
+
* Feature - Documentation updates for AWS Outposts.
|
|
79
|
+
|
|
80
|
+
1.2.0 (2020-03-09)
|
|
81
|
+
------------------
|
|
82
|
+
|
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
84
|
+
|
|
85
|
+
1.1.0 (2020-02-25)
|
|
86
|
+
------------------
|
|
87
|
+
|
|
88
|
+
* Feature - This release adds DeleteSite and DeleteOutpost.
|
|
89
|
+
|
|
90
|
+
1.0.0 (2019-12-03)
|
|
91
|
+
------------------
|
|
92
|
+
|
|
93
|
+
* 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.16.0
|
data/lib/aws-sdk-outposts.rb
CHANGED
|
@@ -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/
|
|
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.
|
|
51
|
+
GEM_VERSION = '1.16.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/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -333,7 +333,7 @@ module Aws::Outposts
|
|
|
333
333
|
# The name of the Outpost.
|
|
334
334
|
#
|
|
335
335
|
# @option params [String] :description
|
|
336
|
-
# The Outpost
|
|
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
|
|
@@ -360,6 +363,9 @@ module Aws::Outposts
|
|
|
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,9 @@ 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
|
|
384
|
+
# resp.outpost.site_arn #=> String
|
|
376
385
|
#
|
|
377
386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost AWS API Documentation
|
|
378
387
|
#
|
|
@@ -453,6 +462,9 @@ module Aws::Outposts
|
|
|
453
462
|
# resp.outpost.life_cycle_status #=> String
|
|
454
463
|
# resp.outpost.availability_zone #=> String
|
|
455
464
|
# resp.outpost.availability_zone_id #=> String
|
|
465
|
+
# resp.outpost.tags #=> Hash
|
|
466
|
+
# resp.outpost.tags["TagKey"] #=> String
|
|
467
|
+
# resp.outpost.site_arn #=> String
|
|
456
468
|
#
|
|
457
469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost AWS API Documentation
|
|
458
470
|
#
|
|
@@ -540,6 +552,9 @@ module Aws::Outposts
|
|
|
540
552
|
# resp.outposts[0].life_cycle_status #=> String
|
|
541
553
|
# resp.outposts[0].availability_zone #=> String
|
|
542
554
|
# resp.outposts[0].availability_zone_id #=> String
|
|
555
|
+
# resp.outposts[0].tags #=> Hash
|
|
556
|
+
# resp.outposts[0].tags["TagKey"] #=> String
|
|
557
|
+
# resp.outposts[0].site_arn #=> String
|
|
543
558
|
# resp.next_token #=> String
|
|
544
559
|
#
|
|
545
560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts AWS API Documentation
|
|
@@ -580,6 +595,9 @@ module Aws::Outposts
|
|
|
580
595
|
# resp.sites[0].account_id #=> String
|
|
581
596
|
# resp.sites[0].name #=> String
|
|
582
597
|
# resp.sites[0].description #=> String
|
|
598
|
+
# resp.sites[0].tags #=> Hash
|
|
599
|
+
# resp.sites[0].tags["TagKey"] #=> String
|
|
600
|
+
# resp.sites[0].site_arn #=> String
|
|
583
601
|
# resp.next_token #=> String
|
|
584
602
|
#
|
|
585
603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites AWS API Documentation
|
|
@@ -591,6 +609,89 @@ module Aws::Outposts
|
|
|
591
609
|
req.send_request(options)
|
|
592
610
|
end
|
|
593
611
|
|
|
612
|
+
# Lists the tags for the specified resource.
|
|
613
|
+
#
|
|
614
|
+
# @option params [required, String] :resource_arn
|
|
615
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
616
|
+
#
|
|
617
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
618
|
+
#
|
|
619
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
|
620
|
+
#
|
|
621
|
+
# @example Request syntax with placeholder values
|
|
622
|
+
#
|
|
623
|
+
# resp = client.list_tags_for_resource({
|
|
624
|
+
# resource_arn: "Arn", # required
|
|
625
|
+
# })
|
|
626
|
+
#
|
|
627
|
+
# @example Response structure
|
|
628
|
+
#
|
|
629
|
+
# resp.tags #=> Hash
|
|
630
|
+
# resp.tags["TagKey"] #=> String
|
|
631
|
+
#
|
|
632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResource AWS API Documentation
|
|
633
|
+
#
|
|
634
|
+
# @overload list_tags_for_resource(params = {})
|
|
635
|
+
# @param [Hash] params ({})
|
|
636
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
637
|
+
req = build_request(:list_tags_for_resource, params)
|
|
638
|
+
req.send_request(options)
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
# Adds tags to the specified resource.
|
|
642
|
+
#
|
|
643
|
+
# @option params [required, String] :resource_arn
|
|
644
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
645
|
+
#
|
|
646
|
+
# @option params [required, Hash<String,String>] :tags
|
|
647
|
+
# The tags to add to the resource.
|
|
648
|
+
#
|
|
649
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
650
|
+
#
|
|
651
|
+
# @example Request syntax with placeholder values
|
|
652
|
+
#
|
|
653
|
+
# resp = client.tag_resource({
|
|
654
|
+
# resource_arn: "Arn", # required
|
|
655
|
+
# tags: { # required
|
|
656
|
+
# "TagKey" => "TagValue",
|
|
657
|
+
# },
|
|
658
|
+
# })
|
|
659
|
+
#
|
|
660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResource AWS API Documentation
|
|
661
|
+
#
|
|
662
|
+
# @overload tag_resource(params = {})
|
|
663
|
+
# @param [Hash] params ({})
|
|
664
|
+
def tag_resource(params = {}, options = {})
|
|
665
|
+
req = build_request(:tag_resource, params)
|
|
666
|
+
req.send_request(options)
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
# Removes tags from the specified resource.
|
|
670
|
+
#
|
|
671
|
+
# @option params [required, String] :resource_arn
|
|
672
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
673
|
+
#
|
|
674
|
+
# @option params [required, Array<String>] :tag_keys
|
|
675
|
+
# The tag keys.
|
|
676
|
+
#
|
|
677
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
678
|
+
#
|
|
679
|
+
# @example Request syntax with placeholder values
|
|
680
|
+
#
|
|
681
|
+
# resp = client.untag_resource({
|
|
682
|
+
# resource_arn: "Arn", # required
|
|
683
|
+
# tag_keys: ["TagKey"], # required
|
|
684
|
+
# })
|
|
685
|
+
#
|
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResource AWS API Documentation
|
|
687
|
+
#
|
|
688
|
+
# @overload untag_resource(params = {})
|
|
689
|
+
# @param [Hash] params ({})
|
|
690
|
+
def untag_resource(params = {}, options = {})
|
|
691
|
+
req = build_request(:untag_resource, params)
|
|
692
|
+
req.send_request(options)
|
|
693
|
+
end
|
|
694
|
+
|
|
594
695
|
# @!endgroup
|
|
595
696
|
|
|
596
697
|
# @param params ({})
|
|
@@ -604,7 +705,7 @@ module Aws::Outposts
|
|
|
604
705
|
params: params,
|
|
605
706
|
config: config)
|
|
606
707
|
context[:gem_name] = 'aws-sdk-outposts'
|
|
607
|
-
context[:gem_version] = '1.
|
|
708
|
+
context[:gem_version] = '1.16.0'
|
|
608
709
|
Seahorse::Client::Request.new(handlers, context)
|
|
609
710
|
end
|
|
610
711
|
|
|
@@ -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/
|
|
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,10 @@ 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
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
20
22
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
|
21
23
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
|
22
24
|
DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
|
|
@@ -37,6 +39,8 @@ module Aws::Outposts
|
|
|
37
39
|
ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
|
|
38
40
|
ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
|
|
39
41
|
ListSitesOutput = Shapes::StructureShape.new(name: 'ListSitesOutput')
|
|
42
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
43
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
40
44
|
MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
|
|
41
45
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
|
42
46
|
Outpost = Shapes::StructureShape.new(name: 'Outpost')
|
|
@@ -45,12 +49,23 @@ module Aws::Outposts
|
|
|
45
49
|
OutpostId = Shapes::StringShape.new(name: 'OutpostId')
|
|
46
50
|
OutpostName = Shapes::StringShape.new(name: 'OutpostName')
|
|
47
51
|
OwnerId = Shapes::StringShape.new(name: 'OwnerId')
|
|
52
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
48
53
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
49
54
|
Site = Shapes::StructureShape.new(name: 'Site')
|
|
55
|
+
SiteArn = Shapes::StringShape.new(name: 'SiteArn')
|
|
50
56
|
SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
|
|
51
57
|
SiteId = Shapes::StringShape.new(name: 'SiteId')
|
|
52
58
|
SiteName = Shapes::StringShape.new(name: 'SiteName')
|
|
59
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
60
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
61
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
62
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
|
63
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
64
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
65
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
53
66
|
Token = Shapes::StringShape.new(name: 'Token')
|
|
67
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
68
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
54
69
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
55
70
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
|
56
71
|
siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
|
|
@@ -58,11 +73,17 @@ module Aws::Outposts
|
|
|
58
73
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
59
74
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
60
75
|
|
|
76
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
77
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
|
78
|
+
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
|
79
|
+
ConflictException.struct_class = Types::ConflictException
|
|
80
|
+
|
|
61
81
|
CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
|
|
62
82
|
CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
|
|
63
83
|
CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
|
|
64
84
|
CreateOutpostInput.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
|
|
65
85
|
CreateOutpostInput.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
|
86
|
+
CreateOutpostInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
66
87
|
CreateOutpostInput.struct_class = Types::CreateOutpostInput
|
|
67
88
|
|
|
68
89
|
CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
|
@@ -119,6 +140,12 @@ module Aws::Outposts
|
|
|
119
140
|
ListSitesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
120
141
|
ListSitesOutput.struct_class = Types::ListSitesOutput
|
|
121
142
|
|
|
143
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
144
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
145
|
+
|
|
146
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
147
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
148
|
+
|
|
122
149
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
123
150
|
NotFoundException.struct_class = Types::NotFoundException
|
|
124
151
|
|
|
@@ -131,6 +158,8 @@ module Aws::Outposts
|
|
|
131
158
|
Outpost.add_member(:life_cycle_status, Shapes::ShapeRef.new(shape: LifeCycleStatus, location_name: "LifeCycleStatus"))
|
|
132
159
|
Outpost.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
|
|
133
160
|
Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
|
161
|
+
Outpost.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
162
|
+
Outpost.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
|
134
163
|
Outpost.struct_class = Types::Outpost
|
|
135
164
|
|
|
136
165
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
@@ -140,8 +169,27 @@ module Aws::Outposts
|
|
|
140
169
|
Site.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
141
170
|
Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
|
|
142
171
|
Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
|
172
|
+
Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
173
|
+
Site.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
|
143
174
|
Site.struct_class = Types::Site
|
|
144
175
|
|
|
176
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
177
|
+
|
|
178
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
179
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
|
180
|
+
|
|
181
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
182
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
|
183
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
184
|
+
|
|
185
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
|
186
|
+
|
|
187
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
188
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
|
189
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
190
|
+
|
|
191
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
|
192
|
+
|
|
145
193
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
146
194
|
ValidationException.struct_class = Types::ValidationException
|
|
147
195
|
|
|
@@ -175,6 +223,7 @@ module Aws::Outposts
|
|
|
175
223
|
o.input = Shapes::ShapeRef.new(shape: CreateOutpostInput)
|
|
176
224
|
o.output = Shapes::ShapeRef.new(shape: CreateOutpostOutput)
|
|
177
225
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
226
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
178
227
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
179
228
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
180
229
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -188,6 +237,7 @@ module Aws::Outposts
|
|
|
188
237
|
o.input = Shapes::ShapeRef.new(shape: DeleteOutpostInput)
|
|
189
238
|
o.output = Shapes::ShapeRef.new(shape: DeleteOutpostOutput)
|
|
190
239
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
240
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
191
241
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
192
242
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
193
243
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -200,6 +250,7 @@ module Aws::Outposts
|
|
|
200
250
|
o.input = Shapes::ShapeRef.new(shape: DeleteSiteInput)
|
|
201
251
|
o.output = Shapes::ShapeRef.new(shape: DeleteSiteOutput)
|
|
202
252
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
253
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
203
254
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
204
255
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
205
256
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -262,6 +313,39 @@ module Aws::Outposts
|
|
|
262
313
|
}
|
|
263
314
|
)
|
|
264
315
|
end)
|
|
316
|
+
|
|
317
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
318
|
+
o.name = "ListTagsForResource"
|
|
319
|
+
o.http_method = "GET"
|
|
320
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
|
321
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
|
322
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
326
|
+
end)
|
|
327
|
+
|
|
328
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
329
|
+
o.name = "TagResource"
|
|
330
|
+
o.http_method = "POST"
|
|
331
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
|
332
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
|
333
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
337
|
+
end)
|
|
338
|
+
|
|
339
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
340
|
+
o.name = "UntagResource"
|
|
341
|
+
o.http_method = "DELETE"
|
|
342
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
|
343
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
|
344
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
348
|
+
end)
|
|
265
349
|
end
|
|
266
350
|
|
|
267
351
|
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/
|
|
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/
|
|
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/
|
|
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
|
#
|
|
@@ -32,6 +55,9 @@ module Aws::Outposts
|
|
|
32
55
|
# site_id: "SiteId", # required
|
|
33
56
|
# availability_zone: "AvailabilityZone",
|
|
34
57
|
# availability_zone_id: "AvailabilityZoneId",
|
|
58
|
+
# tags: {
|
|
59
|
+
# "TagKey" => "TagValue",
|
|
60
|
+
# },
|
|
35
61
|
# }
|
|
36
62
|
#
|
|
37
63
|
# @!attribute [rw] name
|
|
@@ -39,7 +65,7 @@ module Aws::Outposts
|
|
|
39
65
|
# @return [String]
|
|
40
66
|
#
|
|
41
67
|
# @!attribute [rw] description
|
|
42
|
-
# The Outpost
|
|
68
|
+
# The description of the Outpost.
|
|
43
69
|
# @return [String]
|
|
44
70
|
#
|
|
45
71
|
# @!attribute [rw] site_id
|
|
@@ -58,6 +84,10 @@ module Aws::Outposts
|
|
|
58
84
|
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
|
59
85
|
# @return [String]
|
|
60
86
|
#
|
|
87
|
+
# @!attribute [rw] tags
|
|
88
|
+
# The tags to apply to the Outpost.
|
|
89
|
+
# @return [Hash<String,String>]
|
|
90
|
+
#
|
|
61
91
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostInput AWS API Documentation
|
|
62
92
|
#
|
|
63
93
|
class CreateOutpostInput < Struct.new(
|
|
@@ -65,7 +95,8 @@ module Aws::Outposts
|
|
|
65
95
|
:description,
|
|
66
96
|
:site_id,
|
|
67
97
|
:availability_zone,
|
|
68
|
-
:availability_zone_id
|
|
98
|
+
:availability_zone_id,
|
|
99
|
+
:tags)
|
|
69
100
|
SENSITIVE = []
|
|
70
101
|
include Aws::Structure
|
|
71
102
|
end
|
|
@@ -328,6 +359,37 @@ module Aws::Outposts
|
|
|
328
359
|
include Aws::Structure
|
|
329
360
|
end
|
|
330
361
|
|
|
362
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
363
|
+
# data as a hash:
|
|
364
|
+
#
|
|
365
|
+
# {
|
|
366
|
+
# resource_arn: "Arn", # required
|
|
367
|
+
# }
|
|
368
|
+
#
|
|
369
|
+
# @!attribute [rw] resource_arn
|
|
370
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
371
|
+
# @return [String]
|
|
372
|
+
#
|
|
373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResourceRequest AWS API Documentation
|
|
374
|
+
#
|
|
375
|
+
class ListTagsForResourceRequest < Struct.new(
|
|
376
|
+
:resource_arn)
|
|
377
|
+
SENSITIVE = []
|
|
378
|
+
include Aws::Structure
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# @!attribute [rw] tags
|
|
382
|
+
# The resource tags.
|
|
383
|
+
# @return [Hash<String,String>]
|
|
384
|
+
#
|
|
385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResourceResponse AWS API Documentation
|
|
386
|
+
#
|
|
387
|
+
class ListTagsForResourceResponse < Struct.new(
|
|
388
|
+
:tags)
|
|
389
|
+
SENSITIVE = []
|
|
390
|
+
include Aws::Structure
|
|
391
|
+
end
|
|
392
|
+
|
|
331
393
|
# The specified request is not valid.
|
|
332
394
|
#
|
|
333
395
|
# @!attribute [rw] message
|
|
@@ -364,7 +426,7 @@ module Aws::Outposts
|
|
|
364
426
|
# @return [String]
|
|
365
427
|
#
|
|
366
428
|
# @!attribute [rw] description
|
|
367
|
-
# The Outpost
|
|
429
|
+
# The description of the Outpost.
|
|
368
430
|
# @return [String]
|
|
369
431
|
#
|
|
370
432
|
# @!attribute [rw] life_cycle_status
|
|
@@ -383,6 +445,14 @@ module Aws::Outposts
|
|
|
383
445
|
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
|
384
446
|
# @return [String]
|
|
385
447
|
#
|
|
448
|
+
# @!attribute [rw] tags
|
|
449
|
+
# The Outpost tags.
|
|
450
|
+
# @return [Hash<String,String>]
|
|
451
|
+
#
|
|
452
|
+
# @!attribute [rw] site_arn
|
|
453
|
+
# The Amazon Resource Name (ARN) of the site.
|
|
454
|
+
# @return [String]
|
|
455
|
+
#
|
|
386
456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
|
|
387
457
|
#
|
|
388
458
|
class Outpost < Struct.new(
|
|
@@ -394,7 +464,9 @@ module Aws::Outposts
|
|
|
394
464
|
:description,
|
|
395
465
|
:life_cycle_status,
|
|
396
466
|
:availability_zone,
|
|
397
|
-
:availability_zone_id
|
|
467
|
+
:availability_zone_id,
|
|
468
|
+
:tags,
|
|
469
|
+
:site_arn)
|
|
398
470
|
SENSITIVE = []
|
|
399
471
|
include Aws::Structure
|
|
400
472
|
end
|
|
@@ -430,17 +502,87 @@ module Aws::Outposts
|
|
|
430
502
|
# The description of the site.
|
|
431
503
|
# @return [String]
|
|
432
504
|
#
|
|
505
|
+
# @!attribute [rw] tags
|
|
506
|
+
# The site tags.
|
|
507
|
+
# @return [Hash<String,String>]
|
|
508
|
+
#
|
|
509
|
+
# @!attribute [rw] site_arn
|
|
510
|
+
# The Amazon Resource Name (ARN) of the site.
|
|
511
|
+
# @return [String]
|
|
512
|
+
#
|
|
433
513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Site AWS API Documentation
|
|
434
514
|
#
|
|
435
515
|
class Site < Struct.new(
|
|
436
516
|
:site_id,
|
|
437
517
|
:account_id,
|
|
438
518
|
:name,
|
|
439
|
-
:description
|
|
519
|
+
:description,
|
|
520
|
+
:tags,
|
|
521
|
+
:site_arn)
|
|
522
|
+
SENSITIVE = []
|
|
523
|
+
include Aws::Structure
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
# @note When making an API call, you may pass TagResourceRequest
|
|
527
|
+
# data as a hash:
|
|
528
|
+
#
|
|
529
|
+
# {
|
|
530
|
+
# resource_arn: "Arn", # required
|
|
531
|
+
# tags: { # required
|
|
532
|
+
# "TagKey" => "TagValue",
|
|
533
|
+
# },
|
|
534
|
+
# }
|
|
535
|
+
#
|
|
536
|
+
# @!attribute [rw] resource_arn
|
|
537
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
538
|
+
# @return [String]
|
|
539
|
+
#
|
|
540
|
+
# @!attribute [rw] tags
|
|
541
|
+
# The tags to add to the resource.
|
|
542
|
+
# @return [Hash<String,String>]
|
|
543
|
+
#
|
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResourceRequest AWS API Documentation
|
|
545
|
+
#
|
|
546
|
+
class TagResourceRequest < Struct.new(
|
|
547
|
+
:resource_arn,
|
|
548
|
+
:tags)
|
|
440
549
|
SENSITIVE = []
|
|
441
550
|
include Aws::Structure
|
|
442
551
|
end
|
|
443
552
|
|
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResourceResponse AWS API Documentation
|
|
554
|
+
#
|
|
555
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
|
556
|
+
|
|
557
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
|
558
|
+
# data as a hash:
|
|
559
|
+
#
|
|
560
|
+
# {
|
|
561
|
+
# resource_arn: "Arn", # required
|
|
562
|
+
# tag_keys: ["TagKey"], # required
|
|
563
|
+
# }
|
|
564
|
+
#
|
|
565
|
+
# @!attribute [rw] resource_arn
|
|
566
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
567
|
+
# @return [String]
|
|
568
|
+
#
|
|
569
|
+
# @!attribute [rw] tag_keys
|
|
570
|
+
# The tag keys.
|
|
571
|
+
# @return [Array<String>]
|
|
572
|
+
#
|
|
573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResourceRequest AWS API Documentation
|
|
574
|
+
#
|
|
575
|
+
class UntagResourceRequest < Struct.new(
|
|
576
|
+
:resource_arn,
|
|
577
|
+
:tag_keys)
|
|
578
|
+
SENSITIVE = []
|
|
579
|
+
include Aws::Structure
|
|
580
|
+
end
|
|
581
|
+
|
|
582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResourceResponse AWS API Documentation
|
|
583
|
+
#
|
|
584
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
|
585
|
+
|
|
444
586
|
# A parameter is not valid.
|
|
445
587
|
#
|
|
446
588
|
# @!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.
|
|
4
|
+
version: 1.16.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:
|
|
11
|
+
date: 2021-05-26 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.
|
|
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.
|
|
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
|
-
-
|
|
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/
|
|
67
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
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
|
-
|
|
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
|