aws-sdk-configservice 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c3762b427425d14b6f9cedec56edd3fc74e649b
4
- data.tar.gz: ea2c76a962ed3404798f0ab53337d72651fb19c6
3
+ metadata.gz: a8fc5877b56c867b00fb5e374f7ef2683570c2d8
4
+ data.tar.gz: 6cbace95edccff1c77b8438b56a4f0b7526e314d
5
5
  SHA512:
6
- metadata.gz: 758b399029699cde0ab1a2c419644056b3ff95c08c5f7a230dce2235d22b2ae0c60e63accd5d011d13b089b934a45c5a2355a48665e194f30c552ce979211971
7
- data.tar.gz: fae2154ddd0b4407227ae779e783a7412e66a761f873aa222be8299de19a4c406aeeae62c7e5b66b75009fbf633026f6f626b7a81d53e41b5c6b18374290239e
6
+ metadata.gz: 1719cb2b2bab9c2754ff50e03b89a0e17e73e71b19dd6f66d7f469a6b0af2a3b272e0c1459dfca366180323871dcbb87d438c07ec48c93c2cb63e261ee437683
7
+ data.tar.gz: 85994746d6a2b98233403ae2b98ff5d9f1f2b0ee21b41b1961b2ff3c73e7f317bfe3f5da2391f92c6fa921ffeaf20fe8aa660e6fa93a7b0c9ab8f6b52fd68add
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-configservice/customizations'
42
42
  # @service
43
43
  module Aws::ConfigService
44
44
 
45
- GEM_VERSION = '1.6.0'
45
+ GEM_VERSION = '1.7.0'
46
46
 
47
47
  end
@@ -155,6 +155,70 @@ module Aws::ConfigService
155
155
 
156
156
  # @!group API Operations
157
157
 
158
+ # Returns the current configuration for one or more requested resources.
159
+ # The operation also returns a list of resources that are not processed
160
+ # in the current request. If there are no unprocessed resources, the
161
+ # operation returns an empty unprocessedResourceKeys list.
162
+ #
163
+ # <note markdown="1"> * The API does not return results for deleted resources.
164
+ #
165
+ # * The API does not return any tags for the requested resources. This
166
+ # information is filtered out of the supplementaryConfiguration
167
+ # section of the API response.
168
+ #
169
+ # </note>
170
+ #
171
+ # @option params [required, Array<Types::ResourceKey>] :resource_keys
172
+ # A list of resource keys to be processed with the current request. Each
173
+ # element in the list consists of the resource type and resource ID.
174
+ #
175
+ # @return [Types::BatchGetResourceConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
176
+ #
177
+ # * {Types::BatchGetResourceConfigResponse#base_configuration_items #base_configuration_items} => Array&lt;Types::BaseConfigurationItem&gt;
178
+ # * {Types::BatchGetResourceConfigResponse#unprocessed_resource_keys #unprocessed_resource_keys} => Array&lt;Types::ResourceKey&gt;
179
+ #
180
+ # @example Request syntax with placeholder values
181
+ #
182
+ # resp = client.batch_get_resource_config({
183
+ # resource_keys: [ # required
184
+ # {
185
+ # resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack, AWS::DynamoDB::Table, AWS::AutoScaling::AutoScalingGroup, AWS::AutoScaling::LaunchConfiguration, AWS::AutoScaling::ScalingPolicy, AWS::AutoScaling::ScheduledAction, AWS::CodeBuild::Project, AWS::WAF::RateBasedRule, AWS::WAF::Rule, AWS::WAF::WebACL, AWS::WAFRegional::RateBasedRule, AWS::WAFRegional::Rule, AWS::WAFRegional::WebACL, AWS::CloudFront::Distribution, AWS::CloudFront::StreamingDistribution
186
+ # resource_id: "ResourceId", # required
187
+ # },
188
+ # ],
189
+ # })
190
+ #
191
+ # @example Response structure
192
+ #
193
+ # resp.base_configuration_items #=> Array
194
+ # resp.base_configuration_items[0].version #=> String
195
+ # resp.base_configuration_items[0].account_id #=> String
196
+ # resp.base_configuration_items[0].configuration_item_capture_time #=> Time
197
+ # resp.base_configuration_items[0].configuration_item_status #=> String, one of "OK", "ResourceDiscovered", "ResourceNotRecorded", "ResourceDeleted", "ResourceDeletedNotRecorded"
198
+ # resp.base_configuration_items[0].configuration_state_id #=> String
199
+ # resp.base_configuration_items[0].arn #=> String
200
+ # resp.base_configuration_items[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack", "AWS::DynamoDB::Table", "AWS::AutoScaling::AutoScalingGroup", "AWS::AutoScaling::LaunchConfiguration", "AWS::AutoScaling::ScalingPolicy", "AWS::AutoScaling::ScheduledAction", "AWS::CodeBuild::Project", "AWS::WAF::RateBasedRule", "AWS::WAF::Rule", "AWS::WAF::WebACL", "AWS::WAFRegional::RateBasedRule", "AWS::WAFRegional::Rule", "AWS::WAFRegional::WebACL", "AWS::CloudFront::Distribution", "AWS::CloudFront::StreamingDistribution"
201
+ # resp.base_configuration_items[0].resource_id #=> String
202
+ # resp.base_configuration_items[0].resource_name #=> String
203
+ # resp.base_configuration_items[0].aws_region #=> String
204
+ # resp.base_configuration_items[0].availability_zone #=> String
205
+ # resp.base_configuration_items[0].resource_creation_time #=> Time
206
+ # resp.base_configuration_items[0].configuration #=> String
207
+ # resp.base_configuration_items[0].supplementary_configuration #=> Hash
208
+ # resp.base_configuration_items[0].supplementary_configuration["SupplementaryConfigurationName"] #=> String
209
+ # resp.unprocessed_resource_keys #=> Array
210
+ # resp.unprocessed_resource_keys[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack", "AWS::DynamoDB::Table", "AWS::AutoScaling::AutoScalingGroup", "AWS::AutoScaling::LaunchConfiguration", "AWS::AutoScaling::ScalingPolicy", "AWS::AutoScaling::ScheduledAction", "AWS::CodeBuild::Project", "AWS::WAF::RateBasedRule", "AWS::WAF::Rule", "AWS::WAF::WebACL", "AWS::WAFRegional::RateBasedRule", "AWS::WAFRegional::Rule", "AWS::WAFRegional::WebACL", "AWS::CloudFront::Distribution", "AWS::CloudFront::StreamingDistribution"
211
+ # resp.unprocessed_resource_keys[0].resource_id #=> String
212
+ #
213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfig AWS API Documentation
214
+ #
215
+ # @overload batch_get_resource_config(params = {})
216
+ # @param [Hash] params ({})
217
+ def batch_get_resource_config(params = {}, options = {})
218
+ req = build_request(:batch_get_resource_config, params)
219
+ req.send_request(options)
220
+ end
221
+
158
222
  # Deletes the specified AWS Config rule and all of its evaluation
