aws-sdk-configservice 1.24.0 → 1.25.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: 17fa3bf4f03dc5ce8149185cb71485b9cbaa0288
|
|
4
|
+
data.tar.gz: 8975bb734d0dc2e0498d03ea5ccdab34e1dfab54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b15229bc8ec4183055a503b067a01a0bf1d55a917aa56684811dc45341f137bd68e369be3627bda9e149311a566801730383484d85ef78c2c482b92e6f35d8c
|
|
7
|
+
data.tar.gz: 206e96f3e949394c5e78ca6fc1fbebecdb0ba78cbeb2ffabeb840f4670315ca854ce23f4f0a1d988baea283fd79178107a0c15eb1a08fdf009bf696d26179fb1
|
|
@@ -2821,6 +2821,58 @@ module Aws::ConfigService
|
|
|
2821
2821
|
req.send_request(options)
|
|
2822
2822
|
end
|
|
2823
2823
|
|
|
2824
|
+
# Accepts a structured query language (SQL) `SELECT` command, performs
|
|
2825
|
+
# the corresponding search, and returns resource configurations matching
|
|
2826
|
+
# the properties.
|
|
2827
|
+
#
|
|
2828
|
+
# For more information about query components, see the [ **Query
|
|
2829
|
+
# Components** ][1] section in the AWS Config Developer Guide.
|
|
2830
|
+
#
|
|
2831
|
+
#
|
|
2832
|
+
#
|
|
2833
|
+
# [1]: https://docs.aws.amazon.com/config/latest/developerguide/query-components.html
|
|
2834
|
+
#
|
|
2835
|
+
# @option params [required, String] :expression
|
|
2836
|
+
# The SQL query `SELECT` command.
|
|
2837
|
+
#
|
|
2838
|
+
# @option params [Integer] :limit
|
|
2839
|
+
# The maximum number of query results returned on each page.
|
|
2840
|
+
#
|
|
2841
|
+
# @option params [String] :next_token
|
|
2842
|
+
# The `nextToken` string returned in a previous request that you use to
|
|
2843
|
+
# request the next page of results in a paginated response.
|
|
2844
|
+
#
|
|
2845
|
+
# @return [Types::SelectResourceConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2846
|
+
#
|
|
2847
|
+
# * {Types::SelectResourceConfigResponse#results #results} => Array<String>
|
|
2848
|
+
# * {Types::SelectResourceConfigResponse#query_info #query_info} => Types::QueryInfo
|
|
2849
|
+
# * {Types::SelectResourceConfigResponse#next_token #next_token} => String
|
|
2850
|
+
#
|
|
2851
|
+
# @example Request syntax with placeholder values
|
|
2852
|
+
#
|
|
2853
|
+
# resp = client.select_resource_config({
|
|
2854
|
+
# expression: "Expression", # required
|
|
2855
|
+
# limit: 1,
|
|
2856
|
+
# next_token: "NextToken",
|
|
2857
|
+
# })
|
|
2858
|
+
#
|
|
2859
|
+
# @example Response structure
|
|
2860
|
+
#
|
|
2861
|
+
# resp.results #=> Array
|
|
2862
|
+
# resp.results[0] #=> String
|
|
2863
|
+
# resp.query_info.select_fields #=> Array
|
|
2864
|
+
# resp.query_info.select_fields[0].name #=> String
|
|
2865
|
+
# resp.next_token #=> String
|
|
2866
|
+
#
|
|
2867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectResourceConfig AWS API Documentation
|
|
2868
|
+
#
|
|
2869
|
+
# @overload select_resource_config(params = {})
|
|
2870
|
+
# @param [Hash] params ({})
|
|
2871
|
+
def select_resource_config(params = {}, options = {})
|
|
2872
|
+
req = build_request(:select_resource_config, params)
|
|
2873
|
+
req.send_request(options)
|
|
2874
|
+
end
|
|
2875
|
+
|
|
2824
2876
|
# Runs an on-demand evaluation for the specified AWS Config rules
|
|
2825
2877
|
# against the last known configuration state of the resources. Use
|
|
2826
2878
|
# `StartConfigRulesEvaluation` when you want to test that a rule you
|
|
@@ -3058,7 +3110,7 @@ module Aws::ConfigService
|
|
|
3058
3110
|
params: params,
|
|
3059
3111
|
config: config)
|
|
3060
3112
|
context[:gem_name] = 'aws-sdk-configservice'
|
|
3061
|
-
context[:gem_version] = '1.
|
|
3113
|
+
context[:gem_version] = '1.25.0'
|
|
3062
3114
|
Seahorse::Client::Request.new(handlers, context)
|
|
3063
3115
|
end
|
|
3064
3116
|
|
|
@@ -150,8 +150,12 @@ module Aws::ConfigService
|
|
|
150
150
|
EvaluationResults = Shapes::ListShape.new(name: 'EvaluationResults')
|
|
151
151
|
Evaluations = Shapes::ListShape.new(name: 'Evaluations')
|
|
152
152
|
EventSource = Shapes::StringShape.new(name: 'EventSource')
|
|
153
|
+
Expression = Shapes::StringShape.new(name: 'Expression')
|
|
153
154
|
FailedRemediationBatch = Shapes::StructureShape.new(name: 'FailedRemediationBatch')
|
|
154
155
|
FailedRemediationBatches = Shapes::ListShape.new(name: 'FailedRemediationBatches')
|
|
156
|
+
FieldInfo = Shapes::StructureShape.new(name: 'FieldInfo')
|
|
157
|
+
FieldInfoList = Shapes::ListShape.new(name: 'FieldInfoList')
|
|
158
|
+
FieldName = Shapes::StringShape.new(name: 'FieldName')
|
|
155
159
|
GetAggregateComplianceDetailsByConfigRuleRequest = Shapes::StructureShape.new(name: 'GetAggregateComplianceDetailsByConfigRuleRequest')
|
|
156
160
|
GetAggregateComplianceDetailsByConfigRuleResponse = Shapes::StructureShape.new(name: 'GetAggregateComplianceDetailsByConfigRuleResponse')
|
|
157
161
|
GetAggregateConfigRuleComplianceSummaryRequest = Shapes::StructureShape.new(name: 'GetAggregateConfigRuleComplianceSummaryRequest')
|
|
@@ -180,6 +184,7 @@ module Aws::ConfigService
|
|
|
180
184
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
181
185
|
InvalidConfigurationRecorderNameException = Shapes::StructureShape.new(name: 'InvalidConfigurationRecorderNameException')
|
|
182
186
|
InvalidDeliveryChannelNameException = Shapes::StructureShape.new(name: 'InvalidDeliveryChannelNameException')
|
|
187
|
+
InvalidExpressionException = Shapes::StructureShape.new(name: 'InvalidExpressionException')
|
|
183
188
|
InvalidLimitException = Shapes::StructureShape.new(name: 'InvalidLimitException')
|
|
184
189
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
|
185
190
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
|
@@ -240,6 +245,7 @@ module Aws::ConfigService
|
|
|
240
245
|
PutRemediationConfigurationsResponse = Shapes::StructureShape.new(name: 'PutRemediationConfigurationsResponse')
|
|
241
246
|
PutRetentionConfigurationRequest = Shapes::StructureShape.new(name: 'PutRetentionConfigurationRequest')
|
|
242
247
|
PutRetentionConfigurationResponse = Shapes::StructureShape.new(name: 'PutRetentionConfigurationResponse')
|
|
248
|
+
QueryInfo = Shapes::StructureShape.new(name: 'QueryInfo')
|
|
243
249
|
RecorderName = Shapes::StringShape.new(name: 'RecorderName')
|
|
244
250
|
RecorderStatus = Shapes::StringShape.new(name: 'RecorderStatus')
|
|
245
251
|
RecordingGroup = Shapes::StructureShape.new(name: 'RecordingGroup')
|
|
@@ -283,6 +289,7 @@ module Aws::ConfigService
|
|
|
283
289
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
|
284
290
|
ResourceValue = Shapes::StructureShape.new(name: 'ResourceValue')
|
|
285
291
|
ResourceValueType = Shapes::StringShape.new(name: 'ResourceValueType')
|
|
292
|
+
Results = Shapes::ListShape.new(name: 'Results')
|
|
286
293
|
RetentionConfiguration = Shapes::StructureShape.new(name: 'RetentionConfiguration')
|
|
287
294
|
RetentionConfigurationList = Shapes::ListShape.new(name: 'RetentionConfigurationList')
|
|
288
295
|
RetentionConfigurationName = Shapes::StringShape.new(name: 'RetentionConfigurationName')
|
|
@@ -290,6 +297,8 @@ module Aws::ConfigService
|
|
|
290
297
|
RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
|
|
291
298
|
RuleLimit = Shapes::IntegerShape.new(name: 'RuleLimit')
|
|
292
299
|
Scope = Shapes::StructureShape.new(name: 'Scope')
|
|
300
|
+
SelectResourceConfigRequest = Shapes::StructureShape.new(name: 'SelectResourceConfigRequest')
|
|
301
|
+
SelectResourceConfigResponse = Shapes::StructureShape.new(name: 'SelectResourceConfigResponse')
|
|
293
302
|
Source = Shapes::StructureShape.new(name: 'Source')
|
|
294
303
|
SourceDetail = Shapes::StructureShape.new(name: 'SourceDetail')
|
|
295
304
|
SourceDetails = Shapes::ListShape.new(name: 'SourceDetails')
|
|
@@ -794,6 +803,11 @@ module Aws::ConfigService
|
|
|
794
803
|
|
|
795
804
|
FailedRemediationBatches.member = Shapes::ShapeRef.new(shape: FailedRemediationBatch)
|
|
796
805
|
|
|
806
|
+
FieldInfo.add_member(:name, Shapes::ShapeRef.new(shape: FieldName, location_name: "Name"))
|
|
807
|
+
FieldInfo.struct_class = Types::FieldInfo
|
|
808
|
+
|
|
809
|
+
FieldInfoList.member = Shapes::ShapeRef.new(shape: FieldInfo)
|
|
810
|
+
|
|
797
811
|
GetAggregateComplianceDetailsByConfigRuleRequest.add_member(:configuration_aggregator_name, Shapes::ShapeRef.new(shape: ConfigurationAggregatorName, required: true, location_name: "ConfigurationAggregatorName"))
|
|
798
812
|
GetAggregateComplianceDetailsByConfigRuleRequest.add_member(:config_rule_name, Shapes::ShapeRef.new(shape: ConfigRuleName, required: true, location_name: "ConfigRuleName"))
|
|
799
813
|
GetAggregateComplianceDetailsByConfigRuleRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
|
@@ -984,6 +998,9 @@ module Aws::ConfigService
|
|
|
984
998
|
PutRetentionConfigurationResponse.add_member(:retention_configuration, Shapes::ShapeRef.new(shape: RetentionConfiguration, location_name: "RetentionConfiguration"))
|
|
985
999
|
PutRetentionConfigurationResponse.struct_class = Types::PutRetentionConfigurationResponse
|
|
986
1000
|
|
|
1001
|
+
QueryInfo.add_member(:select_fields, Shapes::ShapeRef.new(shape: FieldInfoList, location_name: "SelectFields"))
|
|
1002
|
+
QueryInfo.struct_class = Types::QueryInfo
|
|
1003
|
+
|
|
987
1004
|
RecordingGroup.add_member(:all_supported, Shapes::ShapeRef.new(shape: AllSupported, location_name: "allSupported"))
|
|
988
1005
|
RecordingGroup.add_member(:include_global_resource_types, Shapes::ShapeRef.new(shape: IncludeGlobalResourceTypes, location_name: "includeGlobalResourceTypes"))
|
|
989
1006
|
RecordingGroup.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, location_name: "resourceTypes"))
|
|
@@ -1078,6 +1095,8 @@ module Aws::ConfigService
|
|
|
1078
1095
|
ResourceValue.add_member(:value, Shapes::ShapeRef.new(shape: ResourceValueType, location_name: "Value"))
|
|
1079
1096
|
ResourceValue.struct_class = Types::ResourceValue
|
|
1080
1097
|
|
|
1098
|
+
Results.member = Shapes::ShapeRef.new(shape: String)
|
|
1099
|
+
|
|
1081
1100
|
RetentionConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: RetentionConfigurationName, required: true, location_name: "Name"))
|
|
1082
1101
|
RetentionConfiguration.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, required: true, location_name: "RetentionPeriodInDays"))
|
|
1083
1102
|
RetentionConfiguration.struct_class = Types::RetentionConfiguration
|
|
@@ -1092,6 +1111,16 @@ module Aws::ConfigService
|
|
|
1092
1111
|
Scope.add_member(:compliance_resource_id, Shapes::ShapeRef.new(shape: BaseResourceId, location_name: "ComplianceResourceId"))
|
|
1093
1112
|
Scope.struct_class = Types::Scope
|
|
1094
1113
|
|
|
1114
|
+
SelectResourceConfigRequest.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
|
|
1115
|
+
SelectResourceConfigRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
|
|
1116
|
+
SelectResourceConfigRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
1117
|
+
SelectResourceConfigRequest.struct_class = Types::SelectResourceConfigRequest
|
|
1118
|
+
|
|
1119
|
+
SelectResourceConfigResponse.add_member(:results, Shapes::ShapeRef.new(shape: Results, location_name: "Results"))
|
|
1120
|
+
SelectResourceConfigResponse.add_member(:query_info, Shapes::ShapeRef.new(shape: QueryInfo, location_name: "QueryInfo"))
|
|
1121
|
+
SelectResourceConfigResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
1122
|
+
SelectResourceConfigResponse.struct_class = Types::SelectResourceConfigResponse
|
|
1123
|
+
|
|
1095
1124
|
Source.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, required: true, location_name: "Owner"))
|
|
1096
1125
|
Source.add_member(:source_identifier, Shapes::ShapeRef.new(shape: StringWithCharLimit256, required: true, location_name: "SourceIdentifier"))
|
|
1097
1126
|
Source.add_member(:source_details, Shapes::ShapeRef.new(shape: SourceDetails, location_name: "SourceDetails"))
|
|
@@ -1703,6 +1732,17 @@ module Aws::ConfigService
|
|
|
1703
1732
|
o.errors << Shapes::ShapeRef.new(shape: MaxNumberOfRetentionConfigurationsExceededException)
|
|
1704
1733
|
end)
|
|
1705
1734
|
|
|
1735
|
+
api.add_operation(:select_resource_config, Seahorse::Model::Operation.new.tap do |o|
|
|
1736
|
+
o.name = "SelectResourceConfig"
|
|
1737
|
+
o.http_method = "POST"
|
|
1738
|
+
o.http_request_uri = "/"
|
|
1739
|
+
o.input = Shapes::ShapeRef.new(shape: SelectResourceConfigRequest)
|
|
1740
|
+
o.output = Shapes::ShapeRef.new(shape: SelectResourceConfigResponse)
|
|
1741
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidExpressionException)
|
|
1742
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLimitException)
|
|
1743
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
1744
|
+
end)
|
|
1745
|
+
|
|
1706
1746
|
api.add_operation(:start_config_rules_evaluation, Seahorse::Model::Operation.new.tap do |o|
|
|
1707
1747
|
o.name = "StartConfigRulesEvaluation"
|
|
1708
1748
|
o.http_method = "POST"
|
|
@@ -2569,6 +2569,19 @@ module Aws::ConfigService
|
|
|
2569
2569
|
include Aws::Structure
|
|
2570
2570
|
end
|
|
2571
2571
|
|
|
2572
|
+
# Details about the fields such as name of the field.
|
|
2573
|
+
#
|
|
2574
|
+
# @!attribute [rw] name
|
|
2575
|
+
# Name of the field.
|
|
2576
|
+
# @return [String]
|
|
2577
|
+
#
|
|
2578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/FieldInfo AWS API Documentation
|
|
2579
|
+
#
|
|
2580
|
+
class FieldInfo < Struct.new(
|
|
2581
|
+
:name)
|
|
2582
|
+
include Aws::Structure
|
|
2583
|
+
end
|
|
2584
|
+
|
|
2572
2585
|
# @note When making an API call, you may pass GetAggregateComplianceDetailsByConfigRuleRequest
|
|
2573
2586
|
# data as a hash:
|
|
2574
2587
|
#
|
|
@@ -3782,6 +3795,19 @@ module Aws::ConfigService
|
|
|
3782
3795
|
include Aws::Structure
|
|
3783
3796
|
end
|
|
3784
3797
|
|
|
3798
|
+
# Details about the query.
|
|
3799
|
+
#
|
|
3800
|
+
# @!attribute [rw] select_fields
|
|
3801
|
+
# Returns a `FieldInfo` object.
|
|
3802
|
+
# @return [Array<Types::FieldInfo>]
|
|
3803
|
+
#
|
|
3804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/QueryInfo AWS API Documentation
|
|
3805
|
+
#
|
|
3806
|
+
class QueryInfo < Struct.new(
|
|
3807
|
+
:select_fields)
|
|
3808
|
+
include Aws::Structure
|
|
3809
|
+
end
|
|
3810
|
+
|
|
3785
3811
|
# Specifies the types of AWS resource for which AWS Config records
|
|
3786
3812
|
# configuration changes.
|
|
3787
3813
|
#
|
|
@@ -4322,6 +4348,59 @@ module Aws::ConfigService
|
|
|
4322
4348
|
include Aws::Structure
|
|
4323
4349
|
end
|
|
4324
4350
|
|
|
4351
|
+
# @note When making an API call, you may pass SelectResourceConfigRequest
|
|
4352
|
+
# data as a hash:
|
|
4353
|
+
#
|
|
4354
|
+
# {
|
|
4355
|
+
# expression: "Expression", # required
|
|
4356
|
+
# limit: 1,
|
|
4357
|
+
# next_token: "NextToken",
|
|
4358
|
+
# }
|
|
4359
|
+
#
|
|
4360
|
+
# @!attribute [rw] expression
|
|
4361
|
+
# The SQL query `SELECT` command.
|
|
4362
|
+
# @return [String]
|
|
4363
|
+
#
|
|
4364
|
+
# @!attribute [rw] limit
|
|
4365
|
+
# The maximum number of query results returned on each page.
|
|
4366
|
+
# @return [Integer]
|
|
4367
|
+
#
|
|
4368
|
+
# @!attribute [rw] next_token
|
|
4369
|
+
# The `nextToken` string returned in a previous request that you use
|
|
4370
|
+
# to request the next page of results in a paginated response.
|
|
4371
|
+
# @return [String]
|
|
4372
|
+
#
|
|
4373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectResourceConfigRequest AWS API Documentation
|
|
4374
|
+
#
|
|
4375
|
+
class SelectResourceConfigRequest < Struct.new(
|
|
4376
|
+
:expression,
|
|
4377
|
+
:limit,
|
|
4378
|
+
:next_token)
|
|
4379
|
+
include Aws::Structure
|
|
4380
|
+
end
|
|
4381
|
+
|
|
4382
|
+
# @!attribute [rw] results
|
|
4383
|
+
# Returns the results for the SQL query.
|
|
4384
|
+
# @return [Array<String>]
|
|
4385
|
+
#
|
|
4386
|
+
# @!attribute [rw] query_info
|
|
4387
|
+
# Returns the `QueryInfo` object.
|
|
4388
|
+
# @return [Types::QueryInfo]
|
|
4389
|
+
#
|
|
4390
|
+
# @!attribute [rw] next_token
|
|
4391
|
+
# The `nextToken` string returned in a previous request that you use
|
|
4392
|
+
# to request the next page of results in a paginated response.
|
|
4393
|
+
# @return [String]
|
|
4394
|
+
#
|
|
4395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectResourceConfigResponse AWS API Documentation
|
|
4396
|
+
#
|
|
4397
|
+
class SelectResourceConfigResponse < Struct.new(
|
|
4398
|
+
:results,
|
|
4399
|
+
:query_info,
|
|
4400
|
+
:next_token)
|
|
4401
|
+
include Aws::Structure
|
|
4402
|
+
end
|
|
4403
|
+
|
|
4325
4404
|
# Provides the AWS Config rule owner (AWS or customer), the rule
|
|
4326
4405
|
# identifier, and the events that trigger the evaluation of your AWS
|
|
4327
4406
|
# resources.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-configservice
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.25.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: 2019-03-
|
|
11
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|