aws-sdk-resourcegroups 1.72.0 → 1.73.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,12 +15,19 @@ module Aws::ResourceGroups
15
15
  include Seahorse::Model
16
16
 
17
17
  AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
18
+ ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
19
+ ApplicationTag = Shapes::MapShape.new(name: 'ApplicationTag')
20
+ ApplicationTagKey = Shapes::StringShape.new(name: 'ApplicationTagKey')
18
21
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
22
+ CancelTagSyncTaskInput = Shapes::StructureShape.new(name: 'CancelTagSyncTaskInput')
19
23
  CreateGroupInput = Shapes::StructureShape.new(name: 'CreateGroupInput')
24
+ CreateGroupName = Shapes::StringShape.new(name: 'CreateGroupName')
20
25
  CreateGroupOutput = Shapes::StructureShape.new(name: 'CreateGroupOutput')
26
+ Criticality = Shapes::IntegerShape.new(name: 'Criticality')
21
27
  DeleteGroupInput = Shapes::StructureShape.new(name: 'DeleteGroupInput')
22
28
  DeleteGroupOutput = Shapes::StructureShape.new(name: 'DeleteGroupOutput')
23
29
  Description = Shapes::StringShape.new(name: 'Description')
30
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
24
31
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
25
32
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
26
33
  FailedResource = Shapes::StructureShape.new(name: 'FailedResource')
@@ -33,10 +40,13 @@ module Aws::ResourceGroups
33
40
  GetGroupOutput = Shapes::StructureShape.new(name: 'GetGroupOutput')
34
41
  GetGroupQueryInput = Shapes::StructureShape.new(name: 'GetGroupQueryInput')
35
42
  GetGroupQueryOutput = Shapes::StructureShape.new(name: 'GetGroupQueryOutput')
43
+ GetTagSyncTaskInput = Shapes::StructureShape.new(name: 'GetTagSyncTaskInput')
44
+ GetTagSyncTaskOutput = Shapes::StructureShape.new(name: 'GetTagSyncTaskOutput')
36
45
  GetTagsInput = Shapes::StructureShape.new(name: 'GetTagsInput')
37
46
  GetTagsOutput = Shapes::StructureShape.new(name: 'GetTagsOutput')
38
47
  Group = Shapes::StructureShape.new(name: 'Group')
39
48
  GroupArn = Shapes::StringShape.new(name: 'GroupArn')
49
+ GroupArnV2 = Shapes::StringShape.new(name: 'GroupArnV2')
40
50
  GroupConfiguration = Shapes::StructureShape.new(name: 'GroupConfiguration')
41
51
  GroupConfigurationFailureReason = Shapes::StringShape.new(name: 'GroupConfigurationFailureReason')
42
52
  GroupConfigurationItem = Shapes::StructureShape.new(name: 'GroupConfigurationItem')
@@ -64,17 +74,34 @@ module Aws::ResourceGroups
64
74
  GroupResourcesInput = Shapes::StructureShape.new(name: 'GroupResourcesInput')
65
75
  GroupResourcesOutput = Shapes::StructureShape.new(name: 'GroupResourcesOutput')
66
76
  GroupString = Shapes::StringShape.new(name: 'GroupString')
77
+ GroupStringV2 = Shapes::StringShape.new(name: 'GroupStringV2')
78
+ GroupingStatus = Shapes::StringShape.new(name: 'GroupingStatus')
79
+ GroupingStatusesItem = Shapes::StructureShape.new(name: 'GroupingStatusesItem')
80
+ GroupingStatusesList = Shapes::ListShape.new(name: 'GroupingStatusesList')
81
+ GroupingType = Shapes::StringShape.new(name: 'GroupingType')
67
82
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
68
83
  ListGroupResourcesInput = Shapes::StructureShape.new(name: 'ListGroupResourcesInput')
69
84
  ListGroupResourcesItem = Shapes::StructureShape.new(name: 'ListGroupResourcesItem')
70
85
  ListGroupResourcesItemList = Shapes::ListShape.new(name: 'ListGroupResourcesItemList')
71
86
  ListGroupResourcesOutput = Shapes::StructureShape.new(name: 'ListGroupResourcesOutput')