159
223
  # results.
160
224
  #
@@ -423,8 +487,7 @@ module Aws::ConfigService
423
487
  # @option params [Array<String>] :compliance_types
424
488
  # Filters the results by compliance.
425
489
  #
426
- # The allowed values are `COMPLIANT`, `NON_COMPLIANT`, and
427
- # `INSUFFICIENT_DATA`.
490
+ # The allowed values are `COMPLIANT` and `NON_COMPLIANT`.
428
491
  #
429
492
  # @option params [Integer] :limit
430
493
  # The maximum number of evaluation results returned on each page. The
@@ -1597,7 +1660,7 @@ module Aws::ConfigService
1597
1660
  params: params,
1598
1661
  config: config)
1599
1662
  context[:gem_name] = 'aws-sdk-configservice'
1600
- context[:gem_version] = '1.6.0'
1663
+ context[:gem_version] = '1.7.0'
1601
1664
  Seahorse::Client::Request.new(handlers, context)
1602
1665
  end
1603
1666
 
@@ -16,7 +16,11 @@ module Aws::ConfigService
16
16
  AllSupported = Shapes::BooleanShape.new(name: 'AllSupported')
17
17
  AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
18
18
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
19
+ BaseConfigurationItem = Shapes::StructureShape.new(name: 'BaseConfigurationItem')
20
+ BaseConfigurationItems = Shapes::ListShape.new(name: 'BaseConfigurationItems')
19
21
  BaseResourceId = Shapes::StringShape.new(name: 'BaseResourceId')
22
+ BatchGetResourceConfigRequest = Shapes::StructureShape.new(name: 'BatchGetResourceConfigRequest')
23
+ BatchGetResourceConfigResponse = Shapes::StructureShape.new(name: 'BatchGetResourceConfigResponse')
20
24
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
25
  ChannelName = Shapes::StringShape.new(name: 'ChannelName')
22
26
  ChronologicalOrder = Shapes::StringShape.new(name: 'ChronologicalOrder')
@@ -164,6 +168,8 @@ module Aws::ConfigService
164
168
  ResourceIdentifier = Shapes::StructureShape.new(name: 'ResourceIdentifier')
