aws-sdk-resourcegroups 1.31.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +198 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-resourcegroups.rb +2 -2
- data/lib/aws-sdk-resourcegroups/client.rb +252 -20
- data/lib/aws-sdk-resourcegroups/client_api.rb +47 -2
- data/lib/aws-sdk-resourcegroups/errors.rb +1 -1
- data/lib/aws-sdk-resourcegroups/resource.rb +1 -1
- data/lib/aws-sdk-resourcegroups/types.rb +255 -84
- 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: 35d532aaa8bd646c9872f248bcd31dfccd04aaa8f7a250c1a71575b516b3dc35
|
4
|
+
data.tar.gz: 78c4df1dbc037a07eb9b39fcd9393d6f848aa20c184489bd5d0b44554f57cf41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93a7e124eb10ee3a483ba3e416489762b69d98727da0d92faa99110e920bd6ff77945c081aae2a9a620df33728b6bfd9cabce00ff0f95c8fb70448c2e8c6f2ae
|
7
|
+
data.tar.gz: 515a7c7ce64e2ad4aac513e3b032dc64df9d1a089ad77ae598152f4c63f13e01102f04590a4985a6d9b938572aa18d1bd61ac956a6c28e5fe682770ed8862cb1
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.36.0 (2021-05-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Resource Groups.
|
8
|
+
|
9
|
+
1.35.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.34.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.33.0 (2020-12-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Add operation `PutGroupConfiguration`. Support dedicated hosts and add `Pending` in operations `Un/GroupResources`. Add `Resources` in `ListGroupResources` and deprecate `ResourceIdentifiers`.
|
23
|
+
|
24
|
+
1.32.0 (2020-09-30)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.31.0 (2020-09-21)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Documentation updates and corrections for Resource Groups API Reference and SDKs.
|
33
|
+
|
34
|
+
1.30.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.29.0 (2020-08-25)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.28.0 (2020-07-30)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Improved documentation for Resource Groups API operations.
|
48
|
+
|
49
|
+
1.27.0 (2020-07-29)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Resource Groups released a new feature that enables you to create a group with an associated configuration that specifies how other AWS services interact with the group. There are two new operations `GroupResources` and `UngroupResources` to work on a group with a configuration. In this release, you can associate EC2 Capacity Reservations with a resource group. Resource Groups also added a new request parameter `Group` to replace `GroupName` for all existing operations.
|
53
|
+
|
54
|
+
1.26.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.25.1 (2020-06-11)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
63
|
+
|
64
|
+
1.25.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.24.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.23.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.22.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.21.0 (2019-10-23)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.20.0 (2019-07-25)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.19.0 (2019-07-01)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.18.0 (2019-06-17)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.17.0 (2019-05-21)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - API update.
|
109
|
+
|
110
|
+
1.16.0 (2019-05-15)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.15.0 (2019-05-14)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.14.0 (2019-04-19)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.13.0 (2019-03-21)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.12.0 (2019-03-18)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.11.0 (2019-03-14)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.10.0 (2019-02-26)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.9.0 (2018-11-20)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.8.1 (2018-11-16)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
154
|
+
|
155
|
+
1.8.0 (2018-11-14)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.7.0 (2018-10-24)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.6.0 (2018-10-23)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.5.0 (2018-10-16)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.4.0 (2018-09-06)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
179
|
+
|
180
|
+
1.3.0 (2018-09-05)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.2.0 (2018-08-02)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - API update.
|
189
|
+
|
190
|
+
1.1.0 (2018-06-26)
|
191
|
+
------------------
|
192
|
+
|
193
|
+
* Feature - API update.
|
194
|
+
|
195
|
+
1.0.0 (2017-11-30)
|
196
|
+
------------------
|
197
|
+
|
198
|
+
* Feature - Initial release of `aws-sdk-resourcegroups`.
|
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.36.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/
|
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-resourcegroups/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::ResourceGroups
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.36.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
|
|
@@ -329,6 +329,23 @@ module Aws::ResourceGroups
|
|
329
329
|
|
330
330
|
# Creates a resource group with the specified name and description. You
|
331
331
|
# can optionally include a resource query, or a service configuration.
|
332
|
+
# For more information about constructing a resource query, see [Create
|
333
|
+
# a tag-based group in Resource Groups][1]. For more information about
|
334
|
+
# service configurations, see [Service configurations for resource
|
335
|
+
# groups][2].
|
336
|
+
#
|
337
|
+
# **Minimum permissions**
|
338
|
+
#
|
339
|
+
# To run this command, you must have the following permissions:
|
340
|
+
#
|
341
|
+
# * `resource-groups:CreateGroup`
|
342
|
+
#
|
343
|
+
# ^
|
344
|
+
#
|
345
|
+
#
|
346
|
+
#
|
347
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag
|
348
|
+
# [2]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html
|
332
349
|
#
|
333
350
|
# @option params [required, String] :name
|
334
351
|
# The name of the group, which is the identifier of the group in other
|
@@ -344,13 +361,18 @@ module Aws::ResourceGroups
|
|
344
361
|
#
|
345
362
|
# @option params [Types::ResourceQuery] :resource_query
|
346
363
|
# The resource query that determines which AWS resources are members of
|
347
|
-
# this group.
|
364
|
+
# this group. For more information about resource queries, see [Create a
|
365
|
+
# tag-based group in Resource Groups][1].
|
348
366
|
#
|
349
|
-
# <note markdown="1">
|
350
|
-
# both.
|
367
|
+
# <note markdown="1"> A resource group can contain either a `ResourceQuery` or a
|
368
|
+
# `Configuration`, but not both.
|
351
369
|
#
|
352
370
|
# </note>
|
353
371
|
#
|
372
|
+
#
|
373
|
+
#
|
374
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag
|
375
|
+
#
|
354
376
|
# @option params [Hash<String,String>] :tags
|
355
377
|
# The tags to add to the group. A tag is key-value pair string.
|
356
378
|
#
|
@@ -358,12 +380,18 @@ module Aws::ResourceGroups
|
|
358
380
|
# A configuration associates the resource group with an AWS service and
|
359
381
|
# specifies how the service can interact with the resources in the
|
360
382
|
# group. A configuration is an array of GroupConfigurationItem elements.
|
383
|
+
# For details about the syntax of service configurations, see [Service
|
384
|
+
# configurations for resource groups][1].
|
361
385
|
#
|
362
|
-
# <note markdown="1">
|
363
|
-
#
|
386
|
+
# <note markdown="1"> A resource group can contain either a `Configuration` or a
|
387
|
+
# `ResourceQuery`, but not both.
|
364
388
|
#
|
365
389
|
# </note>
|
366
390
|
#
|
391
|
+
#
|
392
|
+
#
|
393
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html
|
394
|
+
#
|
367
395
|
# @return [Types::CreateGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
368
396
|
#
|
369
397
|
# * {Types::CreateGroupOutput#group #group} => Types::Group
|
@@ -433,8 +461,16 @@ module Aws::ResourceGroups
|
|
433
461
|
# not delete any resources that are members of the group; it only
|
434
462
|
# deletes the group structure.
|
435
463
|
#
|
464
|
+
# **Minimum permissions**
|
465
|
+
#
|
466
|
+
# To run this command, you must have the following permissions:
|
467
|
+
#
|
468
|
+
# * `resource-groups:DeleteGroup`
|
469
|
+
#
|
470
|
+
# ^
|
471
|
+
#
|
436
472
|
# @option params [String] :group_name
|
437
|
-
#
|
473
|
+
# Deprecated - don't use this parameter. Use `Group` instead.
|
438
474
|
#
|
439
475
|
# @option params [String] :group
|
440
476
|
# The name or the ARN of the resource group to delete.
|
@@ -467,8 +503,16 @@ module Aws::ResourceGroups
|
|
467
503
|
|
468
504
|
# Returns information about a specified resource group.
|
469
505
|
#
|
506
|
+
# **Minimum permissions**
|
507
|
+
#
|
508
|
+
# To run this command, you must have the following permissions:
|
509
|
+
#
|
510
|
+
# * `resource-groups:GetGroup`
|
511
|
+
#
|
512
|
+
# ^
|
513
|
+
#
|
470
514
|
# @option params [String] :group_name
|
471
|
-
#
|
515
|
+
# Deprecated - don't use this parameter. Use `Group` instead.
|
472
516
|
#
|
473
517
|
# @option params [String] :group
|
474
518
|
# The name or the ARN of the resource group to retrieve.
|
@@ -500,18 +544,20 @@ module Aws::ResourceGroups
|
|
500
544
|
end
|
501
545
|
|
502
546
|
# Returns the service configuration associated with the specified
|
503
|
-
# resource group.
|
504
|
-
#
|
547
|
+
# resource group. For details about the service configuration syntax,
|
548
|
+
# see [Service configurations for resource groups][1].
|
505
549
|
#
|
506
|
-
#
|
507
|
-
#
|
508
|
-
#
|
550
|
+
# **Minimum permissions**
|
551
|
+
#
|
552
|
+
# To run this command, you must have the following permissions:
|
553
|
+
#
|
554
|
+
# * `resource-groups:GetGroupConfiguration`
|
509
555
|
#
|
510
556
|
# ^
|
511
557
|
#
|
512
558
|
#
|
513
559
|
#
|
514
|
-
# [1]: https://docs.aws.amazon.com/
|
560
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html
|
515
561
|
#
|
516
562
|
# @option params [String] :group
|
517
563
|
# The name or the ARN of the resource group.
|
@@ -553,7 +599,20 @@ module Aws::ResourceGroups
|
|
553
599
|
end
|
554
600
|
|
555
601
|
# Retrieves the resource query associated with the specified resource
|
556
|
-
# group.
|
602
|
+
# group. For more information about resource queries, see [Create a
|
603
|
+
# tag-based group in Resource Groups][1].
|
604
|
+
#
|
605
|
+
# **Minimum permissions**
|
606
|
+
#
|
607
|
+
# To run this command, you must have the following permissions:
|
608
|
+
#
|
609
|
+
# * `resource-groups:GetGroupQuery`
|
610
|
+
#
|
611
|
+
# ^
|
612
|
+
#
|
613
|
+
#
|
614
|
+
#
|
615
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag
|
557
616
|
#
|
558
617
|
# @option params [String] :group_name
|
559
618
|
# Don't use this parameter. Use `Group` instead.
|
@@ -590,6 +649,14 @@ module Aws::ResourceGroups
|
|
590
649
|
# Returns a list of tags that are associated with a resource group,
|
591
650
|
# specified by an ARN.
|
592
651
|
#
|
652
|
+
# **Minimum permissions**
|
653
|
+
#
|
654
|
+
# To run this command, you must have the following permissions:
|
655
|
+
#
|
656
|
+
# * `resource-groups:GetTags`
|
657
|
+
#
|
658
|
+
# ^
|
659
|
+
#
|
593
660
|
# @option params [required, String] :arn
|
594
661
|
# The ARN of the resource group whose tags you want to retrieve.
|
595
662
|
#
|
@@ -621,6 +688,14 @@ module Aws::ResourceGroups
|
|
621
688
|
|
622
689
|
# Adds the specified resources to the specified group.
|
623
690
|
#
|
691
|
+
# **Minimum permissions**
|
692
|
+
#
|
693
|
+
# To run this command, you must have the following permissions:
|
694
|
+
#
|
695
|
+
# * `resource-groups:GroupResources`
|
696
|
+
#
|
697
|
+
# ^
|
698
|
+
#
|
624
699
|
# @option params [required, String] :group
|
625
700
|
# The name or the ARN of the resource group to add resources to.
|
626
701
|
#
|
@@ -631,6 +706,7 @@ module Aws::ResourceGroups
|
|
631
706
|
#
|
632
707
|
# * {Types::GroupResourcesOutput#succeeded #succeeded} => Array<String>
|
633
708
|
# * {Types::GroupResourcesOutput#failed #failed} => Array<Types::FailedResource>
|
709
|
+
# * {Types::GroupResourcesOutput#pending #pending} => Array<Types::PendingResource>
|
634
710
|
#
|
635
711
|
# @example Request syntax with placeholder values
|
636
712
|
#
|
@@ -647,6 +723,8 @@ module Aws::ResourceGroups
|
|
647
723
|
# resp.failed[0].resource_arn #=> String
|
648
724
|
# resp.failed[0].error_message #=> String
|
649
725
|
# resp.failed[0].error_code #=> String
|
726
|
+
# resp.pending #=> Array
|
727
|
+
# resp.pending[0].resource_arn #=> String
|
650
728
|
#
|
651
729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GroupResources AWS API Documentation
|
652
730
|
#
|
@@ -660,8 +738,21 @@ module Aws::ResourceGroups
|
|
660
738
|
# Returns a list of ARNs of the resources that are members of a
|
661
739
|
# specified resource group.
|
662
740
|
#
|
741
|
+
# **Minimum permissions**
|
742
|
+
#
|
743
|
+
# To run this command, you must have the following permissions:
|
744
|
+
#
|
745
|
+
# * `resource-groups:ListGroupResources`
|
746
|
+
#
|
747
|
+
# * `cloudformation:DescribeStacks`
|
748
|
+
#
|
749
|
+
# * `cloudformation:ListStackResources`
|
750
|
+
#
|
751
|
+
# * `tag:GetResources`
|
752
|
+
#
|
663
753
|
# @option params [String] :group_name
|
664
|
-
#
|
754
|
+
# <i> <b>Deprecated - don't use this parameter. Use the
|
755
|
+
# <code>Group</code> request field instead.</b> </i>
|
665
756
|
#
|
666
757
|
# @option params [String] :group
|
667
758
|
# The name or the ARN of the resource group
|
@@ -717,6 +808,7 @@ module Aws::ResourceGroups
|
|
717
808
|
#
|
718
809
|
# @return [Types::ListGroupResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
719
810
|
#
|
811
|
+
# * {Types::ListGroupResourcesOutput#resources #resources} => Array<Types::ListGroupResourcesItem>
|
720
812
|
# * {Types::ListGroupResourcesOutput#resource_identifiers #resource_identifiers} => Array<Types::ResourceIdentifier>
|
721
813
|
# * {Types::ListGroupResourcesOutput#next_token #next_token} => String
|
722
814
|
# * {Types::ListGroupResourcesOutput#query_errors #query_errors} => Array<Types::QueryError>
|
@@ -740,6 +832,10 @@ module Aws::ResourceGroups
|
|
740
832
|
#
|
741
833
|
# @example Response structure
|
742
834
|
#
|
835
|
+
# resp.resources #=> Array
|
836
|
+
# resp.resources[0].identifier.resource_arn #=> String
|
837
|
+
# resp.resources[0].identifier.resource_type #=> String
|
838
|
+
# resp.resources[0].status.name #=> String, one of "PENDING"
|
743
839
|
# resp.resource_identifiers #=> Array
|
744
840
|
# resp.resource_identifiers[0].resource_arn #=> String
|
745
841
|
# resp.resource_identifiers[0].resource_type #=> String
|
@@ -759,6 +855,14 @@ module Aws::ResourceGroups
|
|
759
855
|
|
760
856
|
# Returns a list of existing resource groups in your account.
|
761
857
|
#
|
858
|
+
# **Minimum permissions**
|
859
|
+
#
|
860
|
+
# To run this command, you must have the following permissions:
|
861
|
+
#
|
862
|
+
# * `resource-groups:ListGroups`
|
863
|
+
#
|
864
|
+
# ^
|
865
|
+
#
|
762
866
|
# @option params [Array<Types::GroupFilter>] :filters
|
763
867
|
# Filters, formatted as GroupFilter objects, that you want to apply to a
|
764
868
|
# `ListGroups` operation.
|
@@ -772,9 +876,9 @@ module Aws::ResourceGroups
|
|
772
876
|
# groups that have the specified configuration types attached. The
|
773
877
|
# current supported values are:
|
774
878
|
#
|
775
|
-
# * AWS:EC2::CapacityReservationPool
|
879
|
+
# * `AWS:EC2::CapacityReservationPool`
|
776
880
|
#
|
777
|
-
#
|
881
|
+
# * `AWS:EC2::HostManagement`
|
778
882
|
#
|
779
883
|
# @option params [Integer] :max_results
|
780
884
|
# The total number of results that you want included on each page of the
|
@@ -836,10 +940,84 @@ module Aws::ResourceGroups
|
|
836
940
|
req.send_request(options)
|
837
941
|
end
|
838
942
|
|
943
|
+
# Attaches a service configuration to the specified group. This occurs
|
944
|
+
# asynchronously, and can take time to complete. You can use
|
945
|
+
# GetGroupConfiguration to check the status of the update.
|
946
|
+
#
|
947
|
+
# **Minimum permissions**
|
948
|
+
#
|
949
|
+
# To run this command, you must have the following permissions:
|
950
|
+
#
|
951
|
+
# * `resource-groups:PutGroupConfiguration`
|
952
|
+
#
|
953
|
+
# ^
|
954
|
+
#
|
955
|
+
# @option params [String] :group
|
956
|
+
# The name or ARN of the resource group with the configuration that you
|
957
|
+
# want to update.
|
958
|
+
#
|
959
|
+
# @option params [Array<Types::GroupConfigurationItem>] :configuration
|
960
|
+
# The new configuration to associate with the specified group. A
|
961
|
+
# configuration associates the resource group with an AWS service and
|
962
|
+
# specifies how the service can interact with the resources in the
|
963
|
+
# group. A configuration is an array of GroupConfigurationItem elements.
|
964
|
+
#
|
965
|
+
# For information about the syntax of a service configuration, see
|
966
|
+
# [Service configurations for resource groups][1].
|
967
|
+
#
|
968
|
+
# <note markdown="1"> A resource group can contain either a `Configuration` or a
|
969
|
+
# `ResourceQuery`, but not both.
|
970
|
+
#
|
971
|
+
# </note>
|
972
|
+
#
|
973
|
+
#
|
974
|
+
#
|
975
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html
|
976
|
+
#
|
977
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
978
|
+
#
|
979
|
+
# @example Request syntax with placeholder values
|
980
|
+
#
|
981
|
+
# resp = client.put_group_configuration({
|
982
|
+
# group: "GroupString",
|
983
|
+
# configuration: [
|
984
|
+
# {
|
985
|
+
# type: "GroupConfigurationType", # required
|
986
|
+
# parameters: [
|
987
|
+
# {
|
988
|
+
# name: "GroupConfigurationParameterName", # required
|
989
|
+
# values: ["GroupConfigurationParameterValue"],
|
990
|
+
# },
|
991
|
+
# ],
|
992
|
+
# },
|
993
|
+
# ],
|
994
|
+
# })
|
995
|
+
#
|
996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/PutGroupConfiguration AWS API Documentation
|
997
|
+
#
|
998
|
+
# @overload put_group_configuration(params = {})
|
999
|
+
# @param [Hash] params ({})
|
1000
|
+
def put_group_configuration(params = {}, options = {})
|
1001
|
+
req = build_request(:put_group_configuration, params)
|
1002
|
+
req.send_request(options)
|
1003
|
+
end
|
1004
|
+
|
839
1005
|
# Returns a list of AWS resource identifiers that matches the specified
|
840
1006
|
# query. The query uses the same format as a resource query in a
|
841
1007
|
# CreateGroup or UpdateGroupQuery operation.
|
842
1008
|
#
|
1009
|
+
# **Minimum permissions**
|
1010
|
+
#
|
1011
|
+
# To run this command, you must have the following permissions:
|
1012
|
+
#
|
1013
|
+
# * `resource-groups:SearchResources`
|
1014
|
+
#
|
1015
|
+
# * `cloudformation:DescribeStacks`
|
1016
|
+
#
|
1017
|
+
# * `cloudformation:ListStackResources`
|
1018
|
+
#
|
1019
|
+
# * `tag:GetResources`
|
1020
|
+
#
|
843
1021
|
# @option params [required, Types::ResourceQuery] :resource_query
|
844
1022
|
# The search query, using the same formats that are supported for
|
845
1023
|
# resource group definition. For more information, see CreateGroup.
|
@@ -910,6 +1088,14 @@ module Aws::ResourceGroups
|
|
910
1088
|
# you with billing and administration services. Tags are not intended to
|
911
1089
|
# be used for private or sensitive data.
|
912
1090
|
#
|
1091
|
+
# **Minimum permissions**
|
1092
|
+
#
|
1093
|
+
# To run this command, you must have the following permissions:
|
1094
|
+
#
|
1095
|
+
# * `resource-groups:Tag`
|
1096
|
+
#
|
1097
|
+
# ^
|
1098
|
+
#
|
913
1099
|
# @option params [required, String] :arn
|
914
1100
|
# The ARN of the resource group to which to add tags.
|
915
1101
|
#
|
@@ -948,6 +1134,14 @@ module Aws::ResourceGroups
|
|
948
1134
|
|
949
1135
|
# Removes the specified resources from the specified group.
|
950
1136
|
#
|
1137
|
+
# **Minimum permissions**
|
1138
|
+
#
|
1139
|
+
# To run this command, you must have the following permissions:
|
1140
|
+
#
|
1141
|
+
# * `resource-groups:UngroupResources`
|
1142
|
+
#
|
1143
|
+
# ^
|
1144
|
+
#
|
951
1145
|
# @option params [required, String] :group
|
952
1146
|
# The name or the ARN of the resource group from which to remove the
|
953
1147
|
# resources.
|
@@ -959,6 +1153,7 @@ module Aws::ResourceGroups
|
|
959
1153
|
#
|
960
1154
|
# * {Types::UngroupResourcesOutput#succeeded #succeeded} => Array<String>
|
961
1155
|
# * {Types::UngroupResourcesOutput#failed #failed} => Array<Types::FailedResource>
|
1156
|
+
# * {Types::UngroupResourcesOutput#pending #pending} => Array<Types::PendingResource>
|
962
1157
|
#
|
963
1158
|
# @example Request syntax with placeholder values
|
964
1159
|
#
|
@@ -975,6 +1170,8 @@ module Aws::ResourceGroups
|
|
975
1170
|
# resp.failed[0].resource_arn #=> String
|
976
1171
|
# resp.failed[0].error_message #=> String
|
977
1172
|
# resp.failed[0].error_code #=> String
|
1173
|
+
# resp.pending #=> Array
|
1174
|
+
# resp.pending[0].resource_arn #=> String
|
978
1175
|
#
|
979
1176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UngroupResources AWS API Documentation
|
980
1177
|
#
|
@@ -987,6 +1184,14 @@ module Aws::ResourceGroups
|
|
987
1184
|
|
988
1185
|
# Deletes tags from a specified resource group.
|
989
1186
|
#
|
1187
|
+
# **Minimum permissions**
|
1188
|
+
#
|
1189
|
+
# To run this command, you must have the following permissions:
|
1190
|
+
#
|
1191
|
+
# * `resource-groups:Untag`
|
1192
|
+
#
|
1193
|
+
# ^
|
1194
|
+
#
|
990
1195
|
# @option params [required, String] :arn
|
991
1196
|
# The ARN of the resource group from which to remove tags. The command
|
992
1197
|
# removed both the specified keys and any values associated with those
|
@@ -1025,6 +1230,14 @@ module Aws::ResourceGroups
|
|
1025
1230
|
# Updates the description for an existing group. You cannot update the
|
1026
1231
|
# name of a resource group.
|
1027
1232
|
#
|
1233
|
+
# **Minimum permissions**
|
1234
|
+
#
|
1235
|
+
# To run this command, you must have the following permissions:
|
1236
|
+
#
|
1237
|
+
# * `resource-groups:UpdateGroup`
|
1238
|
+
#
|
1239
|
+
# ^
|
1240
|
+
#
|
1028
1241
|
# @option params [String] :group_name
|
1029
1242
|
# Don't use this parameter. Use `Group` instead.
|
1030
1243
|
#
|
@@ -1063,7 +1276,21 @@ module Aws::ResourceGroups
|
|
1063
1276
|
req.send_request(options)
|
1064
1277
|
end
|
1065
1278
|
|
1066
|
-
# Updates the resource query of a group.
|
1279
|
+
# Updates the resource query of a group. For more information about
|
1280
|
+
# resource queries, see [Create a tag-based group in Resource
|
1281
|
+
# Groups][1].
|
1282
|
+
#
|
1283
|
+
# **Minimum permissions**
|
1284
|
+
#
|
1285
|
+
# To run this command, you must have the following permissions:
|
1286
|
+
#
|
1287
|
+
# * `resource-groups:UpdateGroupQuery`
|
1288
|
+
#
|
1289
|
+
# ^
|
1290
|
+
#
|
1291
|
+
#
|
1292
|
+
#
|
1293
|
+
# [1]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag
|
1067
1294
|
#
|
1068
1295
|
# @option params [String] :group_name
|
1069
1296
|
# Don't use this parameter. Use `Group` instead.
|
@@ -1075,6 +1302,11 @@ module Aws::ResourceGroups
|
|
1075
1302
|
# The resource query to determine which AWS resources are members of
|
1076
1303
|
# this resource group.
|
1077
1304
|
#
|
1305
|
+
# <note markdown="1"> A resource group can contain either a `Configuration` or a
|
1306
|
+
# `ResourceQuery`, but not both.
|
1307
|
+
#
|
1308
|
+
# </note>
|
1309
|
+
#
|
1078
1310
|
# @return [Types::UpdateGroupQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1079
1311
|
#
|
1080
1312
|
# * {Types::UpdateGroupQueryOutput#group_query #group_query} => Types::GroupQuery
|
@@ -1118,7 +1350,7 @@ module Aws::ResourceGroups
|
|
1118
1350
|
params: params,
|
1119
1351
|
config: config)
|
1120
1352
|
context[:gem_name] = 'aws-sdk-resourcegroups'
|
1121
|
-
context[:gem_version] = '1.
|
1353
|
+
context[:gem_version] = '1.36.0'
|
1122
1354
|
Seahorse::Client::Request.new(handlers, context)
|
1123
1355
|
end
|
1124
1356
|
|