87
+ ListGroupingStatusesFilter = Shapes::StructureShape.new(name: 'ListGroupingStatusesFilter')
88
+ ListGroupingStatusesFilterList = Shapes::ListShape.new(name: 'ListGroupingStatusesFilterList')
89
+ ListGroupingStatusesFilterName = Shapes::StringShape.new(name: 'ListGroupingStatusesFilterName')
90
+ ListGroupingStatusesFilterValue = Shapes::StringShape.new(name: 'ListGroupingStatusesFilterValue')
91
+ ListGroupingStatusesFilterValues = Shapes::ListShape.new(name: 'ListGroupingStatusesFilterValues')
92
+ ListGroupingStatusesInput = Shapes::StructureShape.new(name: 'ListGroupingStatusesInput')
93
+ ListGroupingStatusesOutput = Shapes::StructureShape.new(name: 'ListGroupingStatusesOutput')
72
94
  ListGroupsInput = Shapes::StructureShape.new(name: 'ListGroupsInput')
73
95
  ListGroupsOutput = Shapes::StructureShape.new(name: 'ListGroupsOutput')
96
+ ListTagSyncTasksFilter = Shapes::StructureShape.new(name: 'ListTagSyncTasksFilter')
97
+ ListTagSyncTasksFilterList = Shapes::ListShape.new(name: 'ListTagSyncTasksFilterList')
98
+ ListTagSyncTasksInput = Shapes::StructureShape.new(name: 'ListTagSyncTasksInput')
99
+ ListTagSyncTasksOutput = Shapes::StructureShape.new(name: 'ListTagSyncTasksOutput')
74
100
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
75
101
  MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
76
102
  NextToken = Shapes::StringShape.new(name: 'NextToken')
77
103
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
104
+ Owner = Shapes::StringShape.new(name: 'Owner')
78
105
  PendingResource = Shapes::StructureShape.new(name: 'PendingResource')
79
106
  PendingResourceList = Shapes::ListShape.new(name: 'PendingResourceList')
80
107
  PutGroupConfigurationInput = Shapes::StructureShape.new(name: 'PutGroupConfigurationInput')
@@ -98,12 +125,19 @@ module Aws::ResourceGroups
98
125
  ResourceStatus = Shapes::StructureShape.new(name: 'ResourceStatus')
99
126
  ResourceStatusValue = Shapes::StringShape.new(name: 'ResourceStatusValue')
100
127
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
128
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
101
129
  SearchResourcesInput = Shapes::StructureShape.new(name: 'SearchResourcesInput')
102
130
  SearchResourcesOutput = Shapes::StructureShape.new(name: 'SearchResourcesOutput')
131
+ StartTagSyncTaskInput = Shapes::StructureShape.new(name: 'StartTagSyncTaskInput')
132
+ StartTagSyncTaskOutput = Shapes::StructureShape.new(name: 'StartTagSyncTaskOutput')
103
133
  TagInput = Shapes::StructureShape.new(name: 'TagInput')
104
134
  TagKey = Shapes::StringShape.new(name: 'TagKey')
105
135
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
106
136
  TagOutput = Shapes::StructureShape.new(name: 'TagOutput')
137
+ TagSyncTaskArn = Shapes::StringShape.new(name: 'TagSyncTaskArn')
138
+ TagSyncTaskItem = Shapes::StructureShape.new(name: 'TagSyncTaskItem')
139
+ TagSyncTaskList = Shapes::ListShape.new(name: 'TagSyncTaskList')
140
+ TagSyncTaskStatus = Shapes::StringShape.new(name: 'TagSyncTaskStatus')
107
141
  TagValue = Shapes::StringShape.new(name: 'TagValue')
108
142
  Tags = Shapes::MapShape.new(name: 'Tags')
109
143
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
@@ -118,20 +152,30 @@ module Aws::ResourceGroups
118
152
  UpdateGroupOutput = Shapes::StructureShape.new(name: 'UpdateGroupOutput')
119
153
  UpdateGroupQueryInput = Shapes::StructureShape.new(name: 'UpdateGroupQueryInput')
120
154
  UpdateGroupQueryOutput = Shapes::StructureShape.new(name: 'UpdateGroupQueryOutput')
155
+ timestamp = Shapes::TimestampShape.new(name: 'timestamp')
121
156
 
122
157
  AccountSettings.add_member(:group_lifecycle_events_desired_status, Shapes::ShapeRef.new(shape: GroupLifecycleEventsDesiredStatus, location_name: "GroupLifecycleEventsDesiredStatus"))
123
158
  AccountSettings.add_member(:group_lifecycle_events_status, Shapes::ShapeRef.new(shape: GroupLifecycleEventsStatus, location_name: "GroupLifecycleEventsStatus"))