165
169
  ResourceIdentifierList = Shapes::ListShape.new(name: 'ResourceIdentifierList')
166
170
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
171
+ ResourceKey = Shapes::StructureShape.new(name: 'ResourceKey')
172
+ ResourceKeys = Shapes::ListShape.new(name: 'ResourceKeys')
167
173
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
168
174
  ResourceNotDiscoveredException = Shapes::StructureShape.new(name: 'ResourceNotDiscoveredException')
169
175
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -191,6 +197,31 @@ module Aws::ConfigService
191
197
  Value = Shapes::StringShape.new(name: 'Value')
192
198
  Version = Shapes::StringShape.new(name: 'Version')
193
199
 
200
+ BaseConfigurationItem.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
201
+ BaseConfigurationItem.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
202
+ BaseConfigurationItem.add_member(:configuration_item_capture_time, Shapes::ShapeRef.new(shape: ConfigurationItemCaptureTime, location_name: "configurationItemCaptureTime"))
203
+ BaseConfigurationItem.add_member(:configuration_item_status, Shapes::ShapeRef.new(shape: ConfigurationItemStatus, location_name: "configurationItemStatus"))
204
+ BaseConfigurationItem.add_member(:configuration_state_id, Shapes::ShapeRef.new(shape: ConfigurationStateId, location_name: "configurationStateId"))
205
+ BaseConfigurationItem.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
206
+ BaseConfigurationItem.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
207
+ BaseConfigurationItem.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
208
+ BaseConfigurationItem.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "resourceName"))
209
+ BaseConfigurationItem.add_member(:aws_region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "awsRegion"))
210
+ BaseConfigurationItem.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "availabilityZone"))
211
+ BaseConfigurationItem.add_member(:resource_creation_time, Shapes::ShapeRef.new(shape: ResourceCreationTime, location_name: "resourceCreationTime"))
212
+ BaseConfigurationItem.add_member(:configuration, Shapes::ShapeRef.new(shape: Configuration, location_name: "configuration"))
213
+ BaseConfigurationItem.add_member(:supplementary_configuration, Shapes::ShapeRef.new(shape: SupplementaryConfiguration, location_name: "supplementaryConfiguration"))
214
+ BaseConfigurationItem.struct_class = Types::BaseConfigurationItem
215
+
216
+ BaseConfigurationItems.member = Shapes::ShapeRef.new(shape: BaseConfigurationItem)
217
+
218
+ BatchGetResourceConfigRequest.add_member(:resource_keys, Shapes::ShapeRef.new(shape: ResourceKeys, required: true, location_name: "resourceKeys"))
219
+ BatchGetResourceConfigRequest.struct_class = Types::BatchGetResourceConfigRequest
220
+
221
+ BatchGetResourceConfigResponse.add_member(:base_configuration_items, Shapes::ShapeRef.new(shape: BaseConfigurationItems, location_name: "baseConfigurationItems"))
222
+ BatchGetResourceConfigResponse.add_member(:unprocessed_resource_keys, Shapes::ShapeRef.new(shape: ResourceKeys, location_name: "unprocessedResourceKeys"))
223
+ BatchGetResourceConfigResponse.struct_class = Types::BatchGetResourceConfigResponse
224
+
194
225
  Compliance.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceType, location_name: "ComplianceType"))
195
226
  Compliance.add_member(:compliance_contributor_count, Shapes::ShapeRef.new(shape: ComplianceContributorCount, location_name: "ComplianceContributorCount"))
196
227
  Compliance.struct_class = Types::Compliance
@@ -559,6 +590,12 @@ module Aws::ConfigService
559
590
 
560
591
  ResourceIdentifierList.member = Shapes::ShapeRef.new(shape: ResourceIdentifier)
561
592
 
593
+ ResourceKey.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
594
+ ResourceKey.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
595
+ ResourceKey.struct_class = Types::ResourceKey
596
+
597
+ ResourceKeys.member = Shapes::ShapeRef.new(shape: ResourceKey)
598
+
562
599
  ResourceTypeList.member = Shapes::ShapeRef.new(shape: ResourceType)
563
600
 
564
601
  ResourceTypes.member = Shapes::ShapeRef.new(shape: StringWithCharLimit256)
@@ -613,6 +650,16 @@ module Aws::ConfigService
613
650
  "targetPrefix" => "StarlingDoveService",
614
651
  }
615
652
 
