aws-sdk-resourcegroups 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79fa0e1450ed02b95518e91253316916aa0f95ce
|
|
4
|
+
data.tar.gz: b3acda976e10b7d4c6fed0830895fb36a996134a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 316373829ebb36399d895d38d6b25a34a7ff167516840f386139c85d19b5bd52439ddddb891d100572ef2c574579bcc3cdf31be8a906f9d0ad53a5e78cc461a4
|
|
7
|
+
data.tar.gz: 40f693bd4084f80a3cdad09a8ccb46977358c5460d13586efb105644834d140da760ef739e4bd300b5b0d41c367ad40d481e5d6d8e5cacea3a47fc193acc171b
|
|
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
|
@@ -45,6 +46,7 @@ module Aws::ResourceGroups
|
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
@@ -98,6 +100,10 @@ module Aws::ResourceGroups
|
|
|
98
100
|
#
|
|
99
101
|
# @option options [String] :access_key_id
|
|
100
102
|
#
|
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
106
|
+
#
|
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
|
103
109
|
# this client.
|
|
@@ -123,6 +129,21 @@ module Aws::ResourceGroups
|
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
|
125
131
|
#
|
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
135
|
+
#
|
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
138
|
+
#
|
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
141
|
+
# Use this option to config the time interval in seconds for making
|
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
143
|
+
#
|
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
|
146
|
+
#
|
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
127
148
|
# The log formatter.
|
|
128
149
|
#
|
|
@@ -216,7 +237,7 @@ module Aws::ResourceGroups
|
|
|
216
237
|
# name: "GroupName", # required
|
|
217
238
|
# description: "GroupDescription",
|
|
218
239
|
# resource_query: { # required
|
|
219
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
240
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
220
241
|
# query: "Query", # required
|
|
221
242
|
# },
|
|
222
243
|
# tags: {
|
|
@@ -229,7 +250,7 @@ module Aws::ResourceGroups
|
|
|
229
250
|
# resp.group.group_arn #=> String
|
|
230
251
|
# resp.group.name #=> String
|
|
231
252
|
# resp.group.description #=> String
|
|
232
|
-
# resp.resource_query.type #=> String, one of "TAG_FILTERS_1_0"
|
|
253
|
+
# resp.resource_query.type #=> String, one of "TAG_FILTERS_1_0", "CLOUDFORMATION_STACK_1_0"
|
|
233
254
|
# resp.resource_query.query #=> String
|
|
234
255
|
# resp.tags #=> Hash
|
|
235
256
|
# resp.tags["TagKey"] #=> String
|
|
@@ -324,7 +345,7 @@ module Aws::ResourceGroups
|
|
|
324
345
|
# @example Response structure
|
|
325
346
|
#
|
|
326
347
|
# resp.group_query.group_name #=> String
|
|
327
|
-
# resp.group_query.resource_query.type #=> String, one of "TAG_FILTERS_1_0"
|
|
348
|
+
# resp.group_query.resource_query.type #=> String, one of "TAG_FILTERS_1_0", "CLOUDFORMATION_STACK_1_0"
|
|
328
349
|
# resp.group_query.resource_query.query #=> String
|
|
329
350
|
#
|
|
330
351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupQuery AWS API Documentation
|
|
@@ -399,6 +420,7 @@ module Aws::ResourceGroups
|
|
|
399
420
|
#
|
|
400
421
|
# * {Types::ListGroupResourcesOutput#resource_identifiers #resource_identifiers} => Array<Types::ResourceIdentifier>
|
|
401
422
|
# * {Types::ListGroupResourcesOutput#next_token #next_token} => String
|
|
423
|
+
# * {Types::ListGroupResourcesOutput#query_errors #query_errors} => Array<Types::QueryError>
|
|
402
424
|
#
|
|
403
425
|
# @example Request syntax with placeholder values
|
|
404
426
|
#
|
|
@@ -420,6 +442,9 @@ module Aws::ResourceGroups
|
|
|
420
442
|
# resp.resource_identifiers[0].resource_arn #=> String
|
|
421
443
|
# resp.resource_identifiers[0].resource_type #=> String
|
|
422
444
|
# resp.next_token #=> String
|
|
445
|
+
# resp.query_errors #=> Array
|
|
446
|
+
# resp.query_errors[0].error_code #=> String, one of "CLOUDFORMATION_STACK_INACTIVE", "CLOUDFORMATION_STACK_NOT_EXISTING"
|
|
447
|
+
# resp.query_errors[0].message #=> String
|
|
423
448
|
#
|
|
424
449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResources AWS API Documentation
|
|
425
450
|
#
|
|
@@ -436,8 +461,8 @@ module Aws::ResourceGroups
|
|
|
436
461
|
# Filters, formatted as GroupFilter objects, that you want to apply to a
|
|
437
462
|
# ListGroups operation.
|
|
438
463
|
#
|
|
439
|
-
# * `
|
|
440
|
-
#
|
|
464
|
+
# * `resource-type` - Filter groups by resource type. Specify up to five
|
|
465
|
+
# resource types in the format AWS::ServiceCode::ResourceType. For
|
|
441
466
|
# example, AWS::EC2::Instance, or AWS::S3::Bucket.
|
|
442
467
|
#
|
|
443
468
|
# ^
|
|
@@ -511,12 +536,13 @@ module Aws::ResourceGroups
|
|
|
511
536
|
#
|
|
512
537
|
# * {Types::SearchResourcesOutput#resource_identifiers #resource_identifiers} => Array<Types::ResourceIdentifier>
|
|
513
538
|
# * {Types::SearchResourcesOutput#next_token #next_token} => String
|
|
539
|
+
# * {Types::SearchResourcesOutput#query_errors #query_errors} => Array<Types::QueryError>
|
|
514
540
|
#
|
|
515
541
|
# @example Request syntax with placeholder values
|
|
516
542
|
#
|
|
517
543
|
# resp = client.search_resources({
|
|
518
544
|
# resource_query: { # required
|
|
519
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
545
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
520
546
|
# query: "Query", # required
|
|
521
547
|
# },
|
|
522
548
|
# max_results: 1,
|
|
@@ -529,6 +555,9 @@ module Aws::ResourceGroups
|
|
|
529
555
|
# resp.resource_identifiers[0].resource_arn #=> String
|
|
530
556
|
# resp.resource_identifiers[0].resource_type #=> String
|
|
531
557
|
# resp.next_token #=> String
|
|
558
|
+
# resp.query_errors #=> Array
|
|
559
|
+
# resp.query_errors[0].error_code #=> String, one of "CLOUDFORMATION_STACK_INACTIVE", "CLOUDFORMATION_STACK_NOT_EXISTING"
|
|
560
|
+
# resp.query_errors[0].message #=> String
|
|
532
561
|
#
|
|
533
562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResources AWS API Documentation
|
|
534
563
|
#
|
|
@@ -672,7 +701,7 @@ module Aws::ResourceGroups
|
|
|
672
701
|
# resp = client.update_group_query({
|
|
673
702
|
# group_name: "GroupName", # required
|
|
674
703
|
# resource_query: { # required
|
|
675
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
704
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
676
705
|
# query: "Query", # required
|
|
677
706
|
# },
|
|
678
707
|
# })
|
|
@@ -680,7 +709,7 @@ module Aws::ResourceGroups
|
|
|
680
709
|
# @example Response structure
|
|
681
710
|
#
|
|
682
711
|
# resp.group_query.group_name #=> String
|
|
683
|
-
# resp.group_query.resource_query.type #=> String, one of "TAG_FILTERS_1_0"
|
|
712
|
+
# resp.group_query.resource_query.type #=> String, one of "TAG_FILTERS_1_0", "CLOUDFORMATION_STACK_1_0"
|
|
684
713
|
# resp.group_query.resource_query.query #=> String
|
|
685
714
|
#
|
|
686
715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupQuery AWS API Documentation
|
|
@@ -705,7 +734,7 @@ module Aws::ResourceGroups
|
|
|
705
734
|
params: params,
|
|
706
735
|
config: config)
|
|
707
736
|
context[:gem_name] = 'aws-sdk-resourcegroups'
|
|
708
|
-
context[:gem_version] = '1.
|
|
737
|
+
context[:gem_version] = '1.8.0'
|
|
709
738
|
Seahorse::Client::Request.new(handlers, context)
|
|
710
739
|
end
|
|
711
740
|
|
|
@@ -47,6 +47,10 @@ module Aws::ResourceGroups
|
|
|
47
47
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
48
48
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
|
49
49
|
Query = Shapes::StringShape.new(name: 'Query')
|
|
50
|
+
QueryError = Shapes::StructureShape.new(name: 'QueryError')
|
|
51
|
+
QueryErrorCode = Shapes::StringShape.new(name: 'QueryErrorCode')
|
|
52
|
+
QueryErrorList = Shapes::ListShape.new(name: 'QueryErrorList')
|
|
53
|
+
QueryErrorMessage = Shapes::StringShape.new(name: 'QueryErrorMessage')
|
|
50
54
|
QueryType = Shapes::StringShape.new(name: 'QueryType')
|
|
51
55
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
52
56
|
ResourceFilter = Shapes::StructureShape.new(name: 'ResourceFilter')
|
|
@@ -144,6 +148,7 @@ module Aws::ResourceGroups
|
|
|
144
148
|
|
|
145
149
|
ListGroupResourcesOutput.add_member(:resource_identifiers, Shapes::ShapeRef.new(shape: ResourceIdentifierList, location_name: "ResourceIdentifiers"))
|
|
146
150
|
ListGroupResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
151
|
+
ListGroupResourcesOutput.add_member(:query_errors, Shapes::ShapeRef.new(shape: QueryErrorList, location_name: "QueryErrors"))
|
|
147
152
|
ListGroupResourcesOutput.struct_class = Types::ListGroupResourcesOutput
|
|
148
153
|
|
|
149
154
|
ListGroupsInput.add_member(:filters, Shapes::ShapeRef.new(shape: GroupFilterList, location_name: "Filters"))
|
|
@@ -156,6 +161,12 @@ module Aws::ResourceGroups
|
|
|
156
161
|
ListGroupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
157
162
|
ListGroupsOutput.struct_class = Types::ListGroupsOutput
|
|
158
163
|
|
|
164
|
+
QueryError.add_member(:error_code, Shapes::ShapeRef.new(shape: QueryErrorCode, location_name: "ErrorCode"))
|
|
165
|
+
QueryError.add_member(:message, Shapes::ShapeRef.new(shape: QueryErrorMessage, location_name: "Message"))
|
|
166
|
+
QueryError.struct_class = Types::QueryError
|
|
167
|
+
|
|
168
|
+
QueryErrorList.member = Shapes::ShapeRef.new(shape: QueryError)
|
|
169
|
+
|
|
159
170
|
ResourceFilter.add_member(:name, Shapes::ShapeRef.new(shape: ResourceFilterName, required: true, location_name: "Name"))
|
|
160
171
|
ResourceFilter.add_member(:values, Shapes::ShapeRef.new(shape: ResourceFilterValues, required: true, location_name: "Values"))
|
|
161
172
|
ResourceFilter.struct_class = Types::ResourceFilter
|
|
@@ -181,6 +192,7 @@ module Aws::ResourceGroups
|
|
|
181
192
|
|
|
182
193
|
SearchResourcesOutput.add_member(:resource_identifiers, Shapes::ShapeRef.new(shape: ResourceIdentifierList, location_name: "ResourceIdentifiers"))
|
|
183
194
|
SearchResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
195
|
+
SearchResourcesOutput.add_member(:query_errors, Shapes::ShapeRef.new(shape: QueryErrorList, location_name: "QueryErrors"))
|
|
184
196
|
SearchResourcesOutput.struct_class = Types::SearchResourcesOutput
|
|
185
197
|
|
|
186
198
|
TagInput.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, required: true, location: "uri", location_name: "Arn"))
|
|
@@ -15,7 +15,7 @@ module Aws::ResourceGroups
|
|
|
15
15
|
# name: "GroupName", # required
|
|
16
16
|
# description: "GroupDescription",
|
|
17
17
|
# resource_query: { # required
|
|
18
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
18
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
19
19
|
# query: "Query", # required
|
|
20
20
|
# },
|
|
21
21
|
# tags: {
|
|
@@ -356,11 +356,19 @@ module Aws::ResourceGroups
|
|
|
356
356
|
# request, to get more results.
|
|
357
357
|
# @return [String]
|
|
358
358
|
#
|
|
359
|
+
# @!attribute [rw] query_errors
|
|
360
|
+
# A list of `QueryError` objects. Each error is an object that
|
|
361
|
+
# contains `ErrorCode` and `Message` structures. Possible values for
|
|
362
|
+
# `ErrorCode` are `CLOUDFORMATION_STACK_INACTIVE` and
|
|
363
|
+
# `CLOUDFORMATION_STACK_NOT_EXISTING`.
|
|
364
|
+
# @return [Array<Types::QueryError>]
|
|
365
|
+
#
|
|
359
366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResourcesOutput AWS API Documentation
|
|
360
367
|
#
|
|
361
368
|
class ListGroupResourcesOutput < Struct.new(
|
|
362
369
|
:resource_identifiers,
|
|
363
|
-
:next_token
|
|
370
|
+
:next_token,
|
|
371
|
+
:query_errors)
|
|
364
372
|
include Aws::Structure
|
|
365
373
|
end
|
|
366
374
|
|
|
@@ -382,9 +390,9 @@ module Aws::ResourceGroups
|
|
|
382
390
|
# Filters, formatted as GroupFilter objects, that you want to apply to
|
|
383
391
|
# a ListGroups operation.
|
|
384
392
|
#
|
|
385
|
-
# * `
|
|
386
|
-
#
|
|
387
|
-
# example, AWS::EC2::Instance, or AWS::S3::Bucket.
|
|
393
|
+
# * `resource-type` - Filter groups by resource type. Specify up to
|
|
394
|
+
# five resource types in the format AWS::ServiceCode::ResourceType.
|
|
395
|
+
# For example, AWS::EC2::Instance, or AWS::S3::Bucket.
|
|
388
396
|
#
|
|
389
397
|
# ^
|
|
390
398
|
# @return [Array<Types::GroupFilter>]
|
|
@@ -432,6 +440,35 @@ module Aws::ResourceGroups
|
|
|
432
440
|
include Aws::Structure
|
|
433
441
|
end
|
|
434
442
|
|
|
443
|
+
# A two-part error structure that can occur in `ListGroupResources` or
|
|
444
|
+
# `SearchResources` operations on CloudFormation stack-based queries.
|
|
445
|
+
# The error occurs if the CloudFormation stack on which the query is
|
|
446
|
+
# based either does not exist, or has a status that renders the stack
|
|
447
|
+
# inactive. A `QueryError` occurrence does not necessarily mean that AWS
|
|
448
|
+
# Resource Groups could not complete the operation, but the resulting
|
|
449
|
+
# group might have no member resources.
|
|
450
|
+
#
|
|
451
|
+
# @!attribute [rw] error_code
|
|
452
|
+
# Possible values are `CLOUDFORMATION_STACK_INACTIVE` and
|
|
453
|
+
# `CLOUDFORMATION_STACK_NOT_EXISTING`.
|
|
454
|
+
# @return [String]
|
|
455
|
+
#
|
|
456
|
+
# @!attribute [rw] message
|
|
457
|
+
# A message that explains the `ErrorCode` value. Messages might state
|
|
458
|
+
# that the specified CloudFormation stack does not exist (or no longer
|
|
459
|
+
# exists). For `CLOUDFORMATION_STACK_INACTIVE`, the message typically
|
|
460
|
+
# states that the CloudFormation stack has a status that is not (or no
|
|
461
|
+
# longer) active, such as `CREATE_FAILED`.
|
|
462
|
+
# @return [String]
|
|
463
|
+
#
|
|
464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/QueryError AWS API Documentation
|
|
465
|
+
#
|
|
466
|
+
class QueryError < Struct.new(
|
|
467
|
+
:error_code,
|
|
468
|
+
:message)
|
|
469
|
+
include Aws::Structure
|
|
470
|
+
end
|
|
471
|
+
|
|
435
472
|
# A filter name and value pair that is used to obtain more specific
|
|
436
473
|
# results from a list of resources.
|
|
437
474
|
#
|
|
@@ -485,21 +522,55 @@ module Aws::ResourceGroups
|
|
|
485
522
|
# data as a hash:
|
|
486
523
|
#
|
|
487
524
|
# {
|
|
488
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
525
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
489
526
|
# query: "Query", # required
|
|
490
527
|
# }
|
|
491
528
|
#
|
|
492
529
|
# @!attribute [rw] type
|
|
493
|
-
# The type of the query. The valid
|
|
494
|
-
# `TAG_FILTERS_1_0`.
|
|
530
|
+
# The type of the query. The valid values in this release are
|
|
531
|
+
# `TAG_FILTERS_1_0` and `CLOUDFORMATION_STACK_1_0`.
|
|
495
532
|
#
|
|
496
533
|
# <i> <code>TAG_FILTERS_1_0:</code> </i> A JSON syntax that lets you
|
|
497
534
|
# specify a collection of simple tag filters for resource types and
|
|
498
|
-
# tags, as supported by the AWS Tagging API GetResources
|
|
499
|
-
#
|
|
500
|
-
#
|
|
501
|
-
#
|
|
502
|
-
#
|
|
535
|
+
# tags, as supported by the AWS Tagging API [GetResources][1]
|
|
536
|
+
# operation. If you specify more than one tag key, only resources that
|
|
537
|
+
# match all tag keys, and at least one value of each specified tag
|
|
538
|
+
# key, are returned in your query. If you specify more than one value
|
|
539
|
+
# for a tag key, a resource matches the filter if it has a tag key
|
|
540
|
+
# value that matches *any* of the specified values.
|
|
541
|
+
#
|
|
542
|
+
# For example, consider the following sample query for resources that
|
|
543
|
+
# have two tags, `Stage` and `Version`, with two values each.
|
|
544
|
+
# (`[\{"Key":"Stage","Values":["Test","Deploy"]\},\{"Key":"Version","Values":["1","2"]\}]`)
|
|
545
|
+
# The results of this query might include the following.
|
|
546
|
+
#
|
|
547
|
+
# * An EC2 instance that has the following two tags:
|
|
548
|
+
# `\{"Key":"Stage","Values":["Deploy"]\}`, and
|
|
549
|
+
# `\{"Key":"Version","Values":["2"]\}`
|
|
550
|
+
#
|
|
551
|
+
# * An S3 bucket that has the following two tags:
|
|
552
|
+
# \\\{"Key":"Stage","Values":\["Test","Deploy"\]\\}, and
|
|
553
|
+
# \\\{"Key":"Version","Values":\["1"\]\\}
|
|
554
|
+
#
|
|
555
|
+
# The query would not return the following results, however. The
|
|
556
|
+
# following EC2 instance does not have all tag keys specified in the
|
|
557
|
+
# filter, so it is rejected. The RDS database has all of the tag keys,
|
|
558
|
+
# but no values that match at least one of the specified tag key
|
|
559
|
+
# values in the filter.
|
|
560
|
+
#
|
|
561
|
+
# * An EC2 instance that has only the following tag:
|
|
562
|
+
# `\{"Key":"Stage","Values":["Deploy"]\}`.
|
|
563
|
+
#
|
|
564
|
+
# * An RDS database that has the following two tags:
|
|
565
|
+
# `\{"Key":"Stage","Values":["Archived"]\}`, and
|
|
566
|
+
# `\{"Key":"Version","Values":["4"]\}`
|
|
567
|
+
#
|
|
568
|
+
# <i> <code>CLOUDFORMATION_STACK_1_0:</code> </i> A JSON syntax that
|
|
569
|
+
# lets you specify a CloudFormation stack ARN.
|
|
570
|
+
#
|
|
571
|
+
#
|
|
572
|
+
#
|
|
573
|
+
# [1]: https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html
|
|
503
574
|
# @return [String]
|
|
504
575
|
#
|
|
505
576
|
# @!attribute [rw] query
|
|
@@ -519,7 +590,7 @@ module Aws::ResourceGroups
|
|
|
519
590
|
#
|
|
520
591
|
# {
|
|
521
592
|
# resource_query: { # required
|
|
522
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
593
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
523
594
|
# query: "Query", # required
|
|
524
595
|
# },
|
|
525
596
|
# max_results: 1,
|
|
@@ -563,11 +634,19 @@ module Aws::ResourceGroups
|
|
|
563
634
|
# request, to get more results.
|
|
564
635
|
# @return [String]
|
|
565
636
|
#
|
|
637
|
+
# @!attribute [rw] query_errors
|
|
638
|
+
# A list of `QueryError` objects. Each error is an object that
|
|
639
|
+
# contains `ErrorCode` and `Message` structures. Possible values for
|
|
640
|
+
# `ErrorCode` are `CLOUDFORMATION_STACK_INACTIVE` and
|
|
641
|
+
# `CLOUDFORMATION_STACK_NOT_EXISTING`.
|
|
642
|
+
# @return [Array<Types::QueryError>]
|
|
643
|
+
#
|
|
566
644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResourcesOutput AWS API Documentation
|
|
567
645
|
#
|
|
568
646
|
class SearchResourcesOutput < Struct.new(
|
|
569
647
|
:resource_identifiers,
|
|
570
|
-
:next_token
|
|
648
|
+
:next_token,
|
|
649
|
+
:query_errors)
|
|
571
650
|
include Aws::Structure
|
|
572
651
|
end
|
|
573
652
|
|
|
@@ -701,7 +780,7 @@ module Aws::ResourceGroups
|
|
|
701
780
|
# {
|
|
702
781
|
# group_name: "GroupName", # required
|
|
703
782
|
# resource_query: { # required
|
|
704
|
-
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
|
|
783
|
+
# type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0
|
|
705
784
|
# query: "Query", # required
|
|
706
785
|
# },
|
|
707
786
|
# }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-resourcegroups
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|