124
159
  AccountSettings.add_member(:group_lifecycle_events_status_message, Shapes::ShapeRef.new(shape: GroupLifecycleEventsStatusMessage, location_name: "GroupLifecycleEventsStatusMessage"))
125
160
  AccountSettings.struct_class = Types::AccountSettings
126
161
 
162
+ ApplicationTag.key = Shapes::ShapeRef.new(shape: ApplicationTagKey)
163
+ ApplicationTag.value = Shapes::ShapeRef.new(shape: ApplicationArn)
164
+
127
165
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
128
166
  BadRequestException.struct_class = Types::BadRequestException
129
167
 
130
- CreateGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "Name"))
168
+ CancelTagSyncTaskInput.add_member(:task_arn, Shapes::ShapeRef.new(shape: TagSyncTaskArn, required: true, location_name: "TaskArn"))
169
+ CancelTagSyncTaskInput.struct_class = Types::CancelTagSyncTaskInput
170
+
171
+ CreateGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: CreateGroupName, required: true, location_name: "Name"))
131
172
  CreateGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
132
173
  CreateGroupInput.add_member(:resource_query, Shapes::ShapeRef.new(shape: ResourceQuery, location_name: "ResourceQuery"))
133
174
  CreateGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
134
175
  CreateGroupInput.add_member(:configuration, Shapes::ShapeRef.new(shape: GroupConfigurationList, location_name: "Configuration"))
176
+ CreateGroupInput.add_member(:criticality, Shapes::ShapeRef.new(shape: Criticality, location_name: "Criticality"))
177
+ CreateGroupInput.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
178
+ CreateGroupInput.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
135
179
  CreateGroupInput.struct_class = Types::CreateGroupInput
136
180
 
137
181
  CreateGroupOutput.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -141,7 +185,7 @@ module Aws::ResourceGroups
141
185
  CreateGroupOutput.struct_class = Types::CreateGroupOutput
142
186
 
143
187
  DeleteGroupInput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, deprecated: true, location_name: "GroupName", metadata: {"deprecatedMessage"=>"This field is deprecated, use Group instead."}))
144
- DeleteGroupInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupString, location_name: "Group"))
188
+ DeleteGroupInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, location_name: "Group"))
145
189
  DeleteGroupInput.struct_class = Types::DeleteGroupInput
146
190
 
147
191
  DeleteGroupOutput.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -167,7 +211,7 @@ module Aws::ResourceGroups
167
211
  GetGroupConfigurationOutput.struct_class = Types::GetGroupConfigurationOutput
168
212
 
169
213
  GetGroupInput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, deprecated: true, location_name: "GroupName", metadata: {"deprecatedMessage"=>"This field is deprecated, use Group instead."}))
170
- GetGroupInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupString, location_name: "Group"))
214
+ GetGroupInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, location_name: "Group"))
171
215
  GetGroupInput.struct_class = Types::GetGroupInput
172
216
 
173
217
  GetGroupOutput.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -180,16 +224,34 @@ module Aws::ResourceGroups
180
224
  GetGroupQueryOutput.add_member(:group_query, Shapes::ShapeRef.new(shape: GroupQuery, location_name: "GroupQuery"))
181
225
  GetGroupQueryOutput.struct_class = Types::GetGroupQueryOutput
182
226
 
183
- GetTagsInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, required: true, location: "uri", location_name: "Arn"))
227
+ GetTagSyncTaskInput.add_member(:task_arn, Shapes::ShapeRef.new(shape: TagSyncTaskArn, required: true, location_name: "TaskArn"))
228
+ GetTagSyncTaskInput.struct_class = Types::GetTagSyncTaskInput
229
+
230
+ GetTagSyncTaskOutput.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "GroupArn"))
231
+ GetTagSyncTaskOutput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
232
+ GetTagSyncTaskOutput.add_member(:task_arn, Shapes::ShapeRef.new(shape: TagSyncTaskArn, location_name: "TaskArn"))
233
+ GetTagSyncTaskOutput.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey"))
234
+ GetTagSyncTaskOutput.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, location_name: "TagValue"))
235
+ GetTagSyncTaskOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
236
+ GetTagSyncTaskOutput.add_member(:status, Shapes::ShapeRef.new(shape: TagSyncTaskStatus, location_name: "Status"))
237
+ GetTagSyncTaskOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
238
+ GetTagSyncTaskOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
239
+ GetTagSyncTaskOutput.struct_class = Types::GetTagSyncTaskOutput
240
+
241
+ GetTagsInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArnV2, required: true, location: "uri", location_name: "Arn"))
184
242
  GetTagsInput.struct_class = Types::GetTagsInput