653
+ api.add_operation(:batch_get_resource_config, Seahorse::Model::Operation.new.tap do |o|
654
+ o.name = "BatchGetResourceConfig"
655
+ o.http_method = "POST"
656
+ o.http_request_uri = "/"
657
+ o.input = Shapes::ShapeRef.new(shape: BatchGetResourceConfigRequest)
658
+ o.output = Shapes::ShapeRef.new(shape: BatchGetResourceConfigResponse)
659
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
660
+ o.errors << Shapes::ShapeRef.new(shape: NoAvailableConfigurationRecorderException)
661
+ end)
662
+
616
663
  api.add_operation(:delete_config_rule, Seahorse::Model::Operation.new.tap do |o|
617
664
  o.name = "DeleteConfigRule"
618
665
  o.http_method = "POST"
@@ -8,6 +8,134 @@
8
8
  module Aws::ConfigService
9
9
  module Types
10
10
 
11
+ # The detailed configuration of a specified resource.
12
+ #
13
+ # @!attribute [rw] version
14
+ # The version number of the resource configuration.
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] account_id
18
+ # The 12 digit AWS account ID associated with the resource.
19
+ # @return [String]
20
+ #
21
+ # @!attribute [rw] configuration_item_capture_time
22
+ # The time when the configuration recording was initiated.
23
+ # @return [Time]
24
+ #
25
+ # @!attribute [rw] configuration_item_status
26
+ # The configuration item status.
27
+ # @return [String]
28
+ #
29
+ # @!attribute [rw] configuration_state_id
30
+ # An identifier that indicates the ordering of the configuration items
31
+ # of a resource.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] arn
35
+ # The Amazon Resource Name (ARN) of the resource.
36
+ # @return [String]
37
+ #
38
+ # @!attribute [rw] resource_type
39
+ # The type of AWS resource.
40
+ # @return [String]
41
+ #
42
+ # @!attribute [rw] resource_id
43
+ # The ID of the resource (for example., sg-xxxxxx).
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] resource_name
47
+ # The custom name of the resource, if available.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] aws_region
51
+ # The region where the resource resides.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] availability_zone
55
+ # The Availability Zone associated with the resource.
56
+ # @return [String]
57
+ #
58
+ # @!attribute [rw] resource_creation_time
59
+ # The time stamp when the resource was created.
60
+ # @return [Time]
61
+ #
62
+ # @!attribute [rw] configuration
63
+ # The description of the resource configuration.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] supplementary_configuration
67
+ # Configuration attributes that AWS Config returns for certain
68
+ # resource types to supplement the information returned for the
69
+ # configuration parameter.
70
+ # @return [Hash<String,String>]
71
+ #
72
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BaseConfigurationItem AWS API Documentation
73
+ #
74
+ class BaseConfigurationItem < Struct.new(
75
+ :version,
76
+ :account_id,
77
+ :configuration_item_capture_time,
78
+ :configuration_item_status,
79
+ :configuration_state_id,
80
+ :arn,
81
+ :resource_type,
82
+ :resource_id,
83
+ :resource_name,
84
+ :aws_region,
85
+ :availability_zone,
86
+ :resource_creation_time,
87
+ :configuration,
88
+ :supplementary_configuration)
89
+ include Aws::Structure
90
+ end
91
+
92
+ # @note When making an API call, you may pass BatchGetResourceConfigRequest
93
+ # data as a hash:
94
+ #
95
+ # {
96
+ # resource_keys: [ # required
97
+ # {
98
+ # resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack, AWS::DynamoDB::Table, AWS::AutoScaling::AutoScalingGroup, AWS::AutoScaling::LaunchConfiguration, AWS::AutoScaling::ScalingPolicy, AWS::AutoScaling::ScheduledAction, AWS::CodeBuild::Project, AWS::WAF::RateBasedRule, AWS::WAF::Rule, AWS::WAF::WebACL, AWS::WAFRegional::RateBasedRule, AWS::WAFRegional::Rule, AWS::WAFRegional::WebACL, AWS::CloudFront::Distribution, AWS::CloudFront::StreamingDistribution
99
+ # resource_id: "ResourceId", # required
100
+ # },
101
+ # ],
102
+ # }
103
+ #
104
+ # @!attribute [rw] resource_keys
105
+ # A list of resource keys to be processed with the current request.
106
+ # Each element in the list consists of the resource type and resource
107
+ # ID.
108
+ # @return [Array<Types::ResourceKey>]
109
+ #
110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfigRequest AWS API Documentation
111
+ #
112
+ class BatchGetResourceConfigRequest < Struct.new(
113
+ :resource_keys)
114
+ include Aws::Structure
115
+ end
116
+
117
+ # @!attribute [rw] base_configuration_items
118
+ # A list that contains the current configuration of one or more
119
+ # resources.
120
+ # @return [Array<Types::BaseConfigurationItem>]
121
+ #
122
+ # @!attribute [rw] unprocessed_resource_keys
123
+ # A list of resource keys that were not processed with the current
124
+ # response. The unprocessesResourceKeys value is in the same form as
125
+ # ResourceKeys, so the value can be directly provided to a subsequent
126
+ # BatchGetResourceConfig operation. If there are no unprocessed
127
+ # resource keys, the response contains an empty
128
+ # unprocessedResourceKeys list.
129
+ # @return [Array<Types::ResourceKey>]
130
+ #
131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfigResponse AWS API Documentation
132
+ #
133
+ class BatchGetResourceConfigResponse < Struct.new(
134
+ :base_configuration_items,
135
+ :unprocessed_resource_keys)
136
+ include Aws::Structure
137
+ end
138
+
11
139
  # Indicates whether an AWS resource or AWS Config rule is compliant and
