aws-sdk-resourcegroupstaggingapi 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-resourcegroupstaggingapi.rb +1 -1
- data/lib/aws-sdk-resourcegroupstaggingapi/client.rb +37 -507
- data/lib/aws-sdk-resourcegroupstaggingapi/client_api.rb +0 -256
- data/lib/aws-sdk-resourcegroupstaggingapi/errors.rb +0 -32
- data/lib/aws-sdk-resourcegroupstaggingapi/types.rb +22 -555
- metadata +2 -2
@@ -12,72 +12,32 @@ module Aws::ResourceGroupsTaggingAPI
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AmazonResourceType = Shapes::StringShape.new(name: 'AmazonResourceType')
|
15
|
-
ComplianceDetails = Shapes::StructureShape.new(name: 'ComplianceDetails')
|
16
|
-
ComplianceStatus = Shapes::BooleanShape.new(name: 'ComplianceStatus')
|
17
|
-
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
18
|
-
ConstraintViolationException = Shapes::StructureShape.new(name: 'ConstraintViolationException')
|
19
|
-
DeleteTagPolicyInput = Shapes::StructureShape.new(name: 'DeleteTagPolicyInput')
|
20
|
-
DeleteTagPolicyOutput = Shapes::StructureShape.new(name: 'DeleteTagPolicyOutput')
|
21
|
-
DescribeReportCreationInput = Shapes::StructureShape.new(name: 'DescribeReportCreationInput')
|
22
|
-
DescribeReportCreationOutput = Shapes::StructureShape.new(name: 'DescribeReportCreationOutput')
|
23
|
-
DisableTagPoliciesInput = Shapes::StructureShape.new(name: 'DisableTagPoliciesInput')
|
24
|
-
DisableTagPoliciesOutput = Shapes::StructureShape.new(name: 'DisableTagPoliciesOutput')
|
25
|
-
EnableTagPoliciesInput = Shapes::StructureShape.new(name: 'EnableTagPoliciesInput')
|
26
|
-
EnableTagPoliciesOutput = Shapes::StructureShape.new(name: 'EnableTagPoliciesOutput')
|
27
15
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
28
16
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
29
17
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
30
|
-
ExcludeCompliantResources = Shapes::BooleanShape.new(name: 'ExcludeCompliantResources')
|
31
18
|
FailedResourcesMap = Shapes::MapShape.new(name: 'FailedResourcesMap')
|
32
19
|
FailureInfo = Shapes::StructureShape.new(name: 'FailureInfo')
|
33
|
-
GetComplianceSummaryInput = Shapes::StructureShape.new(name: 'GetComplianceSummaryInput')
|
34
|
-
GetComplianceSummaryOutput = Shapes::StructureShape.new(name: 'GetComplianceSummaryOutput')
|
35
|
-
GetEffectiveTagPolicyInput = Shapes::StructureShape.new(name: 'GetEffectiveTagPolicyInput')
|
36
|
-
GetEffectiveTagPolicyOutput = Shapes::StructureShape.new(name: 'GetEffectiveTagPolicyOutput')
|
37
20
|
GetResourcesInput = Shapes::StructureShape.new(name: 'GetResourcesInput')
|
38
21
|
GetResourcesOutput = Shapes::StructureShape.new(name: 'GetResourcesOutput')
|
39
22
|
GetTagKeysInput = Shapes::StructureShape.new(name: 'GetTagKeysInput')
|
40
23
|
GetTagKeysOutput = Shapes::StructureShape.new(name: 'GetTagKeysOutput')
|
41
|
-
GetTagPolicyInput = Shapes::StructureShape.new(name: 'GetTagPolicyInput')
|
42
|
-
GetTagPolicyOutput = Shapes::StructureShape.new(name: 'GetTagPolicyOutput')
|
43
24
|
GetTagValuesInput = Shapes::StructureShape.new(name: 'GetTagValuesInput')
|
44
25
|
GetTagValuesOutput = Shapes::StructureShape.new(name: 'GetTagValuesOutput')
|
45
|
-
GroupBy = Shapes::ListShape.new(name: 'GroupBy')
|
46
|
-
GroupByAttribute = Shapes::StringShape.new(name: 'GroupByAttribute')
|
47
|
-
IncludeComplianceDetails = Shapes::BooleanShape.new(name: 'IncludeComplianceDetails')
|
48
26
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
49
27
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
50
|
-
LastUpdated = Shapes::TimestampShape.new(name: 'LastUpdated', timestampFormat: "iso8601")
|
51
|
-
MaxResultTagsDS1 = Shapes::IntegerShape.new(name: 'MaxResultTagsDS1')
|
52
|
-
MaxResultsGetComplianceSummary = Shapes::IntegerShape.new(name: 'MaxResultsGetComplianceSummary')
|
53
|
-
NonCompliantResources = Shapes::IntegerShape.new(name: 'NonCompliantResources')
|
54
28
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
55
29
|
PaginationTokenExpiredException = Shapes::StructureShape.new(name: 'PaginationTokenExpiredException')
|
56
|
-
Policy = Shapes::StringShape.new(name: 'Policy')
|
57
|
-
PutTagPolicyInput = Shapes::StructureShape.new(name: 'PutTagPolicyInput')
|
58
|
-
PutTagPolicyOutput = Shapes::StructureShape.new(name: 'PutTagPolicyOutput')
|
59
|
-
Region = Shapes::StringShape.new(name: 'Region')
|
60
|
-
RegionFilterList = Shapes::ListShape.new(name: 'RegionFilterList')
|
61
30
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
62
31
|
ResourceARNList = Shapes::ListShape.new(name: 'ResourceARNList')
|
63
32
|
ResourceTagMapping = Shapes::StructureShape.new(name: 'ResourceTagMapping')
|
64
33
|
ResourceTagMappingList = Shapes::ListShape.new(name: 'ResourceTagMappingList')
|
65
34
|
ResourceTypeFilterList = Shapes::ListShape.new(name: 'ResourceTypeFilterList')
|
66
35
|
ResourcesPerPage = Shapes::IntegerShape.new(name: 'ResourcesPerPage')
|
67
|
-
RootId = Shapes::StringShape.new(name: 'RootId')
|
68
|
-
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
69
|
-
S3Location = Shapes::StringShape.new(name: 'S3Location')
|
70
|
-
StartReportCreationInput = Shapes::StructureShape.new(name: 'StartReportCreationInput')
|
71
|
-
StartReportCreationOutput = Shapes::StructureShape.new(name: 'StartReportCreationOutput')
|
72
|
-
Status = Shapes::StringShape.new(name: 'Status')
|
73
36
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
74
|
-
Summary = Shapes::StructureShape.new(name: 'Summary')
|
75
|
-
SummaryList = Shapes::ListShape.new(name: 'SummaryList')
|
76
37
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
77
38
|
TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
|
78
39
|
TagFilterList = Shapes::ListShape.new(name: 'TagFilterList')
|
79
40
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
80
|
-
TagKeyFilterList = Shapes::ListShape.new(name: 'TagKeyFilterList')
|
81
41
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
82
42
|
TagKeyListForUntag = Shapes::ListShape.new(name: 'TagKeyListForUntag')
|
83
43
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
@@ -88,45 +48,10 @@ module Aws::ResourceGroupsTaggingAPI
|
|
88
48
|
TagValueList = Shapes::ListShape.new(name: 'TagValueList')
|
89
49
|
TagValuesOutputList = Shapes::ListShape.new(name: 'TagValuesOutputList')
|
90
50
|
TagsPerPage = Shapes::IntegerShape.new(name: 'TagsPerPage')
|
91
|
-
TargetId = Shapes::StringShape.new(name: 'TargetId')
|
92
|
-
TargetIdFilterList = Shapes::ListShape.new(name: 'TargetIdFilterList')
|
93
51
|
ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
|
94
52
|
UntagResourcesInput = Shapes::StructureShape.new(name: 'UntagResourcesInput')
|
95
53
|
UntagResourcesOutput = Shapes::StructureShape.new(name: 'UntagResourcesOutput')
|
96
54
|
|
97
|
-
ComplianceDetails.add_member(:missing_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "MissingKeys"))
|
98
|
-
ComplianceDetails.add_member(:invalid_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "InvalidKeys"))
|
99
|
-
ComplianceDetails.add_member(:invalid_values, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "InvalidValues"))
|
100
|
-
ComplianceDetails.add_member(:compliance_status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "ComplianceStatus"))
|
101
|
-
ComplianceDetails.struct_class = Types::ComplianceDetails
|
102
|
-
|
103
|
-
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
104
|
-
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
105
|
-
|
106
|
-
ConstraintViolationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
107
|
-
ConstraintViolationException.struct_class = Types::ConstraintViolationException
|
108
|
-
|
109
|
-
DeleteTagPolicyInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "TargetId"))
|
110
|
-
DeleteTagPolicyInput.struct_class = Types::DeleteTagPolicyInput
|
111
|
-
|
112
|
-
DeleteTagPolicyOutput.struct_class = Types::DeleteTagPolicyOutput
|
113
|
-
|
114
|
-
DescribeReportCreationInput.struct_class = Types::DescribeReportCreationInput
|
115
|
-
|
116
|
-
DescribeReportCreationOutput.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
117
|
-
DescribeReportCreationOutput.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "S3Location"))
|
118
|
-
DescribeReportCreationOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
119
|
-
DescribeReportCreationOutput.struct_class = Types::DescribeReportCreationOutput
|
120
|
-
|
121
|
-
DisableTagPoliciesInput.struct_class = Types::DisableTagPoliciesInput
|
122
|
-
|
123
|
-
DisableTagPoliciesOutput.struct_class = Types::DisableTagPoliciesOutput
|
124
|
-
|
125
|
-
EnableTagPoliciesInput.add_member(:root_id, Shapes::ShapeRef.new(shape: RootId, required: true, location_name: "RootId"))
|
126
|
-
EnableTagPoliciesInput.struct_class = Types::EnableTagPoliciesInput
|
127
|
-
|
128
|
-
EnableTagPoliciesOutput.struct_class = Types::EnableTagPoliciesOutput
|
129
|
-
|
130
55
|
FailedResourcesMap.key = Shapes::ShapeRef.new(shape: ResourceARN)
|
131
56
|
FailedResourcesMap.value = Shapes::ShapeRef.new(shape: FailureInfo)
|
132
57
|
|
@@ -135,34 +60,11 @@ module Aws::ResourceGroupsTaggingAPI
|
|
135
60
|
FailureInfo.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
136
61
|
FailureInfo.struct_class = Types::FailureInfo
|
137
62
|
|
138
|
-
GetComplianceSummaryInput.add_member(:target_id_filters, Shapes::ShapeRef.new(shape: TargetIdFilterList, location_name: "TargetIdFilters"))
|
139
|
-
GetComplianceSummaryInput.add_member(:region_filters, Shapes::ShapeRef.new(shape: RegionFilterList, location_name: "RegionFilters"))
|
140
|
-
GetComplianceSummaryInput.add_member(:resource_type_filters, Shapes::ShapeRef.new(shape: ResourceTypeFilterList, location_name: "ResourceTypeFilters"))
|
141
|
-
GetComplianceSummaryInput.add_member(:tag_key_filters, Shapes::ShapeRef.new(shape: TagKeyFilterList, location_name: "TagKeyFilters"))
|
142
|
-
GetComplianceSummaryInput.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupBy, location_name: "GroupBy"))
|
143
|
-
GetComplianceSummaryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsGetComplianceSummary, location_name: "MaxResults"))
|
144
|
-
GetComplianceSummaryInput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
145
|
-
GetComplianceSummaryInput.struct_class = Types::GetComplianceSummaryInput
|
146
|
-
|
147
|
-
GetComplianceSummaryOutput.add_member(:summary_list, Shapes::ShapeRef.new(shape: SummaryList, location_name: "SummaryList"))
|
148
|
-
GetComplianceSummaryOutput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
149
|
-
GetComplianceSummaryOutput.struct_class = Types::GetComplianceSummaryOutput
|
150
|
-
|
151
|
-
GetEffectiveTagPolicyInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "TargetId"))
|
152
|
-
GetEffectiveTagPolicyInput.struct_class = Types::GetEffectiveTagPolicyInput
|
153
|
-
|
154
|
-
GetEffectiveTagPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
155
|
-
GetEffectiveTagPolicyOutput.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
|
156
|
-
GetEffectiveTagPolicyOutput.struct_class = Types::GetEffectiveTagPolicyOutput
|
157
|
-
|
158
63
|
GetResourcesInput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
159
64
|
GetResourcesInput.add_member(:tag_filters, Shapes::ShapeRef.new(shape: TagFilterList, location_name: "TagFilters"))
|
160
65
|
GetResourcesInput.add_member(:resources_per_page, Shapes::ShapeRef.new(shape: ResourcesPerPage, location_name: "ResourcesPerPage"))
|
161
66
|
GetResourcesInput.add_member(:tags_per_page, Shapes::ShapeRef.new(shape: TagsPerPage, location_name: "TagsPerPage"))
|
162
67
|
GetResourcesInput.add_member(:resource_type_filters, Shapes::ShapeRef.new(shape: ResourceTypeFilterList, location_name: "ResourceTypeFilters"))
|
163
|
-
GetResourcesInput.add_member(:include_compliance_details, Shapes::ShapeRef.new(shape: IncludeComplianceDetails, location_name: "IncludeComplianceDetails"))
|
164
|
-
GetResourcesInput.add_member(:exclude_compliant_resources, Shapes::ShapeRef.new(shape: ExcludeCompliantResources, location_name: "ExcludeCompliantResources"))
|
165
|
-
GetResourcesInput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
166
68
|
GetResourcesInput.struct_class = Types::GetResourcesInput
|
167
69
|
|
168
70
|
GetResourcesOutput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
@@ -170,31 +72,20 @@ module Aws::ResourceGroupsTaggingAPI
|
|
170
72
|
GetResourcesOutput.struct_class = Types::GetResourcesOutput
|
171
73
|
|
172
74
|
GetTagKeysInput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
173
|
-
GetTagKeysInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultTagsDS1, location_name: "MaxResults"))
|
174
75
|
GetTagKeysInput.struct_class = Types::GetTagKeysInput
|
175
76
|
|
176
77
|
GetTagKeysOutput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
177
78
|
GetTagKeysOutput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "TagKeys"))
|
178
79
|
GetTagKeysOutput.struct_class = Types::GetTagKeysOutput
|
179
80
|
|
180
|
-
GetTagPolicyInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "TargetId"))
|
181
|
-
GetTagPolicyInput.struct_class = Types::GetTagPolicyInput
|
182
|
-
|
183
|
-
GetTagPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
184
|
-
GetTagPolicyOutput.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
|
185
|
-
GetTagPolicyOutput.struct_class = Types::GetTagPolicyOutput
|
186
|
-
|
187
81
|
GetTagValuesInput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
188
82
|
GetTagValuesInput.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
189
|
-
GetTagValuesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultTagsDS1, location_name: "MaxResults"))
|
190
83
|
GetTagValuesInput.struct_class = Types::GetTagValuesInput
|
191
84
|
|
192
85
|
GetTagValuesOutput.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "PaginationToken"))
|
193
86
|
GetTagValuesOutput.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValuesOutputList, location_name: "TagValues"))
|
194
87
|
GetTagValuesOutput.struct_class = Types::GetTagValuesOutput
|
195
88
|
|
196
|
-
GroupBy.member = Shapes::ShapeRef.new(shape: GroupByAttribute)
|
197
|
-
|
198
89
|
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
199
90
|
InternalServiceException.struct_class = Types::InternalServiceException
|
200
91
|
|
@@ -204,39 +95,16 @@ module Aws::ResourceGroupsTaggingAPI
|
|
204
95
|
PaginationTokenExpiredException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
205
96
|
PaginationTokenExpiredException.struct_class = Types::PaginationTokenExpiredException
|
206
97
|
|
207
|
-
PutTagPolicyInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "TargetId"))
|
208
|
-
PutTagPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
209
|
-
PutTagPolicyInput.struct_class = Types::PutTagPolicyInput
|
210
|
-
|
211
|
-
PutTagPolicyOutput.struct_class = Types::PutTagPolicyOutput
|
212
|
-
|
213
|
-
RegionFilterList.member = Shapes::ShapeRef.new(shape: Region)
|
214
|
-
|
215
98
|
ResourceARNList.member = Shapes::ShapeRef.new(shape: ResourceARN)
|
216
99
|
|
217
100
|
ResourceTagMapping.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
|
218
101
|
ResourceTagMapping.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
219
|
-
ResourceTagMapping.add_member(:compliance_details, Shapes::ShapeRef.new(shape: ComplianceDetails, location_name: "ComplianceDetails"))
|
220
102
|
ResourceTagMapping.struct_class = Types::ResourceTagMapping
|
221
103
|
|
222
104
|
ResourceTagMappingList.member = Shapes::ShapeRef.new(shape: ResourceTagMapping)
|
223
105
|
|
224
106
|
ResourceTypeFilterList.member = Shapes::ShapeRef.new(shape: AmazonResourceType)
|
225
107
|
|
226
|
-
StartReportCreationInput.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
227
|
-
StartReportCreationInput.struct_class = Types::StartReportCreationInput
|
228
|
-
|
229
|
-
StartReportCreationOutput.struct_class = Types::StartReportCreationOutput
|
230
|
-
|
231
|
-
Summary.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
|
232
|
-
Summary.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "TargetId"))
|
233
|
-
Summary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
234
|
-
Summary.add_member(:resource_type, Shapes::ShapeRef.new(shape: AmazonResourceType, location_name: "ResourceType"))
|
235
|
-
Summary.add_member(:non_compliant_resources, Shapes::ShapeRef.new(shape: NonCompliantResources, location_name: "NonCompliantResources"))
|
236
|
-
Summary.struct_class = Types::Summary
|
237
|
-
|
238
|
-
SummaryList.member = Shapes::ShapeRef.new(shape: Summary)
|
239
|
-
|
240
108
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
241
109
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
242
110
|
Tag.struct_class = Types::Tag
|
@@ -247,8 +115,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
247
115
|
|
248
116
|
TagFilterList.member = Shapes::ShapeRef.new(shape: TagFilter)
|
249
117
|
|
250
|
-
TagKeyFilterList.member = Shapes::ShapeRef.new(shape: TagKey)
|
251
|
-
|
252
118
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
253
119
|
|
254
120
|
TagKeyListForUntag.member = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -269,8 +135,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
269
135
|
|
270
136
|
TagValuesOutputList.member = Shapes::ShapeRef.new(shape: TagValue)
|
271
137
|
|
272
|
-
TargetIdFilterList.member = Shapes::ShapeRef.new(shape: TargetId)
|
273
|
-
|
274
138
|
ThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
275
139
|
ThrottledException.struct_class = Types::ThrottledException
|
276
140
|
|
@@ -299,88 +163,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
299
163
|
"uid" => "resourcegroupstaggingapi-2017-01-26",
|
300
164
|
}
|
301
165
|
|
302
|
-
api.add_operation(:delete_tag_policy, Seahorse::Model::Operation.new.tap do |o|
|
303
|
-
o.name = "DeleteTagPolicy"
|
304
|
-
o.http_method = "POST"
|
305
|
-
o.http_request_uri = "/"
|
306
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteTagPolicyInput)
|
307
|
-
o.output = Shapes::ShapeRef.new(shape: DeleteTagPolicyOutput)
|
308
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
309
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
310
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
311
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
312
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
313
|
-
end)
|
314
|
-
|
315
|
-
api.add_operation(:describe_report_creation, Seahorse::Model::Operation.new.tap do |o|
|
316
|
-
o.name = "DescribeReportCreation"
|
317
|
-
o.http_method = "POST"
|
318
|
-
o.http_request_uri = "/"
|
319
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeReportCreationInput)
|
320
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeReportCreationOutput)
|
321
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
322
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
323
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
324
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
325
|
-
end)
|
326
|
-
|
327
|
-
api.add_operation(:disable_tag_policies, Seahorse::Model::Operation.new.tap do |o|
|
328
|
-
o.name = "DisableTagPolicies"
|
329
|
-
o.http_method = "POST"
|
330
|
-
o.http_request_uri = "/"
|
331
|
-
o.input = Shapes::ShapeRef.new(shape: DisableTagPoliciesInput)
|
332
|
-
o.output = Shapes::ShapeRef.new(shape: DisableTagPoliciesOutput)
|
333
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
334
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
335
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
336
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
337
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
338
|
-
end)
|
339
|
-
|
340
|
-
api.add_operation(:enable_tag_policies, Seahorse::Model::Operation.new.tap do |o|
|
341
|
-
o.name = "EnableTagPolicies"
|
342
|
-
o.http_method = "POST"
|
343
|
-
o.http_request_uri = "/"
|
344
|
-
o.input = Shapes::ShapeRef.new(shape: EnableTagPoliciesInput)
|
345
|
-
o.output = Shapes::ShapeRef.new(shape: EnableTagPoliciesOutput)
|
346
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
347
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
348
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
349
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
350
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
351
|
-
end)
|
352
|
-
|
353
|
-
api.add_operation(:get_compliance_summary, Seahorse::Model::Operation.new.tap do |o|
|
354
|
-
o.name = "GetComplianceSummary"
|
355
|
-
o.http_method = "POST"
|
356
|
-
o.http_request_uri = "/"
|
357
|
-
o.input = Shapes::ShapeRef.new(shape: GetComplianceSummaryInput)
|
358
|
-
o.output = Shapes::ShapeRef.new(shape: GetComplianceSummaryOutput)
|
359
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
360
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
361
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
362
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
363
|
-
o[:pager] = Aws::Pager.new(
|
364
|
-
limit_key: "max_results",
|
365
|
-
tokens: {
|
366
|
-
"pagination_token" => "pagination_token"
|
367
|
-
}
|
368
|
-
)
|
369
|
-
end)
|
370
|
-
|
371
|
-
api.add_operation(:get_effective_tag_policy, Seahorse::Model::Operation.new.tap do |o|
|
372
|
-
o.name = "GetEffectiveTagPolicy"
|
373
|
-
o.http_method = "POST"
|
374
|
-
o.http_request_uri = "/"
|
375
|
-
o.input = Shapes::ShapeRef.new(shape: GetEffectiveTagPolicyInput)
|
376
|
-
o.output = Shapes::ShapeRef.new(shape: GetEffectiveTagPolicyOutput)
|
377
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
378
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
379
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
380
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
381
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
382
|
-
end)
|
383
|
-
|
384
166
|
api.add_operation(:get_resources, Seahorse::Model::Operation.new.tap do |o|
|
385
167
|
o.name = "GetResources"
|
386
168
|
o.http_method = "POST"
|
@@ -416,18 +198,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
416
198
|
)
|
417
199
|
end)
|
418
200
|
|
419
|
-
api.add_operation(:get_tag_policy, Seahorse::Model::Operation.new.tap do |o|
|
420
|
-
o.name = "GetTagPolicy"
|
421
|
-
o.http_method = "POST"
|
422
|
-
o.http_request_uri = "/"
|
423
|
-
o.input = Shapes::ShapeRef.new(shape: GetTagPolicyInput)
|
424
|
-
o.output = Shapes::ShapeRef.new(shape: GetTagPolicyOutput)
|
425
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
426
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
427
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
428
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
429
|
-
end)
|
430
|
-
|
431
201
|
api.add_operation(:get_tag_values, Seahorse::Model::Operation.new.tap do |o|
|
432
202
|
o.name = "GetTagValues"
|
433
203
|
o.http_method = "POST"
|
@@ -445,32 +215,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
445
215
|
)
|
446
216
|
end)
|
447
217
|
|
448
|
-
api.add_operation(:put_tag_policy, Seahorse::Model::Operation.new.tap do |o|
|
449
|
-
o.name = "PutTagPolicy"
|
450
|
-
o.http_method = "POST"
|
451
|
-
o.http_request_uri = "/"
|
452
|
-
o.input = Shapes::ShapeRef.new(shape: PutTagPolicyInput)
|
453
|
-
o.output = Shapes::ShapeRef.new(shape: PutTagPolicyOutput)
|
454
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
455
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
456
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
457
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
458
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
459
|
-
end)
|
460
|
-
|
461
|
-
api.add_operation(:start_report_creation, Seahorse::Model::Operation.new.tap do |o|
|
462
|
-
o.name = "StartReportCreation"
|
463
|
-
o.http_method = "POST"
|
464
|
-
o.http_request_uri = "/"
|
465
|
-
o.input = Shapes::ShapeRef.new(shape: StartReportCreationInput)
|
466
|
-
o.output = Shapes::ShapeRef.new(shape: StartReportCreationOutput)
|
467
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
468
|
-
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
469
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
470
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
471
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
472
|
-
end)
|
473
|
-
|
474
218
|
api.add_operation(:tag_resources, Seahorse::Model::Operation.new.tap do |o|
|
475
219
|
o.name = "TagResources"
|
476
220
|
o.http_method = "POST"
|
@@ -10,38 +10,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
-
class ConcurrentModificationException < ServiceError
|
14
|
-
|
15
|
-
# @param [Seahorse::Client::RequestContext] context
|
16
|
-
# @param [String] message
|
17
|
-
# @param [Aws::ResourceGroupsTaggingAPI::Types::ConcurrentModificationException] data
|
18
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
-
super(context, message, data)
|
20
|
-
end
|
21
|
-
|
22
|
-
# @return [String]
|
23
|
-
def message
|
24
|
-
@message || @data[:message]
|
25
|
-
end
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
class ConstraintViolationException < ServiceError
|
30
|
-
|
31
|
-
# @param [Seahorse::Client::RequestContext] context
|
32
|
-
# @param [String] message
|
33
|
-
# @param [Aws::ResourceGroupsTaggingAPI::Types::ConstraintViolationException] data
|
34
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
-
super(context, message, data)
|
36
|
-
end
|
37
|
-
|
38
|
-
# @return [String]
|
39
|
-
def message
|
40
|
-
@message || @data[:message]
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
44
|
-
|
45
13
|
class InternalServiceException < ServiceError
|
46
14
|
|
47
15
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -8,178 +8,6 @@
|
|
8
8
|
module Aws::ResourceGroupsTaggingAPI
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# Details on whether a resource is compliant with the effective tag
|
12
|
-
# policy, including information any noncompliant tag keys.
|
13
|
-
#
|
14
|
-
# @!attribute [rw] missing_keys
|
15
|
-
# A tag key that is required by the effective tag policy is missing.
|
16
|
-
# @return [Array<String>]
|
17
|
-
#
|
18
|
-
# @!attribute [rw] invalid_keys
|
19
|
-
# The tag key is noncompliant with the effective tag policy.
|
20
|
-
# @return [Array<String>]
|
21
|
-
#
|
22
|
-
# @!attribute [rw] invalid_values
|
23
|
-
# The tag value is noncompliant with the effective tag policy.
|
24
|
-
# @return [Array<String>]
|
25
|
-
#
|
26
|
-
# @!attribute [rw] compliance_status
|
27
|
-
# Whether a resource is compliant with the effective tag policy.
|
28
|
-
# @return [Boolean]
|
29
|
-
#
|
30
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/ComplianceDetails AWS API Documentation
|
31
|
-
#
|
32
|
-
class ComplianceDetails < Struct.new(
|
33
|
-
:missing_keys,
|
34
|
-
:invalid_keys,
|
35
|
-
:invalid_values,
|
36
|
-
:compliance_status)
|
37
|
-
include Aws::Structure
|
38
|
-
end
|
39
|
-
|
40
|
-
# The target of the operation is currently being modified by a different
|
41
|
-
# request. Try again later.
|
42
|
-
#
|
43
|
-
# @!attribute [rw] message
|
44
|
-
# @return [String]
|
45
|
-
#
|
46
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/ConcurrentModificationException AWS API Documentation
|
47
|
-
#
|
48
|
-
class ConcurrentModificationException < Struct.new(
|
49
|
-
:message)
|
50
|
-
include Aws::Structure
|
51
|
-
end
|
52
|
-
|
53
|
-
# The request was denied as performing this operation violates a
|
54
|
-
# constraint.
|
55
|
-
#
|
56
|
-
# Some of the reasons in the following list might not apply to this
|
57
|
-
# specific API or operation:
|
58
|
-
#
|
59
|
-
# * Your account must be part of an organization, and you must enable
|
60
|
-
# all features in AWS Organizations. [Set Up Permissions][1] in the
|
61
|
-
# *AWS Resource Groups User Guide.*
|
62
|
-
#
|
63
|
-
# * The previous report expired.
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# [1]: http://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-prereqs.html#rg-permissions
|
68
|
-
#
|
69
|
-
# @!attribute [rw] message
|
70
|
-
# @return [String]
|
71
|
-
#
|
72
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/ConstraintViolationException AWS API Documentation
|
73
|
-
#
|
74
|
-
class ConstraintViolationException < Struct.new(
|
75
|
-
:message)
|
76
|
-
include Aws::Structure
|
77
|
-
end
|
78
|
-
|
79
|
-
# @note When making an API call, you may pass DeleteTagPolicyInput
|
80
|
-
# data as a hash:
|
81
|
-
#
|
82
|
-
# {
|
83
|
-
# target_id: "TargetId", # required
|
84
|
-
# }
|
85
|
-
#
|
86
|
-
# @!attribute [rw] target_id
|
87
|
-
# The account ID or the root identifier of the organization. If you
|
88
|
-
# don't know the root ID, you can call the AWS Organizations
|
89
|
-
# [ListRoots][1] API to find it.
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html
|
94
|
-
# @return [String]
|
95
|
-
#
|
96
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DeleteTagPolicyInput AWS API Documentation
|
97
|
-
#
|
98
|
-
class DeleteTagPolicyInput < Struct.new(
|
99
|
-
:target_id)
|
100
|
-
include Aws::Structure
|
101
|
-
end
|
102
|
-
|
103
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DeleteTagPolicyOutput AWS API Documentation
|
104
|
-
#
|
105
|
-
class DeleteTagPolicyOutput < Aws::EmptyStructure; end
|
106
|
-
|
107
|
-
# @api private
|
108
|
-
#
|
109
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DescribeReportCreationInput AWS API Documentation
|
110
|
-
#
|
111
|
-
class DescribeReportCreationInput < Aws::EmptyStructure; end
|
112
|
-
|
113
|
-
# @!attribute [rw] status
|
114
|
-
# Reports the status of the operation.
|
115
|
-
#
|
116
|
-
# The operation status can be one of the following:
|
117
|
-
#
|
118
|
-
# * `RUNNING`\: Report generation is in progress.
|
119
|
-
#
|
120
|
-
# * `SUCCEEDED`\: Report generation is complete. You can open the
|
121
|
-
# report from the Amazon S3 bucket you specified when you ran
|
122
|
-
# `StartReportGeneration`.
|
123
|
-
#
|
124
|
-
# * `FAILED`\: Report generation timed out or the Amazon S3 bucket is
|
125
|
-
# not accessible.
|
126
|
-
# @return [String]
|
127
|
-
#
|
128
|
-
# @!attribute [rw] s3_location
|
129
|
-
# The path to the Amazon S3 bucket where the report is stored.
|
130
|
-
# @return [String]
|
131
|
-
#
|
132
|
-
# @!attribute [rw] error_message
|
133
|
-
# Details of the common errors that all operations return.
|
134
|
-
# @return [String]
|
135
|
-
#
|
136
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DescribeReportCreationOutput AWS API Documentation
|
137
|
-
#
|
138
|
-
class DescribeReportCreationOutput < Struct.new(
|
139
|
-
:status,
|
140
|
-
:s3_location,
|
141
|
-
:error_message)
|
142
|
-
include Aws::Structure
|
143
|
-
end
|
144
|
-
|
145
|
-
# @api private
|
146
|
-
#
|
147
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DisableTagPoliciesInput AWS API Documentation
|
148
|
-
#
|
149
|
-
class DisableTagPoliciesInput < Aws::EmptyStructure; end
|
150
|
-
|
151
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DisableTagPoliciesOutput AWS API Documentation
|
152
|
-
#
|
153
|
-
class DisableTagPoliciesOutput < Aws::EmptyStructure; end
|
154
|
-
|
155
|
-
# @note When making an API call, you may pass EnableTagPoliciesInput
|
156
|
-
# data as a hash:
|
157
|
-
#
|
158
|
-
# {
|
159
|
-
# root_id: "RootId", # required
|
160
|
-
# }
|
161
|
-
#
|
162
|
-
# @!attribute [rw] root_id
|
163
|
-
# The root identifier of the organization. If you don't know the root
|
164
|
-
# ID, you can call the AWS Organizations [ListRoots][1] API to find
|
165
|
-
# it.
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html
|
170
|
-
# @return [String]
|
171
|
-
#
|
172
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/EnableTagPoliciesInput AWS API Documentation
|
173
|
-
#
|
174
|
-
class EnableTagPoliciesInput < Struct.new(
|
175
|
-
:root_id)
|
176
|
-
include Aws::Structure
|
177
|
-
end
|
178
|
-
|
179
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/EnableTagPoliciesOutput AWS API Documentation
|
180
|
-
#
|
181
|
-
class EnableTagPoliciesOutput < Aws::EmptyStructure; end
|
182
|
-
|
183
11
|
# Details of the common errors that all actions return.
|
184
12
|
#
|
185
13
|
# @!attribute [rw] status_code
|
@@ -206,152 +34,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
206
34
|
include Aws::Structure
|
207
35
|
end
|
208
36
|
|
209
|
-
# @note When making an API call, you may pass GetComplianceSummaryInput
|
210
|
-
# data as a hash:
|
211
|
-
#
|
212
|
-
# {
|
213
|
-
# target_id_filters: ["TargetId"],
|
214
|
-
# region_filters: ["Region"],
|
215
|
-
# resource_type_filters: ["AmazonResourceType"],
|
216
|
-
# tag_key_filters: ["TagKey"],
|
217
|
-
# group_by: ["TARGET_ID"], # accepts TARGET_ID, REGION, RESOURCE_TYPE
|
218
|
-
# max_results: 1,
|
219
|
-
# pagination_token: "PaginationToken",
|
220
|
-
# }
|
221
|
-
#
|
222
|
-
# @!attribute [rw] target_id_filters
|
223
|
-
# The target identifiers (usually, specific account IDs) to limit the
|
224
|
-
# output by. If you use this parameter, the count of returned
|
225
|
-
# noncompliant resources includes only resources in the specified
|
226
|
-
# target IDs.
|
227
|
-
# @return [Array<String>]
|
228
|
-
#
|
229
|
-
# @!attribute [rw] region_filters
|
230
|
-
# A list of Regions to limit the output by. If you use this parameter,
|
231
|
-
# the count of returned noncompliant resources includes only resources
|
232
|
-
# in the specified Regions.
|
233
|
-
# @return [Array<String>]
|
234
|
-
#
|
235
|
-
# @!attribute [rw] resource_type_filters
|
236
|
-
# The constraints on the resources that you want returned. The format
|
237
|
-
# of each resource type is `service[:resourceType]`. For example,
|
238
|
-
# specifying a resource type of `ec2` returns all Amazon EC2 resources
|
239
|
-
# (which includes EC2 instances). Specifying a resource type of
|
240
|
-
# `ec2:instance` returns only EC2 instances.
|
241
|
-
#
|
242
|
-
# The string for each service name and resource type is the same as
|
243
|
-
# that embedded in a resource's Amazon Resource Name (ARN). Consult
|
244
|
-
# the *AWS General Reference* for the following:
|
245
|
-
#
|
246
|
-
# * For a list of service name strings, see [AWS Service
|
247
|
-
# Namespaces][1].
|
248
|
-
#
|
249
|
-
# * For resource type strings, see [Example ARNs][2].
|
250
|
-
#
|
251
|
-
# * For more information about ARNs, see [Amazon Resource Names (ARNs)
|
252
|
-
# and AWS Service Namespaces][3].
|
253
|
-
#
|
254
|
-
# You can specify multiple resource types by using an array. The array
|
255
|
-
# can include up to 100 items. Note that the length constraint
|
256
|
-
# requirement applies to each resource type filter.
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
# [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
|
261
|
-
# [2]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-syntax
|
262
|
-
# [3]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
263
|
-
# @return [Array<String>]
|
264
|
-
#
|
265
|
-
# @!attribute [rw] tag_key_filters
|
266
|
-
# A list of tag keys to limit the output by. If you use this
|
267
|
-
# parameter, the count of returned noncompliant resources includes
|
268
|
-
# only resources that have the specified tag keys.
|
269
|
-
# @return [Array<String>]
|
270
|
-
#
|
271
|
-
# @!attribute [rw] group_by
|
272
|
-
# A list of attributes to group the counts of noncompliant resources
|
273
|
-
# by. If supplied, the counts are sorted by those attributes.
|
274
|
-
# @return [Array<String>]
|
275
|
-
#
|
276
|
-
# @!attribute [rw] max_results
|
277
|
-
# A limit that restricts the number of results that are returned per
|
278
|
-
# page.
|
279
|
-
# @return [Integer]
|
280
|
-
#
|
281
|
-
# @!attribute [rw] pagination_token
|
282
|
-
# A string that indicates that additional data is available. Leave
|
283
|
-
# this value empty for your initial request. If the response includes
|
284
|
-
# a `PaginationToken`, use that string for this value to request an
|
285
|
-
# additional page of data.
|
286
|
-
# @return [String]
|
287
|
-
#
|
288
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetComplianceSummaryInput AWS API Documentation
|
289
|
-
#
|
290
|
-
class GetComplianceSummaryInput < Struct.new(
|
291
|
-
:target_id_filters,
|
292
|
-
:region_filters,
|
293
|
-
:resource_type_filters,
|
294
|
-
:tag_key_filters,
|
295
|
-
:group_by,
|
296
|
-
:max_results,
|
297
|
-
:pagination_token)
|
298
|
-
include Aws::Structure
|
299
|
-
end
|
300
|
-
|
301
|
-
# @!attribute [rw] summary_list
|
302
|
-
# A table that shows counts of noncompliant resources.
|
303
|
-
# @return [Array<Types::Summary>]
|
304
|
-
#
|
305
|
-
# @!attribute [rw] pagination_token
|
306
|
-
# A string that indicates that the response contains more data than
|
307
|
-
# can be returned in a single response. To receive additional data,
|
308
|
-
# specify this string for the `PaginationToken` value in a subsequent
|
309
|
-
# request.
|
310
|
-
# @return [String]
|
311
|
-
#
|
312
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetComplianceSummaryOutput AWS API Documentation
|
313
|
-
#
|
314
|
-
class GetComplianceSummaryOutput < Struct.new(
|
315
|
-
:summary_list,
|
316
|
-
:pagination_token)
|
317
|
-
include Aws::Structure
|
318
|
-
end
|
319
|
-
|
320
|
-
# @note When making an API call, you may pass GetEffectiveTagPolicyInput
|
321
|
-
# data as a hash:
|
322
|
-
#
|
323
|
-
# {
|
324
|
-
# target_id: "TargetId",
|
325
|
-
# }
|
326
|
-
#
|
327
|
-
# @!attribute [rw] target_id
|
328
|
-
# The unique identifier of the organization root or account whose tag
|
329
|
-
# policy you want returned.
|
330
|
-
# @return [String]
|
331
|
-
#
|
332
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetEffectiveTagPolicyInput AWS API Documentation
|
333
|
-
#
|
334
|
-
class GetEffectiveTagPolicyInput < Struct.new(
|
335
|
-
:target_id)
|
336
|
-
include Aws::Structure
|
337
|
-
end
|
338
|
-
|
339
|
-
# @!attribute [rw] policy
|
340
|
-
# The contents of the tag policy that is effective for this account.
|
341
|
-
# @return [String]
|
342
|
-
#
|
343
|
-
# @!attribute [rw] last_updated
|
344
|
-
# The last time this tag policy was updated.
|
345
|
-
# @return [Time]
|
346
|
-
#
|
347
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetEffectiveTagPolicyOutput AWS API Documentation
|
348
|
-
#
|
349
|
-
class GetEffectiveTagPolicyOutput < Struct.new(
|
350
|
-
:policy,
|
351
|
-
:last_updated)
|
352
|
-
include Aws::Structure
|
353
|
-
end
|
354
|
-
|
355
37
|
# @note When making an API call, you may pass GetResourcesInput
|
356
38
|
# data as a hash:
|
357
39
|
#
|
@@ -366,9 +48,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
366
48
|
# resources_per_page: 1,
|
367
49
|
# tags_per_page: 1,
|
368
50
|
# resource_type_filters: ["AmazonResourceType"],
|
369
|
-
# include_compliance_details: false,
|
370
|
-
# exclude_compliant_resources: false,
|
371
|
-
# policy: "Policy",
|
372
51
|
# }
|
373
52
|
#
|
374
53
|
# @!attribute [rw] pagination_token
|
@@ -404,19 +83,20 @@ module Aws::ResourceGroupsTaggingAPI
|
|
404
83
|
# * If you don't specify any values for a key, the response returns
|
405
84
|
# resources that are tagged with that key irrespective of the value.
|
406
85
|
#
|
407
|
-
# For example, for filters:
|
408
|
-
# =
|
86
|
+
# For example, for filters: filter1 = \\\{key1, \\\{value1\\}\\},
|
87
|
+
# filter2 = \\\{key2, \\\{value2,value3,value4\\}\\} , filter3 =
|
88
|
+
# \\\{key3\\}:
|
409
89
|
#
|
410
|
-
# *
|
90
|
+
# * GetResources( \\\{filter1\\} ) returns resources tagged with
|
411
91
|
# key1=value1
|
412
92
|
#
|
413
|
-
# *
|
93
|
+
# * GetResources( \\\{filter2\\} ) returns resources tagged with
|
414
94
|
# key2=value2 or key2=value3 or key2=value4
|
415
95
|
#
|
416
|
-
# *
|
96
|
+
# * GetResources( \\\{filter3\\} ) returns resources tagged with any
|
417
97
|
# tag containing key3 as its tag key, irrespective of its value
|
418
98
|
#
|
419
|
-
# *
|
99
|
+
# * GetResources( \\\{filter1,filter2,filter3\\} ) returns resources
|
420
100
|
# tagged with ( key1=value1) and ( key2=value2 or key2=value3 or
|
421
101
|
# key2=value4) and (key3, irrespective of the value)
|
422
102
|
# @return [Array<Types::TagFilter>]
|
@@ -478,32 +158,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
478
158
|
# [3]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
479
159
|
# @return [Array<String>]
|
480
160
|
#
|
481
|
-
# @!attribute [rw] include_compliance_details
|
482
|
-
# Specifies whether to include details regarding the compliance with
|
483
|
-
# the effective tag policy. Set this to `true` to determine whether
|
484
|
-
# resources are compliant with the tag policy and to get details.
|
485
|
-
# @return [Boolean]
|
486
|
-
#
|
487
|
-
# @!attribute [rw] exclude_compliant_resources
|
488
|
-
# Specifies whether to exclude resources that are compliant with the
|
489
|
-
# tag policy. Set this to `true` if you are interested in retrieving
|
490
|
-
# information on noncompliant resources only.
|
491
|
-
#
|
492
|
-
# You can use this parameter only if the `IncludeComplianceDetails`
|
493
|
-
# parameter is also set to `true`.
|
494
|
-
# @return [Boolean]
|
495
|
-
#
|
496
|
-
# @!attribute [rw] policy
|
497
|
-
# The tag policy to check resources against for compliance. If
|
498
|
-
# supplied, the compliance check follows the specified tag policy
|
499
|
-
# instead of following the effective tag policy. Using this parameter
|
500
|
-
# to specify a tag policy is useful for testing new tag policies
|
501
|
-
# before attaching them to a target.
|
502
|
-
#
|
503
|
-
# You can only use this parameter if the `IncludeComplianceDetails`
|
504
|
-
# parameter is also set to `true`.
|
505
|
-
# @return [String]
|
506
|
-
#
|
507
161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetResourcesInput AWS API Documentation
|
508
162
|
#
|
509
163
|
class GetResourcesInput < Struct.new(
|
@@ -511,10 +165,7 @@ module Aws::ResourceGroupsTaggingAPI
|
|
511
165
|
:tag_filters,
|
512
166
|
:resources_per_page,
|
513
167
|
:tags_per_page,
|
514
|
-
:resource_type_filters
|
515
|
-
:include_compliance_details,
|
516
|
-
:exclude_compliant_resources,
|
517
|
-
:policy)
|
168
|
+
:resource_type_filters)
|
518
169
|
include Aws::Structure
|
519
170
|
end
|
520
171
|
|
@@ -543,26 +194,19 @@ module Aws::ResourceGroupsTaggingAPI
|
|
543
194
|
#
|
544
195
|
# {
|
545
196
|
# pagination_token: "PaginationToken",
|
546
|
-
# max_results: 1,
|
547
197
|
# }
|
548
198
|
#
|
549
199
|
# @!attribute [rw] pagination_token
|
550
200
|
# A string that indicates that additional data is available. Leave
|
551
201
|
# this value empty for your initial request. If the response includes
|
552
|
-
# a
|
202
|
+
# a PaginationToken, use that string for this value to request an
|
553
203
|
# additional page of data.
|
554
204
|
# @return [String]
|
555
205
|
#
|
556
|
-
# @!attribute [rw] max_results
|
557
|
-
# A limit that restricts the number of results that are returned per
|
558
|
-
# page.
|
559
|
-
# @return [Integer]
|
560
|
-
#
|
561
206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagKeysInput AWS API Documentation
|
562
207
|
#
|
563
208
|
class GetTagKeysInput < Struct.new(
|
564
|
-
:pagination_token
|
565
|
-
:max_results)
|
209
|
+
:pagination_token)
|
566
210
|
include Aws::Structure
|
567
211
|
end
|
568
212
|
|
@@ -585,78 +229,31 @@ module Aws::ResourceGroupsTaggingAPI
|
|
585
229
|
include Aws::Structure
|
586
230
|
end
|
587
231
|
|
588
|
-
# @note When making an API call, you may pass GetTagPolicyInput
|
589
|
-
# data as a hash:
|
590
|
-
#
|
591
|
-
# {
|
592
|
-
# target_id: "TargetId", # required
|
593
|
-
# }
|
594
|
-
#
|
595
|
-
# @!attribute [rw] target_id
|
596
|
-
# The account ID or the root identifier of the organization. If you
|
597
|
-
# don't know the root ID, you can call the AWS Organizations
|
598
|
-
# [ListRoots][1] API to find it.
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html
|
603
|
-
# @return [String]
|
604
|
-
#
|
605
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagPolicyInput AWS API Documentation
|
606
|
-
#
|
607
|
-
class GetTagPolicyInput < Struct.new(
|
608
|
-
:target_id)
|
609
|
-
include Aws::Structure
|
610
|
-
end
|
611
|
-
|
612
|
-
# @!attribute [rw] policy
|
613
|
-
# The policy that is attached to the specified target.
|
614
|
-
# @return [String]
|
615
|
-
#
|
616
|
-
# @!attribute [rw] last_updated
|
617
|
-
# The last time this policy was updated.
|
618
|
-
# @return [Time]
|
619
|
-
#
|
620
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagPolicyOutput AWS API Documentation
|
621
|
-
#
|
622
|
-
class GetTagPolicyOutput < Struct.new(
|
623
|
-
:policy,
|
624
|
-
:last_updated)
|
625
|
-
include Aws::Structure
|
626
|
-
end
|
627
|
-
|
628
232
|
# @note When making an API call, you may pass GetTagValuesInput
|
629
233
|
# data as a hash:
|
630
234
|
#
|
631
235
|
# {
|
632
236
|
# pagination_token: "PaginationToken",
|
633
237
|
# key: "TagKey", # required
|
634
|
-
# max_results: 1,
|
635
238
|
# }
|
636
239
|
#
|
637
240
|
# @!attribute [rw] pagination_token
|
638
241
|
# A string that indicates that additional data is available. Leave
|
639
242
|
# this value empty for your initial request. If the response includes
|
640
|
-
# a
|
243
|
+
# a PaginationToken, use that string for this value to request an
|
641
244
|
# additional page of data.
|
642
245
|
# @return [String]
|
643
246
|
#
|
644
247
|
# @!attribute [rw] key
|
645
248
|
# The key for which you want to list all existing values in the
|
646
|
-
# specified
|
249
|
+
# specified region for the AWS account.
|
647
250
|
# @return [String]
|
648
251
|
#
|
649
|
-
# @!attribute [rw] max_results
|
650
|
-
# A limit that restricts the number of results that are returned per
|
651
|
-
# page.
|
652
|
-
# @return [Integer]
|
653
|
-
#
|
654
252
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagValuesInput AWS API Documentation
|
655
253
|
#
|
656
254
|
class GetTagValuesInput < Struct.new(
|
657
255
|
:pagination_token,
|
658
|
-
:key
|
659
|
-
:max_results)
|
256
|
+
:key)
|
660
257
|
include Aws::Structure
|
661
258
|
end
|
662
259
|
|
@@ -692,27 +289,8 @@ module Aws::ResourceGroupsTaggingAPI
|
|
692
289
|
include Aws::Structure
|
693
290
|
end
|
694
291
|
|
695
|
-
#
|
696
|
-
#
|
697
|
-
# * A parameter is missing.
|
698
|
-
#
|
699
|
-
# * A malformed string was supplied for the request parameter.
|
700
|
-
#
|
701
|
-
# * An out-of-range value was supplied for the request parameter.
|
702
|
-
#
|
703
|
-
# * The target ID is invalid, unsupported, or doesn't exist.
|
704
|
-
#
|
705
|
-
# * There is an issue with the tag policy: It exceeds the maximum size
|
706
|
-
# limit, is invalid, or doesn't use JSON syntax.
|
707
|
-
#
|
708
|
-
# * You can't access the Amazon S3 bucket for report storage. For more
|
709
|
-
# information, see [Additional Requirements for Running
|
710
|
-
# Organization-Wide Tag Compliance Report][1] in the *AWS Resource
|
711
|
-
# Groups User Guide.*
|
712
|
-
#
|
713
|
-
#
|
714
|
-
#
|
715
|
-
# [1]: http://docs.aws.amazon.com/ARG/latest/userguide/tag-policies-prereqs.html#bucket-policy-org-report
|
292
|
+
# A parameter is missing or a malformed string or invalid or
|
293
|
+
# out-of-range value was supplied for the request parameter.
|
716
294
|
#
|
717
295
|
# @!attribute [rw] message
|
718
296
|
# @return [String]
|
@@ -737,40 +315,6 @@ module Aws::ResourceGroupsTaggingAPI
|
|
737
315
|
include Aws::Structure
|
738
316
|
end
|
739
317
|
|
740
|
-
# @note When making an API call, you may pass PutTagPolicyInput
|
741
|
-
# data as a hash:
|
742
|
-
#
|
743
|
-
# {
|
744
|
-
# target_id: "TargetId", # required
|
745
|
-
# policy: "Policy", # required
|
746
|
-
# }
|
747
|
-
#
|
748
|
-
# @!attribute [rw] target_id
|
749
|
-
# The account ID or the root identifier of the organization. If you
|
750
|
-
# don't know the root ID, you can call the AWS Organizations
|
751
|
-
# [ListRoots][1] API to find it.
|
752
|
-
#
|
753
|
-
#
|
754
|
-
#
|
755
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html
|
756
|
-
# @return [String]
|
757
|
-
#
|
758
|
-
# @!attribute [rw] policy
|
759
|
-
# The tag policy to attach to the target.
|
760
|
-
# @return [String]
|
761
|
-
#
|
762
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/PutTagPolicyInput AWS API Documentation
|
763
|
-
#
|
764
|
-
class PutTagPolicyInput < Struct.new(
|
765
|
-
:target_id,
|
766
|
-
:policy)
|
767
|
-
include Aws::Structure
|
768
|
-
end
|
769
|
-
|
770
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/PutTagPolicyOutput AWS API Documentation
|
771
|
-
#
|
772
|
-
class PutTagPolicyOutput < Aws::EmptyStructure; end
|
773
|
-
|
774
318
|
# A list of resource ARNs and the tags (keys and values) that are
|
775
319
|
# associated with each.
|
776
320
|
#
|
@@ -782,88 +326,11 @@ module Aws::ResourceGroupsTaggingAPI
|
|
782
326
|
# The tags that have been applied to one or more AWS resources.
|
783
327
|
# @return [Array<Types::Tag>]
|
784
328
|
#
|
785
|
-
# @!attribute [rw] compliance_details
|
786
|
-
# Details on whether a resource is compliant with the effective tag
|
787
|
-
# policy, including information about any noncompliant tag keys.
|
788
|
-
# @return [Types::ComplianceDetails]
|
789
|
-
#
|
790
329
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/ResourceTagMapping AWS API Documentation
|
791
330
|
#
|
792
331
|
class ResourceTagMapping < Struct.new(
|
793
332
|
:resource_arn,
|
794
|
-
:tags
|
795
|
-
:compliance_details)
|
796
|
-
include Aws::Structure
|
797
|
-
end
|
798
|
-
|
799
|
-
# @note When making an API call, you may pass StartReportCreationInput
|
800
|
-
# data as a hash:
|
801
|
-
#
|
802
|
-
# {
|
803
|
-
# s3_bucket: "S3Bucket", # required
|
804
|
-
# }
|
805
|
-
#
|
806
|
-
# @!attribute [rw] s3_bucket
|
807
|
-
# The name of the Amazon S3 bucket where the report will be stored.
|
808
|
-
#
|
809
|
-
# For more information on S3 bucket requirements, including an example
|
810
|
-
# bucket policy, see [Additional Requirements for Running
|
811
|
-
# Organization-Wide Tag Compliance Report][1] in the *AWS Resource
|
812
|
-
# Groups User Guide.*
|
813
|
-
#
|
814
|
-
#
|
815
|
-
#
|
816
|
-
# [1]: http://docs.aws.amazon.com/ARG/latest/userguide/tag-policies-prereqs.html#bucket-policy-org-report
|
817
|
-
# @return [String]
|
818
|
-
#
|
819
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/StartReportCreationInput AWS API Documentation
|
820
|
-
#
|
821
|
-
class StartReportCreationInput < Struct.new(
|
822
|
-
:s3_bucket)
|
823
|
-
include Aws::Structure
|
824
|
-
end
|
825
|
-
|
826
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/StartReportCreationOutput AWS API Documentation
|
827
|
-
#
|
828
|
-
class StartReportCreationOutput < Aws::EmptyStructure; end
|
829
|
-
|
830
|
-
# A count of noncompliant resources.
|
831
|
-
#
|
832
|
-
# @!attribute [rw] last_updated
|
833
|
-
# The timestamp that shows when this summary was generated in this
|
834
|
-
# Region.
|
835
|
-
# @return [Time]
|
836
|
-
#
|
837
|
-
# @!attribute [rw] target_id
|
838
|
-
# The account identifier or the root identifier of the organization.
|
839
|
-
# If you don't know the root ID, you can call the AWS Organizations
|
840
|
-
# [ListRoots][1] API.
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
844
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html
|
845
|
-
# @return [String]
|
846
|
-
#
|
847
|
-
# @!attribute [rw] region
|
848
|
-
# The AWS Region that the summary applies to.
|
849
|
-
# @return [String]
|
850
|
-
#
|
851
|
-
# @!attribute [rw] resource_type
|
852
|
-
# The resource type.
|
853
|
-
# @return [String]
|
854
|
-
#
|
855
|
-
# @!attribute [rw] non_compliant_resources
|
856
|
-
# The count of noncompliant resources.
|
857
|
-
# @return [Integer]
|
858
|
-
#
|
859
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/Summary AWS API Documentation
|
860
|
-
#
|
861
|
-
class Summary < Struct.new(
|
862
|
-
:last_updated,
|
863
|
-
:target_id,
|
864
|
-
:region,
|
865
|
-
:resource_type,
|
866
|
-
:non_compliant_resources)
|
333
|
+
:tags)
|
867
334
|
include Aws::Structure
|
868
335
|
end
|
869
336
|
|
@@ -936,9 +403,9 @@ module Aws::ResourceGroupsTaggingAPI
|
|
936
403
|
# @!attribute [rw] resource_arn_list
|
937
404
|
# A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a
|
938
405
|
# resource. You can specify a minimum of 1 and a maximum of 20 ARNs
|
939
|
-
# (resources) to tag.
|
940
|
-
#
|
941
|
-
# Reference*.
|
406
|
+
# (resources) to tag. An ARN can be set to a maximum of 1600
|
407
|
+
# characters. For more information, see [Amazon Resource Names (ARNs)
|
408
|
+
# and AWS Service Namespaces][1] in the *AWS General Reference*.
|
942
409
|
#
|
943
410
|
#
|
944
411
|
#
|
@@ -993,9 +460,9 @@ module Aws::ResourceGroupsTaggingAPI
|
|
993
460
|
# @!attribute [rw] resource_arn_list
|
994
461
|
# A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a
|
995
462
|
# resource. You can specify a minimum of 1 and a maximum of 20 ARNs
|
996
|
-
# (resources) to untag.
|
997
|
-
#
|
998
|
-
# Reference*.
|
463
|
+
# (resources) to untag. An ARN can be set to a maximum of 1600
|
464
|
+
# characters. For more information, see [Amazon Resource Names (ARNs)
|
465
|
+
# and AWS Service Namespaces][1] in the *AWS General Reference*.
|
999
466
|
#
|
1000
467
|
#
|
1001
468
|
#
|