185
243
 
186
- GetTagsOutput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, location_name: "Arn"))
244
+ GetTagsOutput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "Arn"))
187
245
  GetTagsOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
188
246
  GetTagsOutput.struct_class = Types::GetTagsOutput
189
247
 
190
- Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArn, required: true, location_name: "GroupArn"))
248
+ Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArnV2, required: true, location_name: "GroupArn"))
191
249
  Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "Name"))
192
250
  Group.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
251
+ Group.add_member(:criticality, Shapes::ShapeRef.new(shape: Criticality, location_name: "Criticality"))
252
+ Group.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
253
+ Group.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
254
+ Group.add_member(:application_tag, Shapes::ShapeRef.new(shape: ApplicationTag, location_name: "ApplicationTag"))
193
255
  Group.struct_class = Types::Group
194
256
 
195
257
  GroupConfiguration.add_member(:configuration, Shapes::ShapeRef.new(shape: GroupConfigurationList, location_name: "Configuration"))
@@ -220,6 +282,10 @@ module Aws::ResourceGroups
220
282
 
221
283
  GroupIdentifier.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
222
284
  GroupIdentifier.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArn, location_name: "GroupArn"))
285
+ GroupIdentifier.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
286
+ GroupIdentifier.add_member(:criticality, Shapes::ShapeRef.new(shape: Criticality, location_name: "Criticality"))
287
+ GroupIdentifier.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
288
+ GroupIdentifier.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
223
289
  GroupIdentifier.struct_class = Types::GroupIdentifier
224
290
 
225
291
  GroupIdentifierList.member = Shapes::ShapeRef.new(shape: GroupIdentifier)
@@ -232,7 +298,7 @@ module Aws::ResourceGroups
232
298
  GroupQuery.add_member(:resource_query, Shapes::ShapeRef.new(shape: ResourceQuery, required: true, location_name: "ResourceQuery"))
233
299
  GroupQuery.struct_class = Types::GroupQuery
234
300
 
235
- GroupResourcesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupString, required: true, location_name: "Group"))
301
+ GroupResourcesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, required: true, location_name: "Group"))
236
302
  GroupResourcesInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, required: true, location_name: "ResourceArns"))
237
303
  GroupResourcesInput.struct_class = Types::GroupResourcesInput
238
304
 
@@ -241,11 +307,21 @@ module Aws::ResourceGroups
241
307
  GroupResourcesOutput.add_member(:pending, Shapes::ShapeRef.new(shape: PendingResourceList, location_name: "Pending"))
242
308
  GroupResourcesOutput.struct_class = Types::GroupResourcesOutput
243
309
 
310
+ GroupingStatusesItem.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
311
+ GroupingStatusesItem.add_member(:action, Shapes::ShapeRef.new(shape: GroupingType, location_name: "Action"))
312
+ GroupingStatusesItem.add_member(:status, Shapes::ShapeRef.new(shape: GroupingStatus, location_name: "Status"))
313
+ GroupingStatusesItem.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
314
+ GroupingStatusesItem.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
315
+ GroupingStatusesItem.add_member(:updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "UpdatedAt"))
316
+ GroupingStatusesItem.struct_class = Types::GroupingStatusesItem
317
+
318
+ GroupingStatusesList.member = Shapes::ShapeRef.new(shape: GroupingStatusesItem)
319
+
244
320
  InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
245
321
  InternalServerErrorException.struct_class = Types::InternalServerErrorException
246
322
 
247
323
  ListGroupResourcesInput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, deprecated: true, location_name: "GroupName", metadata: {"deprecatedMessage"=>"This field is deprecated, use Group instead."}))
248
- ListGroupResourcesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupString, location_name: "Group"))
324
+ ListGroupResourcesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, location_name: "Group"))
249
325
  ListGroupResourcesInput.add_member(:filters, Shapes::ShapeRef.new(shape: ResourceFilterList, location_name: "Filters"))
250
326
  ListGroupResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
251
327
  ListGroupResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -263,6 +339,25 @@ module Aws::ResourceGroups
263
339
  ListGroupResourcesOutput.add_member(:query_errors, Shapes::ShapeRef.new(shape: QueryErrorList, location_name: "QueryErrors"))
264
340
  ListGroupResourcesOutput.struct_class = Types::ListGroupResourcesOutput
265
341
 
