aws-sdk-configservice 1.10.0 → 1.11.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-configservice.rb +1 -1
- data/lib/aws-sdk-configservice/client.rb +121 -2
- data/lib/aws-sdk-configservice/client_api.rb +68 -0
- data/lib/aws-sdk-configservice/types.rb +127 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c182cb0f3f5246f638425d3845176fe9344e316b
|
4
|
+
data.tar.gz: 8b6d51b9e870682c15b9d95980420cca70d0e3bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f6091cbbe87322c4015ae95a0ddf96bd5497c268fdc6745f25aabc1a6b3d25ba46a967e0c2258d67e7cdb730af6accedf60cc851ef75764677be43228f17610
|
7
|
+
data.tar.gz: dd5445393b48cedbd5297ea40528bd49712c30dd428ba6986866e6a55b4e2a56e5bbd780307e686563a6db6e1e15cce231a46ab557837fa448921e0d6c45b5c6
|
@@ -412,6 +412,28 @@ module Aws::ConfigService
|
|
412
412
|
req.send_request(options)
|
413
413
|
end
|
414
414
|
|
415
|
+
# Deletes the retention configuration.
|
416
|
+
#
|
417
|
+
# @option params [required, String] :retention_configuration_name
|
418
|
+
# The name of the retention configuration to delete.
|
419
|
+
#
|
420
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
421
|
+
#
|
422
|
+
# @example Request syntax with placeholder values
|
423
|
+
#
|
424
|
+
# resp = client.delete_retention_configuration({
|
425
|
+
# retention_configuration_name: "RetentionConfigurationName", # required
|
426
|
+
# })
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration AWS API Documentation
|
429
|
+
#
|
430
|
+
# @overload delete_retention_configuration(params = {})
|
431
|
+
# @param [Hash] params ({})
|
432
|
+
def delete_retention_configuration(params = {}, options = {})
|
433
|
+
req = build_request(:delete_retention_configuration, params)
|
434
|
+
req.send_request(options)
|
435
|
+
end
|
436
|
+
|
415
437
|
# Schedules delivery of a configuration snapshot to the Amazon S3 bucket
|
416
438
|
# in the specified delivery channel. After the delivery has started, AWS
|
417
439
|
# Config sends the following notifications using an Amazon SNS topic
|
@@ -1163,6 +1185,57 @@ module Aws::ConfigService
|
|
1163
1185
|
req.send_request(options)
|
1164
1186
|
end
|
1165
1187
|
|
1188
|
+
# Returns the details of one or more retention configurations. If the
|
1189
|
+
# retention configuration name is not specified, this action returns the
|
1190
|
+
# details for all the retention configurations for that account.
|
1191
|
+
#
|
1192
|
+
# <note markdown="1"> Currently, AWS Config supports only one retention configuration per
|
1193
|
+
# region in your account.
|
1194
|
+
#
|
1195
|
+
# </note>
|
1196
|
+
#
|
1197
|
+
# @option params [Array<String>] :retention_configuration_names
|
1198
|
+
# A list of names of retention configurations for which you want
|
1199
|
+
# details. If you do not specify a name, AWS Config returns details for
|
1200
|
+
# all the retention configurations for that account.
|
1201
|
+
#
|
1202
|
+
# <note markdown="1"> Currently, AWS Config supports only one retention configuration per
|
1203
|
+
# region in your account.
|
1204
|
+
#
|
1205
|
+
# </note>
|
1206
|
+
#
|
1207
|
+
# @option params [String] :next_token
|
1208
|
+
# The `nextToken` string returned on a previous page that you use to get
|
1209
|
+
# the next page of results in a paginated response.
|
1210
|
+
#
|
1211
|
+
# @return [Types::DescribeRetentionConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1212
|
+
#
|
1213
|
+
# * {Types::DescribeRetentionConfigurationsResponse#retention_configurations #retention_configurations} => Array<Types::RetentionConfiguration>
|
1214
|
+
# * {Types::DescribeRetentionConfigurationsResponse#next_token #next_token} => String
|
1215
|
+
#
|
1216
|
+
# @example Request syntax with placeholder values
|
1217
|
+
#
|
1218
|
+
# resp = client.describe_retention_configurations({
|
1219
|
+
# retention_configuration_names: ["RetentionConfigurationName"],
|
1220
|
+
# next_token: "NextToken",
|
1221
|
+
# })
|
1222
|
+
#
|
1223
|
+
# @example Response structure
|
1224
|
+
#
|
1225
|
+
# resp.retention_configurations #=> Array
|
1226
|
+
# resp.retention_configurations[0].name #=> String
|
1227
|
+
# resp.retention_configurations[0].retention_period_in_days #=> Integer
|
1228
|
+
# resp.next_token #=> String
|
1229
|
+
#
|
1230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations AWS API Documentation
|
1231
|
+
#
|
1232
|
+
# @overload describe_retention_configurations(params = {})
|
1233
|
+
# @param [Hash] params ({})
|
1234
|
+
def describe_retention_configurations(params = {}, options = {})
|
1235
|
+
req = build_request(:describe_retention_configurations, params)
|
1236
|
+
req.send_request(options)
|
1237
|
+
end
|
1238
|
+
|
1166
1239
|
# Returns the evaluation results for the specified AWS Config rule for a
|
1167
1240
|
# specific resource in a rule. The results indicate which AWS resources
|
1168
1241
|
# were evaluated by the rule, when each resource was last evaluated, and
|
@@ -1599,7 +1672,10 @@ module Aws::ConfigService
|
|
1599
1672
|
|
1600
1673
|
# Returns a list of configuration items for the specified resource. The
|
1601
1674
|
# list contains details about each state of the resource during the
|
1602
|
-
# specified time interval.
|
1675
|
+
# specified time interval. If you specified a retention period to retain
|
1676
|
+
# your `ConfigurationItems` between a minimum of 30 days and a maximum
|
1677
|
+
# of 7 years (2557 days), AWS Config returns the `ConfigurationItems`
|
1678
|
+
# for the specified retention period.
|
1603
1679
|
#
|
1604
1680
|
# The response is paginated. By default, AWS Config returns a limit of
|
1605
1681
|
# 10 configuration items per page. You can customize this number with
|
@@ -2128,6 +2204,49 @@ module Aws::ConfigService
|
|
2128
2204
|
req.send_request(options)
|
2129
2205
|
end
|
2130
2206
|
|
2207
|
+
# Creates and updates the retention configuration with details about
|
2208
|
+
# retention period (number of days) that AWS Config stores your
|
2209
|
+
# historical information. The API creates the `RetentionConfiguration`
|
2210
|
+
# object and names the object as **default**. When you have a
|
2211
|
+
# `RetentionConfiguration` object named **default**, calling the API
|
2212
|
+
# modifies the default object.
|
2213
|
+
#
|
2214
|
+
# <note markdown="1"> Currently, AWS Config supports only one retention configuration per
|
2215
|
+
# region in your account.
|
2216
|
+
#
|
2217
|
+
# </note>
|
2218
|
+
#
|
2219
|
+
# @option params [required, Integer] :retention_period_in_days
|
2220
|
+
# Number of days AWS Config stores your historical information.
|
2221
|
+
#
|
2222
|
+
# <note markdown="1"> Currently, only applicable to the configuration item history.
|
2223
|
+
#
|
2224
|
+
# </note>
|
2225
|
+
#
|
2226
|
+
# @return [Types::PutRetentionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2227
|
+
#
|
2228
|
+
# * {Types::PutRetentionConfigurationResponse#retention_configuration #retention_configuration} => Types::RetentionConfiguration
|
2229
|
+
#
|
2230
|
+
# @example Request syntax with placeholder values
|
2231
|
+
#
|
2232
|
+
# resp = client.put_retention_configuration({
|
2233
|
+
# retention_period_in_days: 1, # required
|
2234
|
+
# })
|
2235
|
+
#
|
2236
|
+
# @example Response structure
|
2237
|
+
#
|
2238
|
+
# resp.retention_configuration.name #=> String
|
2239
|
+
# resp.retention_configuration.retention_period_in_days #=> Integer
|
2240
|
+
#
|
2241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration AWS API Documentation
|
2242
|
+
#
|
2243
|
+
# @overload put_retention_configuration(params = {})
|
2244
|
+
# @param [Hash] params ({})
|
2245
|
+
def put_retention_configuration(params = {}, options = {})
|
2246
|
+
req = build_request(:put_retention_configuration, params)
|
2247
|
+
req.send_request(options)
|
2248
|
+
end
|
2249
|
+
|
2131
2250
|
# Runs an on-demand evaluation for the specified AWS Config rules
|
2132
2251
|
# against the last known configuration state of the resources. Use
|
2133
2252
|
# `StartConfigRulesEvaluation` when you want to test that a rule you
|
@@ -2251,7 +2370,7 @@ module Aws::ConfigService
|
|
2251
2370
|
params: params,
|
2252
2371
|
config: config)
|
2253
2372
|
context[:gem_name] = 'aws-sdk-configservice'
|
2254
|
-
context[:gem_version] = '1.
|
2373
|
+
context[:gem_version] = '1.11.0'
|
2255
2374
|
Seahorse::Client::Request.new(handlers, context)
|
2256
2375
|
end
|
2257
2376
|
|
@@ -92,6 +92,7 @@ module Aws::ConfigService
|
|
92
92
|
DeleteEvaluationResultsRequest = Shapes::StructureShape.new(name: 'DeleteEvaluationResultsRequest')
|
93
93
|
DeleteEvaluationResultsResponse = Shapes::StructureShape.new(name: 'DeleteEvaluationResultsResponse')
|
94
94
|
DeletePendingAggregationRequestRequest = Shapes::StructureShape.new(name: 'DeletePendingAggregationRequestRequest')
|
95
|
+
DeleteRetentionConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteRetentionConfigurationRequest')
|
95
96
|
DeliverConfigSnapshotRequest = Shapes::StructureShape.new(name: 'DeliverConfigSnapshotRequest')
|
96
97
|
DeliverConfigSnapshotResponse = Shapes::StructureShape.new(name: 'DeliverConfigSnapshotResponse')
|
97
98
|
DeliveryChannel = Shapes::StructureShape.new(name: 'DeliveryChannel')
|
@@ -127,6 +128,8 @@ module Aws::ConfigService
|
|
127
128
|
DescribePendingAggregationRequestsLimit = Shapes::IntegerShape.new(name: 'DescribePendingAggregationRequestsLimit')
|
128
129
|
DescribePendingAggregationRequestsRequest = Shapes::StructureShape.new(name: 'DescribePendingAggregationRequestsRequest')
|
129
130
|
DescribePendingAggregationRequestsResponse = Shapes::StructureShape.new(name: 'DescribePendingAggregationRequestsResponse')
|
131
|
+
DescribeRetentionConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeRetentionConfigurationsRequest')
|
132
|
+
DescribeRetentionConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeRetentionConfigurationsResponse')
|
130
133
|
EarlierTime = Shapes::TimestampShape.new(name: 'EarlierTime')
|
131
134
|
EmptiableStringWithCharLimit256 = Shapes::StringShape.new(name: 'EmptiableStringWithCharLimit256')
|
132
135
|
Evaluation = Shapes::StructureShape.new(name: 'Evaluation')
|
@@ -177,6 +180,7 @@ module Aws::ConfigService
|
|
177
180
|
MaxNumberOfConfigRulesExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfConfigRulesExceededException')
|
178
181
|
MaxNumberOfConfigurationRecordersExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfConfigurationRecordersExceededException')
|
179
182
|
MaxNumberOfDeliveryChannelsExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfDeliveryChannelsExceededException')
|
183
|
+
MaxNumberOfRetentionConfigurationsExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfRetentionConfigurationsExceededException')
|
180
184
|
MaximumExecutionFrequency = Shapes::StringShape.new(name: 'MaximumExecutionFrequency')
|
181
185
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
182
186
|
Name = Shapes::StringShape.new(name: 'Name')
|
@@ -190,6 +194,7 @@ module Aws::ConfigService
|
|
190
194
|
NoSuchConfigurationAggregatorException = Shapes::StructureShape.new(name: 'NoSuchConfigurationAggregatorException')
|
191
195
|
NoSuchConfigurationRecorderException = Shapes::StructureShape.new(name: 'NoSuchConfigurationRecorderException')
|
192
196
|
NoSuchDeliveryChannelException = Shapes::StructureShape.new(name: 'NoSuchDeliveryChannelException')
|
197
|
+
NoSuchRetentionConfigurationException = Shapes::StructureShape.new(name: 'NoSuchRetentionConfigurationException')
|
193
198
|
OrderingTimestamp = Shapes::TimestampShape.new(name: 'OrderingTimestamp')
|
194
199
|
OrganizationAccessDeniedException = Shapes::StructureShape.new(name: 'OrganizationAccessDeniedException')
|
195
200
|
OrganizationAggregationSource = Shapes::StructureShape.new(name: 'OrganizationAggregationSource')
|
@@ -206,6 +211,8 @@ module Aws::ConfigService
|
|
206
211
|
PutDeliveryChannelRequest = Shapes::StructureShape.new(name: 'PutDeliveryChannelRequest')
|
207
212
|
PutEvaluationsRequest = Shapes::StructureShape.new(name: 'PutEvaluationsRequest')
|
208
213
|
PutEvaluationsResponse = Shapes::StructureShape.new(name: 'PutEvaluationsResponse')
|
214
|
+
PutRetentionConfigurationRequest = Shapes::StructureShape.new(name: 'PutRetentionConfigurationRequest')
|
215
|
+
PutRetentionConfigurationResponse = Shapes::StructureShape.new(name: 'PutRetentionConfigurationResponse')
|
209
216
|
RecorderName = Shapes::StringShape.new(name: 'RecorderName')
|
210
217
|
RecorderStatus = Shapes::StringShape.new(name: 'RecorderStatus')
|
211
218
|
RecordingGroup = Shapes::StructureShape.new(name: 'RecordingGroup')
|
@@ -231,6 +238,11 @@ module Aws::ConfigService
|
|
231
238
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
232
239
|
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
233
240
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
241
|
+
RetentionConfiguration = Shapes::StructureShape.new(name: 'RetentionConfiguration')
|
242
|
+
RetentionConfigurationList = Shapes::ListShape.new(name: 'RetentionConfigurationList')
|
243
|
+
RetentionConfigurationName = Shapes::StringShape.new(name: 'RetentionConfigurationName')
|
244
|
+
RetentionConfigurationNameList = Shapes::ListShape.new(name: 'RetentionConfigurationNameList')
|
245
|
+
RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
|
234
246
|
RuleLimit = Shapes::IntegerShape.new(name: 'RuleLimit')
|
235
247
|
Scope = Shapes::StructureShape.new(name: 'Scope')
|
236
248
|
Source = Shapes::StructureShape.new(name: 'Source')
|
@@ -508,6 +520,9 @@ module Aws::ConfigService
|
|
508
520
|
DeletePendingAggregationRequestRequest.add_member(:requester_aws_region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "RequesterAwsRegion"))
|
509
521
|
DeletePendingAggregationRequestRequest.struct_class = Types::DeletePendingAggregationRequestRequest
|
510
522
|
|
523
|
+
DeleteRetentionConfigurationRequest.add_member(:retention_configuration_name, Shapes::ShapeRef.new(shape: RetentionConfigurationName, required: true, location_name: "RetentionConfigurationName"))
|
524
|
+
DeleteRetentionConfigurationRequest.struct_class = Types::DeleteRetentionConfigurationRequest
|
525
|
+
|
511
526
|
DeliverConfigSnapshotRequest.add_member(:delivery_channel_name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "deliveryChannelName"))
|
512
527
|
DeliverConfigSnapshotRequest.struct_class = Types::DeliverConfigSnapshotRequest
|
513
528
|
|
@@ -639,6 +654,14 @@ module Aws::ConfigService
|
|
639
654
|
DescribePendingAggregationRequestsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
640
655
|
DescribePendingAggregationRequestsResponse.struct_class = Types::DescribePendingAggregationRequestsResponse
|
641
656
|
|
657
|
+
DescribeRetentionConfigurationsRequest.add_member(:retention_configuration_names, Shapes::ShapeRef.new(shape: RetentionConfigurationNameList, location_name: "RetentionConfigurationNames"))
|
658
|
+
DescribeRetentionConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
659
|
+
DescribeRetentionConfigurationsRequest.struct_class = Types::DescribeRetentionConfigurationsRequest
|
660
|
+
|
661
|
+
DescribeRetentionConfigurationsResponse.add_member(:retention_configurations, Shapes::ShapeRef.new(shape: RetentionConfigurationList, location_name: "RetentionConfigurations"))
|
662
|
+
DescribeRetentionConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
663
|
+
DescribeRetentionConfigurationsResponse.struct_class = Types::DescribeRetentionConfigurationsResponse
|
664
|
+
|
642
665
|
Evaluation.add_member(:compliance_resource_type, Shapes::ShapeRef.new(shape: StringWithCharLimit256, required: true, location_name: "ComplianceResourceType"))
|
643
666
|
Evaluation.add_member(:compliance_resource_id, Shapes::ShapeRef.new(shape: BaseResourceId, required: true, location_name: "ComplianceResourceId"))
|
644
667
|
Evaluation.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceType, required: true, location_name: "ComplianceType"))
|
@@ -799,6 +822,12 @@ module Aws::ConfigService
|
|
799
822
|
PutEvaluationsResponse.add_member(:failed_evaluations, Shapes::ShapeRef.new(shape: Evaluations, location_name: "FailedEvaluations"))
|
800
823
|
PutEvaluationsResponse.struct_class = Types::PutEvaluationsResponse
|
801
824
|
|
825
|
+
PutRetentionConfigurationRequest.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, required: true, location_name: "RetentionPeriodInDays"))
|
826
|
+
PutRetentionConfigurationRequest.struct_class = Types::PutRetentionConfigurationRequest
|
827
|
+
|
828
|
+
PutRetentionConfigurationResponse.add_member(:retention_configuration, Shapes::ShapeRef.new(shape: RetentionConfiguration, location_name: "RetentionConfiguration"))
|
829
|
+
PutRetentionConfigurationResponse.struct_class = Types::PutRetentionConfigurationResponse
|
830
|
+
|
802
831
|
RecordingGroup.add_member(:all_supported, Shapes::ShapeRef.new(shape: AllSupported, location_name: "allSupported"))
|
803
832
|
RecordingGroup.add_member(:include_global_resource_types, Shapes::ShapeRef.new(shape: IncludeGlobalResourceTypes, location_name: "includeGlobalResourceTypes"))
|
804
833
|
RecordingGroup.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, location_name: "resourceTypes"))
|
@@ -842,6 +871,14 @@ module Aws::ConfigService
|
|
842
871
|
|
843
872
|
ResourceTypes.member = Shapes::ShapeRef.new(shape: StringWithCharLimit256)
|
844
873
|
|
874
|
+
RetentionConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: RetentionConfigurationName, required: true, location_name: "Name"))
|
875
|
+
RetentionConfiguration.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: RetentionPeriodInDays, required: true, location_name: "RetentionPeriodInDays"))
|
876
|
+
RetentionConfiguration.struct_class = Types::RetentionConfiguration
|
877
|
+
|
878
|
+
RetentionConfigurationList.member = Shapes::ShapeRef.new(shape: RetentionConfiguration)
|
879
|
+
|
880
|
+
RetentionConfigurationNameList.member = Shapes::ShapeRef.new(shape: RetentionConfigurationName)
|
881
|
+
|
845
882
|
Scope.add_member(:compliance_resource_types, Shapes::ShapeRef.new(shape: ComplianceResourceTypes, location_name: "ComplianceResourceTypes"))
|
846
883
|
Scope.add_member(:tag_key, Shapes::ShapeRef.new(shape: StringWithCharLimit128, location_name: "TagKey"))
|
847
884
|
Scope.add_member(:tag_value, Shapes::ShapeRef.new(shape: StringWithCharLimit256, location_name: "TagValue"))
|
@@ -968,6 +1005,16 @@ module Aws::ConfigService
|
|
968
1005
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
969
1006
|
end)
|
970
1007
|
|
1008
|
+
api.add_operation(:delete_retention_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1009
|
+
o.name = "DeleteRetentionConfiguration"
|
1010
|
+
o.http_method = "POST"
|
1011
|
+
o.http_request_uri = "/"
|
1012
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRetentionConfigurationRequest)
|
1013
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchRetentionConfigurationException)
|
1016
|
+
end)
|
1017
|
+
|
971
1018
|
api.add_operation(:deliver_config_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
972
1019
|
o.name = "DeliverConfigSnapshot"
|
973
1020
|
o.http_method = "POST"
|
@@ -1115,6 +1162,17 @@ module Aws::ConfigService
|
|
1115
1162
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLimitException)
|
1116
1163
|
end)
|
1117
1164
|
|
1165
|
+
api.add_operation(:describe_retention_configurations, Seahorse::Model::Operation.new.tap do |o|
|
1166
|
+
o.name = "DescribeRetentionConfigurations"
|
1167
|
+
o.http_method = "POST"
|
1168
|
+
o.http_request_uri = "/"
|
1169
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRetentionConfigurationsRequest)
|
1170
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRetentionConfigurationsResponse)
|
1171
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchRetentionConfigurationException)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1174
|
+
end)
|
1175
|
+
|
1118
1176
|
api.add_operation(:get_aggregate_compliance_details_by_config_rule, Seahorse::Model::Operation.new.tap do |o|
|
1119
1177
|
o.name = "GetAggregateComplianceDetailsByConfigRule"
|
1120
1178
|
o.http_method = "POST"
|
@@ -1293,6 +1351,16 @@ module Aws::ConfigService
|
|
1293
1351
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchConfigRuleException)
|
1294
1352
|
end)
|
1295
1353
|
|
1354
|
+
api.add_operation(:put_retention_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1355
|
+
o.name = "PutRetentionConfiguration"
|
1356
|
+
o.http_method = "POST"
|
1357
|
+
o.http_request_uri = "/"
|
1358
|
+
o.input = Shapes::ShapeRef.new(shape: PutRetentionConfigurationRequest)
|
1359
|
+
o.output = Shapes::ShapeRef.new(shape: PutRetentionConfigurationResponse)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: MaxNumberOfRetentionConfigurationsExceededException)
|
1362
|
+
end)
|
1363
|
+
|
1296
1364
|
api.add_operation(:start_config_rules_evaluation, Seahorse::Model::Operation.new.tap do |o|
|
1297
1365
|
o.name = "StartConfigRulesEvaluation"
|
1298
1366
|
o.http_method = "POST"
|
@@ -24,7 +24,7 @@ module Aws::ConfigService
|
|
24
24
|
# @return [Array<String>]
|
25
25
|
#
|
26
26
|
# @!attribute [rw] all_aws_regions
|
27
|
-
# If true,
|
27
|
+
# If true, aggregate existing AWS Config regions and future regions.
|
28
28
|
# @return [Boolean]
|
29
29
|
#
|
30
30
|
# @!attribute [rw] aws_regions
|
@@ -1332,6 +1332,24 @@ module Aws::ConfigService
|
|
1332
1332
|
include Aws::Structure
|
1333
1333
|
end
|
1334
1334
|
|
1335
|
+
# @note When making an API call, you may pass DeleteRetentionConfigurationRequest
|
1336
|
+
# data as a hash:
|
1337
|
+
#
|
1338
|
+
# {
|
1339
|
+
# retention_configuration_name: "RetentionConfigurationName", # required
|
1340
|
+
# }
|
1341
|
+
#
|
1342
|
+
# @!attribute [rw] retention_configuration_name
|
1343
|
+
# The name of the retention configuration to delete.
|
1344
|
+
# @return [String]
|
1345
|
+
#
|
1346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfigurationRequest AWS API Documentation
|
1347
|
+
#
|
1348
|
+
class DeleteRetentionConfigurationRequest < Struct.new(
|
1349
|
+
:retention_configuration_name)
|
1350
|
+
include Aws::Structure
|
1351
|
+
end
|
1352
|
+
|
1335
1353
|
# The input for the DeliverConfigSnapshot action.
|
1336
1354
|
#
|
1337
1355
|
# @note When making an API call, you may pass DeliverConfigSnapshotRequest
|
@@ -1850,7 +1868,7 @@ module Aws::ConfigService
|
|
1850
1868
|
end
|
1851
1869
|
|
1852
1870
|
# @!attribute [rw] aggregated_source_status_list
|
1853
|
-
#
|
1871
|
+
# Returns an AggregatedSourceStatus object.
|
1854
1872
|
# @return [Array<Types::AggregatedSourceStatus>]
|
1855
1873
|
#
|
1856
1874
|
# @!attribute [rw] next_token
|
@@ -2096,6 +2114,55 @@ module Aws::ConfigService
|
|
2096
2114
|
include Aws::Structure
|
2097
2115
|
end
|
2098
2116
|
|
2117
|
+
# @note When making an API call, you may pass DescribeRetentionConfigurationsRequest
|
2118
|
+
# data as a hash:
|
2119
|
+
#
|
2120
|
+
# {
|
2121
|
+
# retention_configuration_names: ["RetentionConfigurationName"],
|
2122
|
+
# next_token: "NextToken",
|
2123
|
+
# }
|
2124
|
+
#
|
2125
|
+
# @!attribute [rw] retention_configuration_names
|
2126
|
+
# A list of names of retention configurations for which you want
|
2127
|
+
# details. If you do not specify a name, AWS Config returns details
|
2128
|
+
# for all the retention configurations for that account.
|
2129
|
+
#
|
2130
|
+
# <note markdown="1"> Currently, AWS Config supports only one retention configuration per
|
2131
|
+
# region in your account.
|
2132
|
+
#
|
2133
|
+
# </note>
|
2134
|
+
# @return [Array<String>]
|
2135
|
+
#
|
2136
|
+
# @!attribute [rw] next_token
|
2137
|
+
# The `nextToken` string returned on a previous page that you use to
|
2138
|
+
# get the next page of results in a paginated response.
|
2139
|
+
# @return [String]
|
2140
|
+
#
|
2141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurationsRequest AWS API Documentation
|
2142
|
+
#
|
2143
|
+
class DescribeRetentionConfigurationsRequest < Struct.new(
|
2144
|
+
:retention_configuration_names,
|
2145
|
+
:next_token)
|
2146
|
+
include Aws::Structure
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
# @!attribute [rw] retention_configurations
|
2150
|
+
# Returns a retention configuration object.
|
2151
|
+
# @return [Array<Types::RetentionConfiguration>]
|
2152
|
+
#
|
2153
|
+
# @!attribute [rw] next_token
|
2154
|
+
# The `nextToken` string returned on a previous page that you use to
|
2155
|
+
# get the next page of results in a paginated response.
|
2156
|
+
# @return [String]
|
2157
|
+
#
|
2158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurationsResponse AWS API Documentation
|
2159
|
+
#
|
2160
|
+
class DescribeRetentionConfigurationsResponse < Struct.new(
|
2161
|
+
:retention_configurations,
|
2162
|
+
:next_token)
|
2163
|
+
include Aws::Structure
|
2164
|
+
end
|
2165
|
+
|
2099
2166
|
# Identifies an AWS resource and indicates whether it complies with the
|
2100
2167
|
# AWS Config rule that it was evaluated against.
|
2101
2168
|
#
|
@@ -2845,7 +2912,7 @@ module Aws::ConfigService
|
|
2845
2912
|
# @return [Array<String>]
|
2846
2913
|
#
|
2847
2914
|
# @!attribute [rw] all_aws_regions
|
2848
|
-
# If true,
|
2915
|
+
# If true, aggregate existing AWS Config regions and future regions.
|
2849
2916
|
# @return [Boolean]
|
2850
2917
|
#
|
2851
2918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/OrganizationAggregationSource AWS API Documentation
|
@@ -3126,6 +3193,39 @@ module Aws::ConfigService
|
|
3126
3193
|
include Aws::Structure
|
3127
3194
|
end
|
3128
3195
|
|
3196
|
+
# @note When making an API call, you may pass PutRetentionConfigurationRequest
|
3197
|
+
# data as a hash:
|
3198
|
+
#
|
3199
|
+
# {
|
3200
|
+
# retention_period_in_days: 1, # required
|
3201
|
+
# }
|
3202
|
+
#
|
3203
|
+
# @!attribute [rw] retention_period_in_days
|
3204
|
+
# Number of days AWS Config stores your historical information.
|
3205
|
+
#
|
3206
|
+
# <note markdown="1"> Currently, only applicable to the configuration item history.
|
3207
|
+
#
|
3208
|
+
# </note>
|
3209
|
+
# @return [Integer]
|
3210
|
+
#
|
3211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfigurationRequest AWS API Documentation
|
3212
|
+
#
|
3213
|
+
class PutRetentionConfigurationRequest < Struct.new(
|
3214
|
+
:retention_period_in_days)
|
3215
|
+
include Aws::Structure
|
3216
|
+
end
|
3217
|
+
|
3218
|
+
# @!attribute [rw] retention_configuration
|
3219
|
+
# Returns a retention configuration object.
|
3220
|
+
# @return [Types::RetentionConfiguration]
|
3221
|
+
#
|
3222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfigurationResponse AWS API Documentation
|
3223
|
+
#
|
3224
|
+
class PutRetentionConfigurationResponse < Struct.new(
|
3225
|
+
:retention_configuration)
|
3226
|
+
include Aws::Structure
|
3227
|
+
end
|
3228
|
+
|
3129
3229
|
# Specifies the types of AWS resource for which AWS Config records
|
3130
3230
|
# configuration changes.
|
3131
3231
|
#
|
@@ -3338,6 +3438,30 @@ module Aws::ConfigService
|
|
3338
3438
|
include Aws::Structure
|
3339
3439
|
end
|
3340
3440
|
|
3441
|
+
# An object with the name of the retention configuration and the
|
3442
|
+
# retention period in days. The object stores the configuration for data
|
3443
|
+
# retention in AWS Config.
|
3444
|
+
#
|
3445
|
+
# @!attribute [rw] name
|
3446
|
+
# The name of the retention configuration object.
|
3447
|
+
# @return [String]
|
3448
|
+
#
|
3449
|
+
# @!attribute [rw] retention_period_in_days
|
3450
|
+
# Number of days AWS Config stores your historical information.
|
3451
|
+
#
|
3452
|
+
# <note markdown="1"> Currently, only applicable to the configuration item history.
|
3453
|
+
#
|
3454
|
+
# </note>
|
3455
|
+
# @return [Integer]
|
3456
|
+
#
|
3457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/RetentionConfiguration AWS API Documentation
|
3458
|
+
#
|
3459
|
+
class RetentionConfiguration < Struct.new(
|
3460
|
+
:name,
|
3461
|
+
:retention_period_in_days)
|
3462
|
+
include Aws::Structure
|
3463
|
+
end
|
3464
|
+
|
3341
3465
|
# Defines which resources trigger an evaluation for an AWS Config rule.
|
3342
3466
|
# The scope can include one or more resource types, a combination of a
|
3343
3467
|
# tag key and value, or a combination of one resource type and one
|
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.11.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-05-
|
11
|
+
date: 2018-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|