aws-sdk-resourcegroups 1.30.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06bd34fe09571c02bdd7dc72cc1a6781e32a8f45d0ec6dd68beb97a827bdbc16
4
- data.tar.gz: 9ca2226dc1fc13dfb274cf0f743b1b2d8d6d9a045933a3b1d59f4671921dd9c9
3
+ metadata.gz: d114bc578b286120897f2c599eed6eaac4146a3b85c3ac40fd3d00d1b22fc6d3
4
+ data.tar.gz: 9c3d50bc27a9f72b2bec9de36d502b9a0525a76cdf01dbe22f75c36dd831c737
5
5
  SHA512:
6
- metadata.gz: f199a00eb06f2c1ba2c58e4a4bbf4aedb82e372e50b63d5f65fe80226c087bdbf01850d49d6e6bd383ee42edf841d07ae926d2d851ec0ef3c743f5973931d2bd
7
- data.tar.gz: 92b63537b737db78b7d6f58bcdea389f6d4079616a0f38da95413f12141671e6c557bbaaee36ce497d21baf5e6a924efcfffa0af70e44c7ec203fe00216c7c10
6
+ metadata.gz: a007588ef5d9c1a27f3d6b9bc6554a4d0fef1e7fd2af2d4e20fb6d9a7f423329a503f419330e99ae4e7e8a6b0e6da39e0677cac343244c9b13083386efca33a2
7
+ data.tar.gz: f8e4fe3f0c3a678716d9628df980e16923e751d4639f8caad577769733864adc2ca1d6ae37d7b819a601861710d5fe1074e8357d4fb0b080f28a5c45c0a0a854
data/CHANGELOG.md ADDED
@@ -0,0 +1,193 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.35.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.34.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.33.0 (2020-12-23)
15
+ ------------------
16
+
17
+ * Feature - Add operation `PutGroupConfiguration`. Support dedicated hosts and add `Pending` in operations `Un/GroupResources`. Add `Resources` in `ListGroupResources` and deprecate `ResourceIdentifiers`.
18
+
19
+ 1.32.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.31.0 (2020-09-21)
25
+ ------------------
26
+
27
+ * Feature - Documentation updates and corrections for Resource Groups API Reference and SDKs.
28
+
29
+ 1.30.0 (2020-09-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.29.0 (2020-08-25)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.28.0 (2020-07-30)
40
+ ------------------
41
+
42
+ * Feature - Improved documentation for Resource Groups API operations.
43
+
44
+ 1.27.0 (2020-07-29)
45
+ ------------------
46
+
47
+ * 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.
48
+
49
+ 1.26.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.25.1 (2020-06-11)
55
+ ------------------
56
+
57
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
58
+
59
+ 1.25.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.24.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.23.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.22.0 (2020-03-09)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.21.0 (2019-10-23)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.20.0 (2019-07-25)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.19.0 (2019-07-01)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.18.0 (2019-06-17)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.17.0 (2019-05-21)
101
+ ------------------
102
+
103
+ * Feature - API update.
104
+
105
+ 1.16.0 (2019-05-15)
106
+ ------------------
107
+
108
+ * Feature - API update.
109
+
110
+ 1.15.0 (2019-05-14)
111
+ ------------------
112
+
113
+ * Feature - API update.
114
+
115
+ 1.14.0 (2019-04-19)
116
+ ------------------
117
+
118
+ * Feature - API update.
119
+
120
+ 1.13.0 (2019-03-21)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.12.0 (2019-03-18)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.11.0 (2019-03-14)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.10.0 (2019-02-26)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.9.0 (2018-11-20)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.8.1 (2018-11-16)
146
+ ------------------
147
+
148
+ * Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
149
+
150
+ 1.8.0 (2018-11-14)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.7.0 (2018-10-24)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.6.0 (2018-10-23)
161
+ ------------------
162
+
163
+ * Feature - API update.
164
+
165
+ 1.5.0 (2018-10-16)
166
+ ------------------
167
+
168
+ * Feature - API update.
169
+
170
+ 1.4.0 (2018-09-06)
171
+ ------------------
172
+
173
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
174
+
175
+ 1.3.0 (2018-09-05)
176
+ ------------------
177
+
178
+ * Feature - API update.
179
+
180
+ 1.2.0 (2018-08-02)
181
+ ------------------
182
+
183
+ * Feature - API update.
184
+
185
+ 1.1.0 (2018-06-26)
186
+ ------------------
187
+
188
+ * Feature - API update.
189
+
190
+ 1.0.0 (2017-11-30)
191
+ ------------------
192
+
193
+ * 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.35.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-resourcegroups/customizations'
48
48
  # @!group service
49
49
  module Aws::ResourceGroups
50
50
 
51
- GEM_VERSION = '1.30.0'
51
+ GEM_VERSION = '1.35.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -329,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"> You can specify either a `ResourceQuery` or a `Configuration`, but not
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"> You can specify either a `Configuration` or a `ResourceQuery` in a
363
- # group, but not both.
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
- # Don't use this parameter. Use `Group` instead.
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
- # Don't use this parameter. Use `Group` instead.
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. AWS Resource Groups supports configurations for the
504
- # following resource group types:
547
+ # resource group. For details about the service configuration syntax,
548
+ # see [Service configurations for resource groups][1].
505
549
  #
506
- # * `AWS::EC2::CapacityReservationPool` - Amazon EC2 capacity
507
- # reservation pools. For more information, see [Working with capacity
508
- # reservation groups][1] in the *EC2 Users Guide*.
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/AWSEC2/latest/UserGuide/capacity-reservations-using.html#create-cr-group
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&lt;String&gt;
633
708
  # * {Types::GroupResourcesOutput#failed #failed} => Array&lt;Types::FailedResource&gt;
709
+ # * {Types::GroupResourcesOutput#pending #pending} => Array&lt;Types::PendingResource&gt;
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,17 @@ 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
+ # ^
748
+ #
663
749
  # @option params [String] :group_name
664
- # Don't use this parameter. Use `Group` instead.
750
+ # <i> <b>Deprecated - don't use this parameter. Use the
751
+ # <code>Group</code> request field instead.</b> </i>
665
752
  #
666
753
  # @option params [String] :group
667
754
  # The name or the ARN of the resource group
@@ -717,6 +804,7 @@ module Aws::ResourceGroups
717
804
  #
718
805
  # @return [Types::ListGroupResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
719
806
  #
807
+ # * {Types::ListGroupResourcesOutput#resources #resources} => Array&lt;Types::ListGroupResourcesItem&gt;
720
808
  # * {Types::ListGroupResourcesOutput#resource_identifiers #resource_identifiers} => Array&lt;Types::ResourceIdentifier&gt;
721
809
  # * {Types::ListGroupResourcesOutput#next_token #next_token} => String
722
810
  # * {Types::ListGroupResourcesOutput#query_errors #query_errors} => Array&lt;Types::QueryError&gt;
@@ -740,6 +828,10 @@ module Aws::ResourceGroups
740
828
  #
741
829
  # @example Response structure
742
830
  #
831
+ # resp.resources #=> Array
832
+ # resp.resources[0].identifier.resource_arn #=> String
833
+ # resp.resources[0].identifier.resource_type #=> String
834
+ # resp.resources[0].status.name #=> String, one of "PENDING"
743
835
  # resp.resource_identifiers #=> Array
744
836
  # resp.resource_identifiers[0].resource_arn #=> String
745
837
  # resp.resource_identifiers[0].resource_type #=> String
@@ -759,6 +851,14 @@ module Aws::ResourceGroups
759
851
 
760
852
  # Returns a list of existing resource groups in your account.
761
853
  #
854
+ # **Minimum permissions**
855
+ #
856
+ # To run this command, you must have the following permissions:
857
+ #
858
+ # * `resource-groups:ListGroups`
859
+ #
860
+ # ^
861
+ #
762
862
  # @option params [Array<Types::GroupFilter>] :filters
763
863
  # Filters, formatted as GroupFilter objects, that you want to apply to a
764
864
  # `ListGroups` operation.
@@ -772,9 +872,9 @@ module Aws::ResourceGroups
772
872
  # groups that have the specified configuration types attached. The
773
873
  # current supported values are:
774
874
  #
775
- # * AWS:EC2::CapacityReservationPool
875
+ # * `AWS:EC2::CapacityReservationPool`
776
876
  #
777
- # ^
877
+ # * `AWS:EC2::HostManagement`
778
878
  #
779
879
  # @option params [Integer] :max_results
780
880
  # The total number of results that you want included on each page of the
@@ -836,10 +936,80 @@ module Aws::ResourceGroups
836
936
  req.send_request(options)
837
937
  end
838
938
 
839
- # Returns a list of AWS resource identifiers that matches tne specified
939
+ # Attaches a service configuration to the specified group. This occurs
940
+ # asynchronously, and can take time to complete. You can use
941
+ # GetGroupConfiguration to check the status of the update.
942
+ #
943
+ # **Minimum permissions**
944
+ #
945
+ # To run this command, you must have the following permissions:
946
+ #
947
+ # * `resource-groups:PutGroupConfiguration`
948
+ #
949
+ # ^
950
+ #
951
+ # @option params [String] :group
952
+ # The name or ARN of the resource group with the configuration that you
953
+ # want to update.
954
+ #
955
+ # @option params [Array<Types::GroupConfigurationItem>] :configuration
956
+ # The new configuration to associate with the specified group. A
957
+ # configuration associates the resource group with an AWS service and
958
+ # specifies how the service can interact with the resources in the
959
+ # group. A configuration is an array of GroupConfigurationItem elements.
960
+ #
961
+ # For information about the syntax of a service configuration, see
962
+ # [Service configurations for resource groups][1].
963
+ #
964
+ # <note markdown="1"> A resource group can contain either a `Configuration` or a
965
+ # `ResourceQuery`, but not both.
966
+ #
967
+ # </note>
968
+ #
969
+ #
970
+ #
971
+ # [1]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html
972
+ #
973
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
974
+ #
975
+ # @example Request syntax with placeholder values
976
+ #
977
+ # resp = client.put_group_configuration({
978
+ # group: "GroupString",
979
+ # configuration: [
980
+ # {
981
+ # type: "GroupConfigurationType", # required
982
+ # parameters: [
983
+ # {
984
+ # name: "GroupConfigurationParameterName", # required
985
+ # values: ["GroupConfigurationParameterValue"],
986
+ # },
987
+ # ],
988
+ # },
989
+ # ],
990
+ # })
991
+ #
992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/PutGroupConfiguration AWS API Documentation
993
+ #
994
+ # @overload put_group_configuration(params = {})
995
+ # @param [Hash] params ({})
996
+ def put_group_configuration(params = {}, options = {})
997
+ req = build_request(:put_group_configuration, params)
998
+ req.send_request(options)
999
+ end
1000
+
1001
+ # Returns a list of AWS resource identifiers that matches the specified
840
1002
  # query. The query uses the same format as a resource query in a
841
1003
  # CreateGroup or UpdateGroupQuery operation.
842
1004
  #
1005
+ # **Minimum permissions**
1006
+ #
1007
+ # To run this command, you must have the following permissions:
1008
+ #
1009
+ # * `resource-groups:SearchResources`
1010
+ #
1011
+ # ^
1012
+ #
843
1013
  # @option params [required, Types::ResourceQuery] :resource_query
844
1014
  # The search query, using the same formats that are supported for
845
1015
  # resource group definition. For more information, see CreateGroup.
@@ -910,6 +1080,14 @@ module Aws::ResourceGroups
910
1080
  # you with billing and administration services. Tags are not intended to
911
1081
  # be used for private or sensitive data.
912
1082
  #
1083
+ # **Minimum permissions**
1084
+ #
1085
+ # To run this command, you must have the following permissions:
1086
+ #
1087
+ # * `resource-groups:Tag`
1088
+ #
1089
+ # ^
1090
+ #
913
1091
  # @option params [required, String] :arn
914
1092
  # The ARN of the resource group to which to add tags.
915
1093
  #
@@ -948,6 +1126,14 @@ module Aws::ResourceGroups
948
1126
 
949
1127
  # Removes the specified resources from the specified group.
950
1128
  #
1129
+ # **Minimum permissions**
1130
+ #
1131
+ # To run this command, you must have the following permissions:
1132
+ #
1133
+ # * `resource-groups:UngroupResources`
1134
+ #
1135
+ # ^
1136
+ #
951
1137
  # @option params [required, String] :group
952
1138
  # The name or the ARN of the resource group from which to remove the
953
1139
  # resources.
@@ -959,6 +1145,7 @@ module Aws::ResourceGroups
959
1145
  #
960
1146
  # * {Types::UngroupResourcesOutput#succeeded #succeeded} => Array&lt;String&gt;
961
1147
  # * {Types::UngroupResourcesOutput#failed #failed} => Array&lt;Types::FailedResource&gt;
1148
+ # * {Types::UngroupResourcesOutput#pending #pending} => Array&lt;Types::PendingResource&gt;
962
1149
  #
963
1150
  # @example Request syntax with placeholder values
964
1151
  #
@@ -975,6 +1162,8 @@ module Aws::ResourceGroups
975
1162
  # resp.failed[0].resource_arn #=> String
976
1163
  # resp.failed[0].error_message #=> String
977
1164
  # resp.failed[0].error_code #=> String
1165
+ # resp.pending #=> Array
1166
+ # resp.pending[0].resource_arn #=> String
978
1167
  #
979
1168
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UngroupResources AWS API Documentation
980
1169
  #
@@ -987,6 +1176,14 @@ module Aws::ResourceGroups
987
1176
 
988
1177
  # Deletes tags from a specified resource group.
989
1178
  #
1179
+ # **Minimum permissions**
1180
+ #
1181
+ # To run this command, you must have the following permissions:
1182
+ #
1183
+ # * `resource-groups:Untag`
1184
+ #
1185
+ # ^
1186
+ #
990
1187
  # @option params [required, String] :arn
991
1188
  # The ARN of the resource group from which to remove tags. The command
992
1189
  # removed both the specified keys and any values associated with those
@@ -1025,6 +1222,14 @@ module Aws::ResourceGroups
1025
1222
  # Updates the description for an existing group. You cannot update the
1026
1223
  # name of a resource group.
1027
1224
  #
1225
+ # **Minimum permissions**
1226
+ #
1227
+ # To run this command, you must have the following permissions:
1228
+ #
1229
+ # * `resource-groups:UpdateGroup`
1230
+ #
1231
+ # ^
1232
+ #
1028
1233
  # @option params [String] :group_name
1029
1234
  # Don't use this parameter. Use `Group` instead.
1030
1235
  #
@@ -1063,7 +1268,21 @@ module Aws::ResourceGroups
1063
1268
  req.send_request(options)
1064
1269
  end
1065
1270
 
1066
- # Updates the resource query of a group.
1271
+ # Updates the resource query of a group. For more information about
1272
+ # resource queries, see [Create a tag-based group in Resource
1273
+ # Groups][1].
1274
+ #
1275
+ # **Minimum permissions**
1276
+ #
1277
+ # To run this command, you must have the following permissions:
1278
+ #
1279
+ # * `resource-groups:UpdateGroupQuery`
1280
+ #
1281
+ # ^
1282
+ #
1283
+ #
1284
+ #
1285
+ # [1]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag
1067
1286
  #
1068
1287
  # @option params [String] :group_name
1069
1288
  # Don't use this parameter. Use `Group` instead.
@@ -1075,6 +1294,11 @@ module Aws::ResourceGroups
1075
1294
  # The resource query to determine which AWS resources are members of
1076
1295
  # this resource group.
1077
1296
  #
1297
+ # <note markdown="1"> A resource group can contain either a `Configuration` or a
1298
+ # `ResourceQuery`, but not both.
1299
+ #
1300
+ # </note>
1301
+ #
1078
1302
  # @return [Types::UpdateGroupQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1079
1303
  #
1080
1304
  # * {Types::UpdateGroupQueryOutput#group_query #group_query} => Types::GroupQuery
@@ -1118,7 +1342,7 @@ module Aws::ResourceGroups
1118
1342
  params: params,
1119
1343
  config: config)
1120
1344
  context[:gem_name] = 'aws-sdk-resourcegroups'
1121
- context[:gem_version] = '1.30.0'
1345
+ context[:gem_version] = '1.35.0'
1122
1346
  Seahorse::Client::Request.new(handlers, context)
1123
1347
  end
1124
1348