342
+ ListGroupingStatusesFilter.add_member(:name, Shapes::ShapeRef.new(shape: ListGroupingStatusesFilterName, required: true, location_name: "Name"))
343
+ ListGroupingStatusesFilter.add_member(:values, Shapes::ShapeRef.new(shape: ListGroupingStatusesFilterValues, required: true, location_name: "Values"))
344
+ ListGroupingStatusesFilter.struct_class = Types::ListGroupingStatusesFilter
345
+
346
+ ListGroupingStatusesFilterList.member = Shapes::ShapeRef.new(shape: ListGroupingStatusesFilter)
347
+
348
+ ListGroupingStatusesFilterValues.member = Shapes::ShapeRef.new(shape: ListGroupingStatusesFilterValue)
349
+
350
+ ListGroupingStatusesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, required: true, location_name: "Group"))
351
+ ListGroupingStatusesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
352
+ ListGroupingStatusesInput.add_member(:filters, Shapes::ShapeRef.new(shape: ListGroupingStatusesFilterList, location_name: "Filters"))
353
+ ListGroupingStatusesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
354
+ ListGroupingStatusesInput.struct_class = Types::ListGroupingStatusesInput
355
+
356
+ ListGroupingStatusesOutput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, location_name: "Group"))
357
+ ListGroupingStatusesOutput.add_member(:grouping_statuses, Shapes::ShapeRef.new(shape: GroupingStatusesList, location_name: "GroupingStatuses"))
358
+ ListGroupingStatusesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
359
+ ListGroupingStatusesOutput.struct_class = Types::ListGroupingStatusesOutput
360
+
266
361
  ListGroupsInput.add_member(:filters, Shapes::ShapeRef.new(shape: GroupFilterList, location_name: "Filters"))
267
362
  ListGroupsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
268
363
  ListGroupsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -273,6 +368,21 @@ module Aws::ResourceGroups
273
368
  ListGroupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
274
369
  ListGroupsOutput.struct_class = Types::ListGroupsOutput
275
370
 
371
+ ListTagSyncTasksFilter.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "GroupArn"))
372
+ ListTagSyncTasksFilter.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
373
+ ListTagSyncTasksFilter.struct_class = Types::ListTagSyncTasksFilter
374
+
375
+ ListTagSyncTasksFilterList.member = Shapes::ShapeRef.new(shape: ListTagSyncTasksFilter)
376
+
377
+ ListTagSyncTasksInput.add_member(:filters, Shapes::ShapeRef.new(shape: ListTagSyncTasksFilterList, location_name: "Filters"))
378
+ ListTagSyncTasksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
379
+ ListTagSyncTasksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
380
+ ListTagSyncTasksInput.struct_class = Types::ListTagSyncTasksInput
381
+
382
+ ListTagSyncTasksOutput.add_member(:tag_sync_tasks, Shapes::ShapeRef.new(shape: TagSyncTaskList, location_name: "TagSyncTasks"))
383
+ ListTagSyncTasksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
384
+ ListTagSyncTasksOutput.struct_class = Types::ListTagSyncTasksOutput
385
+
276
386
  MethodNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
277
387
  MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
278
388
 
@@ -329,16 +439,43 @@ module Aws::ResourceGroups
329
439
  SearchResourcesOutput.add_member(:query_errors, Shapes::ShapeRef.new(shape: QueryErrorList, location_name: "QueryErrors"))
330
440
  SearchResourcesOutput.struct_class = Types::SearchResourcesOutput
331
441
 
332
- TagInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, required: true, location: "uri", location_name: "Arn"))
442
+ StartTagSyncTaskInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, required: true, location_name: "Group"))
443
+ StartTagSyncTaskInput.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "TagKey"))
444
+ StartTagSyncTaskInput.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "TagValue"))
445
+ StartTagSyncTaskInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
446
+ StartTagSyncTaskInput.struct_class = Types::StartTagSyncTaskInput
447
+
448
+ StartTagSyncTaskOutput.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "GroupArn"))
449
+ StartTagSyncTaskOutput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
450
+ StartTagSyncTaskOutput.add_member(:task_arn, Shapes::ShapeRef.new(shape: TagSyncTaskArn, location_name: "TaskArn"))
451
+ StartTagSyncTaskOutput.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey"))
452
+ StartTagSyncTaskOutput.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, location_name: "TagValue"))
453
+ StartTagSyncTaskOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
454
+ StartTagSyncTaskOutput.struct_class = Types::StartTagSyncTaskOutput
455
+
456
+ TagInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArnV2, required: true, location: "uri", location_name: "Arn"))
333
457
  TagInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