12
140
  # provides the number of contributors that affect the compliance.
13
141
  #
@@ -1034,8 +1162,7 @@ module Aws::ConfigService
1034
1162
  # @!attribute [rw] compliance_types
1035
1163
  # Filters the results by compliance.
1036
1164
  #
1037
- # The allowed values are `COMPLIANT`, `NON_COMPLIANT`, and
1038
- # `INSUFFICIENT_DATA`.
1165
+ # The allowed values are `COMPLIANT` and `NON_COMPLIANT`.
1039
1166
  # @return [Array<String>]
1040
1167
  #
1041
1168
  # @!attribute [rw] limit
@@ -2242,6 +2369,33 @@ module Aws::ConfigService
2242
2369
  include Aws::Structure
2243
2370
  end
2244
2371
 
2372
+ # The details that identify a resource within AWS Config, including the
2373
+ # resource type and resource ID.
2374
+ #
2375
+ # @note When making an API call, you may pass ResourceKey
2376
+ # data as a hash:
2377
+ #
2378
+ # {
2379
+ # resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack, AWS::DynamoDB::Table, AWS::AutoScaling::AutoScalingGroup, AWS::AutoScaling::LaunchConfiguration, AWS::AutoScaling::ScalingPolicy, AWS::AutoScaling::ScheduledAction, AWS::CodeBuild::Project, AWS::WAF::RateBasedRule, AWS::WAF::Rule, AWS::WAF::WebACL, AWS::WAFRegional::RateBasedRule, AWS::WAFRegional::Rule, AWS::WAFRegional::WebACL, AWS::CloudFront::Distribution, AWS::CloudFront::StreamingDistribution
2380
+ # resource_id: "ResourceId", # required
2381
+ # }
2382
+ #
2383
+ # @!attribute [rw] resource_type
2384
+ # The resource type.
2385
+ # @return [String]
2386
+ #
2387
+ # @!attribute [rw] resource_id
2388
+ # The ID of the resource (for example., sg-xxxxxx).
2389
+ # @return [String]
2390
+ #
2391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceKey AWS API Documentation
2392
+ #
2393
+ class ResourceKey < Struct.new(
2394
+ :resource_type,
2395
+ :resource_id)
2396
+ include Aws::Structure
2397
+ end
2398
+
2245
2399
  # Defines which resources trigger an evaluation for an AWS Config rule.
2246
2400
  # The scope can include one or more resource types, a combination of a
2247
2401
  # tag key and value, or a combination of one resource type and one
@@ -2387,7 +2541,8 @@ module Aws::ConfigService
2387
2541
  # evaluation when AWS Config delivers a configuration snapshot.
2388
2542
  #
2389
2543
  # If you want your custom rule to be triggered by configuration
2390
- # changes, specify both `ConfigurationItemChangeNotification` and
2544
+ # changes, specify two SourceDetail objects, one for
2545
+ # `ConfigurationItemChangeNotification` and one for
2391
2546
  # `OversizedConfigurationItemChangeNotification`.
2392
2547
  # @return [String]
2393
2548
  #
@@ -2401,6 +2556,11 @@ module Aws::ConfigService
2401
2556
  # hours. To change the frequency, specify a valid value for the
2402
2557
  # `MaximumExecutionFrequency` parameter.
2403
2558
  #
2559
+ # Based on the valid value you choose, AWS Config runs evaluations
2560
+ # once for each valid value. For example, if you choose `Three_Hours`,
2561
+ # AWS Config runs evaluations once every three hours. In this case,
2562
+ # `Three_Hours` is the frequency of this rule.
2563
+ #
2404
2564
  # </note>
2405
2565
  # @return [String]
2406
2566
  #
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.6.0
4
+ version: 1.7.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-02-19 00:00:00.000000000 Z
11
+ date: 2018-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.5.2.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Config Service