334
458
  TagInput.struct_class = Types::TagInput
335
459
 
336
460
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
337
461
 
338
- TagOutput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, location_name: "Arn"))
462
+ TagOutput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "Arn"))
339
463
  TagOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
340
464
  TagOutput.struct_class = Types::TagOutput
341
465
 
466
+ TagSyncTaskItem.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "GroupArn"))
467
+ TagSyncTaskItem.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
468
+ TagSyncTaskItem.add_member(:task_arn, Shapes::ShapeRef.new(shape: TagSyncTaskArn, location_name: "TaskArn"))
469
+ TagSyncTaskItem.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey"))
470
+ TagSyncTaskItem.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, location_name: "TagValue"))
471
+ TagSyncTaskItem.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
472
+ TagSyncTaskItem.add_member(:status, Shapes::ShapeRef.new(shape: TagSyncTaskStatus, location_name: "Status"))
473
+ TagSyncTaskItem.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
474
+ TagSyncTaskItem.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
475
+ TagSyncTaskItem.struct_class = Types::TagSyncTaskItem
476
+
477
+ TagSyncTaskList.member = Shapes::ShapeRef.new(shape: TagSyncTaskItem)
478
+
342
479
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
343
480
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
344
481
 
@@ -348,7 +485,7 @@ module Aws::ResourceGroups
348
485
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
349
486
  UnauthorizedException.struct_class = Types::UnauthorizedException
350
487
 
351
- UngroupResourcesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupString, required: true, location_name: "Group"))
488
+ UngroupResourcesInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, required: true, location_name: "Group"))
352
489
  UngroupResourcesInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, required: true, location_name: "ResourceArns"))
353
490
  UngroupResourcesInput.struct_class = Types::UngroupResourcesInput
354
491
 
@@ -357,11 +494,11 @@ module Aws::ResourceGroups
357
494
  UngroupResourcesOutput.add_member(:pending, Shapes::ShapeRef.new(shape: PendingResourceList, location_name: "Pending"))
358
495
  UngroupResourcesOutput.struct_class = Types::UngroupResourcesOutput
359
496
 
360
- UntagInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, required: true, location: "uri", location_name: "Arn"))
497
+ UntagInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArnV2, required: true, location: "uri", location_name: "Arn"))
361
498
  UntagInput.add_member(:keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "Keys"))
362
499
  UntagInput.struct_class = Types::UntagInput
363
500
 
364
- UntagOutput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, location_name: "Arn"))
501
+ UntagOutput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArnV2, location_name: "Arn"))
365
502
  UntagOutput.add_member(:keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "Keys"))
366
503
  UntagOutput.struct_class = Types::UntagOutput
367
504
 
@@ -372,8 +509,11 @@ module Aws::ResourceGroups
372
509
  UpdateAccountSettingsOutput.struct_class = Types::UpdateAccountSettingsOutput
373
510
 
374
511
  UpdateGroupInput.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, deprecated: true, location_name: "GroupName", metadata: {"deprecatedMessage"=>"This field is deprecated, use Group instead."}))
375
- UpdateGroupInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupString, location_name: "Group"))
512
+ UpdateGroupInput.add_member(:group, Shapes::ShapeRef.new(shape: GroupStringV2, location_name: "Group"))
376
513
  UpdateGroupInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
514
+ UpdateGroupInput.add_member(:criticality, Shapes::ShapeRef.new(shape: Criticality, location_name: "Criticality"))
515
+ UpdateGroupInput.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
516
+ UpdateGroupInput.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
377
517
  UpdateGroupInput.struct_class = Types::UpdateGroupInput
378
518
 
379
519
  UpdateGroupOutput.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -407,6 +547,20 @@ module Aws::ResourceGroups
407
547
  "uid" => "resource-groups-2017-11-27",
408
548
  }
409
549
 
550
+ api.add_operation(:cancel_tag_sync_task, Seahorse::Model::Operation.new.tap do |o|
551
+ o.name = "CancelTagSyncTask"
552
+ o.http_method = "POST"
553
+ o.http_request_uri = "/cancel-tag-sync-task"
554
+ o.input = Shapes::ShapeRef.new(shape: CancelTagSyncTaskInput)
555
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
556
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
557
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
559
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
560
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
561
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
562
+ end)
563
+
410
564
  api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
411
565
  o.name = "CreateGroup"
412
566
  o.http_method = "POST"
@@ -489,6 +643,21 @@ module Aws::ResourceGroups
489
643
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
490
644
  end)
491
645
 
646
+ api.add_operation(:get_tag_sync_task, Seahorse::Model::Operation.new.tap do |o|
647
+ o.name = "GetTagSyncTask"
648
+ o.http_method = "POST"
649
+ o.http_request_uri = "/get-tag-sync-task"
650
+ o.input = Shapes::ShapeRef.new(shape: GetTagSyncTaskInput)
651
+ o.output = Shapes::ShapeRef.new(shape: GetTagSyncTaskOutput)
652
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
653
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
655
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
656
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
657
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
658
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
659
+ end)
660
+
492
661
  api.add_operation(:get_tags, Seahorse::Model::Operation.new.tap do |o|
493
662
  o.name = "GetTags"
494
663
  o.http_method = "GET"
@@ -538,6 +707,25 @@ module Aws::ResourceGroups
538
707
  )
539
708
  end)
540
709
 
710
+ api.add_operation(:list_grouping_statuses, Seahorse::Model::Operation.new.tap do |o|
711
+ o.name = "ListGroupingStatuses"
712
+ o.http_method = "POST"
713
+ o.http_request_uri = "/list-grouping-statuses"
714
+ o.input = Shapes::ShapeRef.new(shape: ListGroupingStatusesInput)
715
+ o.output = Shapes::ShapeRef.new(shape: ListGroupingStatusesOutput)
716
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
718
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
719
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
720
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
721
+ o[:pager] = Aws::Pager.new(
722
+ limit_key: "max_results",
723
+ tokens: {
724
+ "next_token" => "next_token"
725
+ }
726
+ )
727
+ end)
728
+
541
729
  api.add_operation(:list_groups, Seahorse::Model::Operation.new.tap do |o|
542
730
  o.name = "ListGroups"
543
731
  o.http_method = "POST"
@@ -557,6 +745,26 @@ module Aws::ResourceGroups
557
745
  )
558
746
  end)
559
747
 
748
+ api.add_operation(:list_tag_sync_tasks, Seahorse::Model::Operation.new.tap do |o|
749
+ o.name = "ListTagSyncTasks"
750
+ o.http_method = "POST"
751
+ o.http_request_uri = "/list-tag-sync-tasks"
752
+ o.input = Shapes::ShapeRef.new(shape: ListTagSyncTasksInput)
753
+ o.output = Shapes::ShapeRef.new(shape: ListTagSyncTasksOutput)
754
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
755
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
756
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
757
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
758
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
759
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
760
+ o[:pager] = Aws::Pager.new(
761
+ limit_key: "max_results",
762
+ tokens: {
763
+ "next_token" => "next_token"
764
+ }
765
+ )
766
+ end)
767
+
560
768
  api.add_operation(:put_group_configuration, Seahorse::Model::Operation.new.tap do |o|
561
769
  o.name = "PutGroupConfiguration"
562
770
  o.http_method = "POST"
@@ -591,6 +799,21 @@ module Aws::ResourceGroups
591
799
  )
592
800
  end)
593
801
 
802
+ api.add_operation(:start_tag_sync_task, Seahorse::Model::Operation.new.tap do |o|
803
+ o.name = "StartTagSyncTask"
804
+ o.http_method = "POST"
805
+ o.http_request_uri = "/start-tag-sync-task"
806
+ o.input = Shapes::ShapeRef.new(shape: StartTagSyncTaskInput)
807
+ o.output = Shapes::ShapeRef.new(shape: StartTagSyncTaskOutput)
808
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
809
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
811
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
812
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
813
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
814
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
815
+ end)
816
+
594
817
  api.add_operation(:tag, Seahorse::Model::Operation.new.tap do |o|
595
818
  o.name = "Tag"
596
819
  o.http_method = "PUT"
@@ -12,6 +12,17 @@ module Aws::ResourceGroups
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class CancelTagSyncTask
16
+ def self.build(context)
17
+ Aws::ResourceGroups::EndpointParameters.new(
18
+ region: context.config.region,
19
+ use_dual_stack: context.config.use_dualstack_endpoint,
20
+ use_fips: context.config.use_fips_endpoint,
21
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
+ )
23
+ end
24
+ end
25
+
15
26
  class CreateGroup
16
27
  def self.build(context)
17
28
  Aws::ResourceGroups::EndpointParameters.new(
@@ -78,6 +89,17 @@ module Aws::ResourceGroups
78
89
  end
79
90
  end
80
91
 
92
+ class GetTagSyncTask
93
+ def self.build(context)
94
+ Aws::ResourceGroups::EndpointParameters.new(
95
+ region: context.config.region,
96
+ use_dual_stack: context.config.use_dualstack_endpoint,
97
+ use_fips: context.config.use_fips_endpoint,
98
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
+ )
100
+ end
101
+ end
102
+
81
103
  class GetTags
82
104
  def self.build(context)
83
105
  Aws::ResourceGroups::EndpointParameters.new(
@@ -111,6 +133,17 @@ module Aws::ResourceGroups
111
133
  end
112
134
  end
113
135
 
136
+ class ListGroupingStatuses
137
+ def self.build(context)
138
+ Aws::ResourceGroups::EndpointParameters.new(
139
+ region: context.config.region,
140
+ use_dual_stack: context.config.use_dualstack_endpoint,
141
+ use_fips: context.config.use_fips_endpoint,
142
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
+ )
144
+ end
145
+ end
146
+
114
147
  class ListGroups
115
148
  def self.build(context)
116
149
  Aws::ResourceGroups::EndpointParameters.new(
@@ -122,6 +155,17 @@ module Aws::ResourceGroups
122
155
  end
123
156
  end
124
157
 
158
+ class ListTagSyncTasks
159
+ def self.build(context)
160
+ Aws::ResourceGroups::EndpointParameters.new(
161
+ region: context.config.region,
162
+ use_dual_stack: context.config.use_dualstack_endpoint,
163
+ use_fips: context.config.use_fips_endpoint,
164
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
+ )
166
+ end
167
+ end
168
+
125
169
  class PutGroupConfiguration
126
170
  def self.build(context)
127
171
  Aws::ResourceGroups::EndpointParameters.new(
@@ -144,6 +188,17 @@ module Aws::ResourceGroups
144
188
  end
145
189
  end
146
190
 
191
+ class StartTagSyncTask
192
+ def self.build(context)
193
+ Aws::ResourceGroups::EndpointParameters.new(
194
+ region: context.config.region,
195
+ use_dual_stack: context.config.use_dualstack_endpoint,
196
+ use_fips: context.config.use_fips_endpoint,
197
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
+ )
199
+ end
200
+ end
201
+
147
202
  class Tag
148
203
  def self.build(context)
149
204
  Aws::ResourceGroups::EndpointParameters.new(
@@ -70,6 +70,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
70
70
 
71
71
  def parameters_for_operation(context)
72
72
  case context.operation_name
73
+ when :cancel_tag_sync_task
74
+ Aws::ResourceGroups::Endpoints::CancelTagSyncTask.build(context)
73
75
  when :create_group
74
76
  Aws::ResourceGroups::Endpoints::CreateGroup.build(context)
75
77
  when :delete_group
@@ -82,18 +84,26 @@ The endpoint provider used to resolve endpoints. Any object that responds to
82
84
  Aws::ResourceGroups::Endpoints::GetGroupConfiguration.build(context)
83
85
  when :get_group_query
84
86
  Aws::ResourceGroups::Endpoints::GetGroupQuery.build(context)
87
+ when :get_tag_sync_task
88
+ Aws::ResourceGroups::Endpoints::GetTagSyncTask.build(context)
85
89
  when :get_tags
86
90
  Aws::ResourceGroups::Endpoints::GetTags.build(context)
87
91
  when :group_resources
88
92
  Aws::ResourceGroups::Endpoints::GroupResources.build(context)
89
93
  when :list_group_resources
90
94
  Aws::ResourceGroups::Endpoints::ListGroupResources.build(context)
95
+ when :list_grouping_statuses
96
+ Aws::ResourceGroups::Endpoints::ListGroupingStatuses.build(context)
91
97
  when :list_groups
92
98
  Aws::ResourceGroups::Endpoints::ListGroups.build(context)
99
+ when :list_tag_sync_tasks
100
+ Aws::ResourceGroups::Endpoints::ListTagSyncTasks.build(context)
93
101
  when :put_group_configuration
94
102
  Aws::ResourceGroups::Endpoints::PutGroupConfiguration.build(context)
95
103
  when :search_resources
96
104
  Aws::ResourceGroups::Endpoints::SearchResources.build(context)
105
+ when :start_tag_sync_task
106
+ Aws::ResourceGroups::Endpoints::StartTagSyncTask.build(context)
97
107
  when :tag
98
108
  Aws::ResourceGroups::Endpoints::Tag.build(context)
99
109
  when :ungroup_resources