aws-sdk-configservice 1.22.0 → 1.23.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: bc42be04a037c07c4350df37e6019331254b269e
4
- data.tar.gz: cb768780375ff4c0c0e96ac10e8de6cc7feb4069
3
+ metadata.gz: f03c6f05f911dc48e15bee25aa366a0a20c43272
4
+ data.tar.gz: '098b28bf780eece2a690698f185e93d0b0991e51'
5
5
  SHA512:
6
- metadata.gz: 9504088d569a6b295131e588a8a4274d1400764d8608dcf20bab9bc2d518c2f71c1de7b1e26386960bef2b69bc766cb8315b57a5277251841bdefe7fc8c704ca
7
- data.tar.gz: c99004bbc1dbf4b6ccfcd0f6d98c217c4a489bbaef40d087578ad50d74976d0fe91c79e448a7715fbc1d646cb2efc0e6e6969e27b5b940e8bf5d5d18002e5fec
6
+ metadata.gz: d688887531d43a568d3da2e099327d525045ccc51558529db810a1ab6b25fc3f0ec3d1333d34ae639aa8f825263d514363deb9dcf814d88059602f2a1dc3f5b3
7
+ data.tar.gz: 74125e3b2e691bc4b142d7f4a21d9e3c5754bb4400dada0dadbe3a985275ac225d8679df76d42fda1f0ee1ac121b1d8c273946bdda43bfe2821079360aa5da6d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-configservice/customizations'
42
42
  # @service
43
43
  module Aws::ConfigService
44
44
 
45
- GEM_VERSION = '1.22.0'
45
+ GEM_VERSION = '1.23.0'
46
46
 
47
47
  end
@@ -548,7 +548,7 @@ module Aws::ConfigService
548
548
  #
549
549
  # @option params [required, String] :config_rule_name
550
550
  # The name of the AWS Config rule for which you want to delete
551
- # remediation configuration for.
551
+ # remediation configuration.
552
552
  #
553
553
  # @option params [String] :resource_type
554
554
  # The type of a resource.
@@ -1346,7 +1346,7 @@ module Aws::ConfigService
1346
1346
  req.send_request(options)
1347
1347
  end
1348
1348
 
1349
- # Returns the details of one or more remediation configuration.
1349
+ # Returns the details of one or more remediation configurations.
1350
1350
  #
1351
1351
  # @option params [required, Array<String>] :config_rule_names
1352
1352
  # A list of AWS Config rule names of remediation configurations for
@@ -1386,15 +1386,16 @@ module Aws::ConfigService
1386
1386
 
1387
1387
  # Provides a detailed view of a Remediation Execution for a set of
1388
1388
  # resources including state, timestamps for when steps for the
1389
- # remediation execution happen, and any error messages for steps that
1389
+ # remediation execution occur, and any error messages for steps that
1390
1390
  # have failed. When you specify the limit and the next token, you
1391
1391
  # receive a paginated response.
1392
1392
  #
1393
1393
  # @option params [required, String] :config_rule_name
1394
- # A list of config rule names.
1394
+ # A list of AWS Config rule names.
1395
1395
  #
1396
1396
  # @option params [Array<Types::ResourceKey>] :resource_keys
1397
- # A list of resource keys object.
1397
+ # A list of resource keys to be processed with the current request. Each
1398
+ # element in the list consists of the resource type and resource ID.
1398
1399
  #
1399
1400
  # @option params [Integer] :limit
1400
1401
  # The maximum number of RemediationExecutionStatuses returned on each
@@ -2319,6 +2320,51 @@ module Aws::ConfigService
2319
2320
  req.send_request(options)
2320
2321
  end
2321
2322
 
2323
+ # List the tags for AWS Config resource.
2324
+ #
2325
+ # @option params [required, String] :resource_arn
2326
+ # The Amazon Resource Name (ARN) that identifies the resource for which
2327
+ # to list the tags. Currently, the supported resources are `ConfigRule`,
2328
+ # `ConfigurationAggregator` and `AggregatorAuthorization`.
2329
+ #
2330
+ # @option params [Integer] :limit
2331
+ # The maximum number of tags returned on each page. The limit maximum is
2332
+ # 50. You cannot specify a number greater than 50. If you specify 0, AWS
2333
+ # Config uses the default.
2334
+ #
2335
+ # @option params [String] :next_token
2336
+ # The nextToken string returned on a previous page that you use to get
2337
+ # the next page of results in a paginated response.
2338
+ #
2339
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2340
+ #
2341
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
2342
+ # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
2343
+ #
2344
+ # @example Request syntax with placeholder values
2345
+ #
2346
+ # resp = client.list_tags_for_resource({
2347
+ # resource_arn: "AmazonResourceName", # required
2348
+ # limit: 1,
2349
+ # next_token: "NextToken",
2350
+ # })
2351
+ #
2352
+ # @example Response structure
2353
+ #
2354
+ # resp.tags #=> Array
2355
+ # resp.tags[0].key #=> String
2356
+ # resp.tags[0].value #=> String
2357
+ # resp.next_token #=> String
2358
+ #
2359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListTagsForResource AWS API Documentation
2360
+ #
2361
+ # @overload list_tags_for_resource(params = {})
2362
+ # @param [Hash] params ({})
2363
+ def list_tags_for_resource(params = {}, options = {})
2364
+ req = build_request(:list_tags_for_resource, params)
2365
+ req.send_request(options)
2366
+ end
2367
+
2322
2368
  # Authorizes the aggregator account and region to collect data from the
2323
2369
  # source account and region.
2324
2370
  #
@@ -2672,10 +2718,10 @@ module Aws::ConfigService
2672
2718
 
2673
2719
  # Adds or updates the remediation configuration with a specific AWS
2674
2720
  # Config rule with the selected target or action. The API creates the
2675
- # `RemediationConfiguration` object for the AWS Config rule. AWS Config
2676
- # rule must already exist for you to add a remeduation configuration.
2677
- # The target (SSM document) must exist and have permissions to use the
2678
- # target.
2721
+ # `RemediationConfiguration` object for the AWS Config rule. The AWS
2722
+ # Config rule must already exist for you to add a remediation
2723
+ # configuration. The target (SSM document) must exist and have
2724
+ # permissions to use the target.
2679
2725
  #
2680
2726
  # @option params [required, Array<Types::RemediationConfiguration>] :remediation_configurations
2681
2727
  # A list of remediation configuration objects.
@@ -2875,7 +2921,8 @@ module Aws::ConfigService
2875
2921
  # execution for.
2876
2922
  #
2877
2923
  # @option params [required, Array<Types::ResourceKey>] :resource_keys
2878
- # A list of resource key object.
2924
+ # A list of resource keys to be processed with the current request. Each
2925
+ # element in the list consists of the resource type and resource ID.
2879
2926
  #
2880
2927
  # @return [Types::StartRemediationExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2881
2928
  #
@@ -2934,6 +2981,70 @@ module Aws::ConfigService
2934
2981
  req.send_request(options)
2935
2982
  end
2936
2983
 
2984
+ # Associates the specified tags to a resource with the specified
2985
+ # resourceArn. If existing tags on a resource are not specified in the
2986
+ # request parameters, they are not changed. When a resource is deleted,
2987
+ # the tags associated with that resource are deleted as well.
2988
+ #
2989
+ # @option params [required, String] :resource_arn
2990
+ # The Amazon Resource Name (ARN) that identifies the resource for which
2991
+ # to list the tags. Currently, the supported resources are `ConfigRule`,
2992
+ # `ConfigurationAggregator` and `AggregatorAuthorization`.
2993
+ #
2994
+ # @option params [required, Array<Types::Tag>] :tags
2995
+ # An array of tag object.
2996
+ #
2997
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2998
+ #
2999
+ # @example Request syntax with placeholder values
3000
+ #
3001
+ # resp = client.tag_resource({
3002
+ # resource_arn: "AmazonResourceName", # required
3003
+ # tags: [ # required
3004
+ # {
3005
+ # key: "TagKey",
3006
+ # value: "TagValue",
3007
+ # },
3008
+ # ],
3009
+ # })
3010
+ #
3011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/TagResource AWS API Documentation
3012
+ #
3013
+ # @overload tag_resource(params = {})
3014
+ # @param [Hash] params ({})
3015
+ def tag_resource(params = {}, options = {})
3016
+ req = build_request(:tag_resource, params)
3017
+ req.send_request(options)
3018
+ end
3019
+
3020
+ # Deletes specified tags from a resource.
3021
+ #
3022
+ # @option params [required, String] :resource_arn
3023
+ # The Amazon Resource Name (ARN) that identifies the resource for which
3024
+ # to list the tags. Currently, the supported resources are `ConfigRule`,
3025
+ # `ConfigurationAggregator` and `AggregatorAuthorization`.
3026
+ #
3027
+ # @option params [required, Array<String>] :tag_keys
3028
+ # The keys of the tags to be removed.
3029
+ #
3030
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3031
+ #
3032
+ # @example Request syntax with placeholder values
3033
+ #
3034
+ # resp = client.untag_resource({
3035
+ # resource_arn: "AmazonResourceName", # required
3036
+ # tag_keys: ["TagKey"], # required
3037
+ # })
3038
+ #
3039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/UntagResource AWS API Documentation
3040
+ #
3041
+ # @overload untag_resource(params = {})
3042
+ # @param [Hash] params ({})
3043
+ def untag_resource(params = {}, options = {})
3044
+ req = build_request(:untag_resource, params)
3045
+ req.send_request(options)
3046
+ end
3047
+
2937
3048
  # @!endgroup
2938
3049
 
2939
3050
  # @param params ({})
@@ -2947,7 +3058,7 @@ module Aws::ConfigService
2947
3058
  params: params,
2948
3059
  config: config)
2949
3060
  context[:gem_name] = 'aws-sdk-configservice'
2950
- context[:gem_version] = '1.22.0'
3061
+ context[:gem_version] = '1.23.0'
2951
3062
  Seahorse::Client::Request.new(handlers, context)
2952
3063
  end
2953
3064
 
@@ -32,6 +32,7 @@ module Aws::ConfigService
32
32
  AggregationAuthorizationList = Shapes::ListShape.new(name: 'AggregationAuthorizationList')
33
33
  AggregatorRegionList = Shapes::ListShape.new(name: 'AggregatorRegionList')
34
34
  AllSupported = Shapes::BooleanShape.new(name: 'AllSupported')
35
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
35
36
  AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
36
37
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
37
38
  BaseConfigurationItem = Shapes::StructureShape.new(name: 'BaseConfigurationItem')
@@ -196,6 +197,8 @@ module Aws::ConfigService
196
197
  ListAggregateDiscoveredResourcesResponse = Shapes::StructureShape.new(name: 'ListAggregateDiscoveredResourcesResponse')
197
198
  ListDiscoveredResourcesRequest = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesRequest')
198
199
  ListDiscoveredResourcesResponse = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesResponse')
200
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
201
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
199
202
  Long = Shapes::IntegerShape.new(name: 'Long')
200
203
  MaxNumberOfConfigRulesExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfConfigRulesExceededException')
201
204
  MaxNumberOfConfigurationRecordersExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfConfigurationRecordersExceededException')
@@ -274,6 +277,7 @@ module Aws::ConfigService
274
277
  ResourceKeys = Shapes::ListShape.new(name: 'ResourceKeys')
275
278
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
276
279
  ResourceNotDiscoveredException = Shapes::StructureShape.new(name: 'ResourceNotDiscoveredException')
280
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
277
281
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
278
282
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
279
283
  ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
@@ -305,8 +309,16 @@ module Aws::ConfigService
305
309
  SupplementaryConfiguration = Shapes::MapShape.new(name: 'SupplementaryConfiguration')
306
310
  SupplementaryConfigurationName = Shapes::StringShape.new(name: 'SupplementaryConfigurationName')
307
311
  SupplementaryConfigurationValue = Shapes::StringShape.new(name: 'SupplementaryConfigurationValue')
312
+ Tag = Shapes::StructureShape.new(name: 'Tag')
313
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
314
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
315
+ TagList = Shapes::ListShape.new(name: 'TagList')
316
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
317
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
308
318
  Tags = Shapes::MapShape.new(name: 'Tags')
319
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
309
320
  UnprocessedResourceIdentifierList = Shapes::ListShape.new(name: 'UnprocessedResourceIdentifierList')
321
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
310
322
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
311
323
  Value = Shapes::StringShape.new(name: 'Value')
312
324
  Version = Shapes::StringShape.new(name: 'Version')
@@ -908,6 +920,15 @@ module Aws::ConfigService
908
920
  ListDiscoveredResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
909
921
  ListDiscoveredResourcesResponse.struct_class = Types::ListDiscoveredResourcesResponse
910
922
 
923
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
924
+ ListTagsForResourceRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
925
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
926
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
927
+
928
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
929
+ ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
930
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
931
+
911
932
  OrganizationAggregationSource.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
912
933
  OrganizationAggregationSource.add_member(:aws_regions, Shapes::ShapeRef.new(shape: AggregatorRegionList, location_name: "AwsRegions"))
913
934
  OrganizationAggregationSource.add_member(:all_aws_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllAwsRegions"))
@@ -1110,11 +1131,27 @@ module Aws::ConfigService
1110
1131
  SupplementaryConfiguration.key = Shapes::ShapeRef.new(shape: SupplementaryConfigurationName)
1111
1132
  SupplementaryConfiguration.value = Shapes::ShapeRef.new(shape: SupplementaryConfigurationValue)
1112
1133
 
1134
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
1135
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
1136
+ Tag.struct_class = Types::Tag
1137
+
1138
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1139
+
1140
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
1141
+
1142
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
1143
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
1144
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1145
+
1113
1146
  Tags.key = Shapes::ShapeRef.new(shape: Name)
1114
1147
  Tags.value = Shapes::ShapeRef.new(shape: Value)
1115
1148
 
1116
1149
  UnprocessedResourceIdentifierList.member = Shapes::ShapeRef.new(shape: AggregateResourceIdentifier)
1117
1150
 
1151
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
1152
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
1153
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1154
+
1118
1155
 
1119
1156
  # @api private
1120
1157
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1560,6 +1597,18 @@ module Aws::ConfigService
1560
1597
  o.errors << Shapes::ShapeRef.new(shape: NoAvailableConfigurationRecorderException)
1561
1598
  end)
1562
1599
 
1600
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1601
+ o.name = "ListTagsForResource"
1602
+ o.http_method = "POST"
1603
+ o.http_request_uri = "/"
1604
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1605
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1606
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1607
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLimitException)
1609
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1610
+ end)
1611
+
1563
1612
  api.add_operation(:put_aggregation_authorization, Seahorse::Model::Operation.new.tap do |o|
1564
1613
  o.name = "PutAggregationAuthorization"
1565
1614
  o.http_method = "POST"
@@ -1694,6 +1743,27 @@ module Aws::ConfigService
1694
1743
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1695
1744
  o.errors << Shapes::ShapeRef.new(shape: NoSuchConfigurationRecorderException)
1696
1745
  end)
1746
+
1747
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1748
+ o.name = "TagResource"
1749
+ o.http_method = "POST"
1750
+ o.http_request_uri = "/"
1751
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1752
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1753
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1756
+ end)
1757
+
1758
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1759
+ o.name = "UntagResource"
1760
+ o.http_method = "POST"
1761
+ o.http_request_uri = "/"
1762
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1763
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1764
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1766
+ end)
1697
1767
  end
1698
1768
 
1699
1769
  end
@@ -1113,7 +1113,7 @@ module Aws::ConfigService
1113
1113
  # @return [String]
1114
1114
  #
1115
1115
  # @!attribute [rw] arn
1116
- # The Amazon Resource Name (ARN) of the resource.
1116
+ # accoun
1117
1117
  # @return [String]
1118
1118
  #
1119
1119
  # @!attribute [rw] resource_type
@@ -1449,7 +1449,7 @@ module Aws::ConfigService
1449
1449
  #
1450
1450
  # @!attribute [rw] config_rule_name
1451
1451
  # The name of the AWS Config rule for which you want to delete
1452
- # remediation configuration for.
1452
+ # remediation configuration.
1453
1453
  # @return [String]
1454
1454
  #
1455
1455
  # @!attribute [rw] resource_type
@@ -2296,11 +2296,13 @@ module Aws::ConfigService
2296
2296
  # }
2297
2297
  #
2298
2298
  # @!attribute [rw] config_rule_name
2299
- # A list of config rule names.
2299
+ # A list of AWS Config rule names.
2300
2300
  # @return [String]
2301
2301
  #
2302
2302
  # @!attribute [rw] resource_keys
2303
- # A list of resource keys object.
2303
+ # A list of resource keys to be processed with the current request.
2304
+ # Each element in the list consists of the resource type and resource
2305
+ # ID.
2304
2306
  # @return [Array<Types::ResourceKey>]
2305
2307
  #
2306
2308
  # @!attribute [rw] limit
@@ -2325,7 +2327,7 @@ module Aws::ConfigService
2325
2327
  end
2326
2328
 
2327
2329
  # @!attribute [rw] remediation_execution_statuses
2328
- # Returns a list of remediation execution statuses object.
2330
+ # Returns a list of remediation execution statuses objects.
2329
2331
  # @return [Array<Types::RemediationExecutionStatus>]
2330
2332
  #
2331
2333
  # @!attribute [rw] next_token
@@ -2548,10 +2550,11 @@ module Aws::ConfigService
2548
2550
  include Aws::Structure
2549
2551
  end
2550
2552
 
2551
- # List of each of the failed remediation with specific reasons.
2553
+ # List of each of the failed remediations with specific reasons.
2552
2554
  #
2553
2555
  # @!attribute [rw] failure_message
2554
- # Returns a failure message. For example, the resource is compliant.
2556
+ # Returns a failure message. For example, the resource is already
2557
+ # compliant.
2555
2558
  # @return [String]
2556
2559
  #
2557
2560
  # @!attribute [rw] failed_items
@@ -3342,6 +3345,59 @@ module Aws::ConfigService
3342
3345
  include Aws::Structure
3343
3346
  end
3344
3347
 
3348
+ # @note When making an API call, you may pass ListTagsForResourceRequest
3349
+ # data as a hash:
3350
+ #
3351
+ # {
3352
+ # resource_arn: "AmazonResourceName", # required
3353
+ # limit: 1,
3354
+ # next_token: "NextToken",
3355
+ # }
3356
+ #
3357
+ # @!attribute [rw] resource_arn
3358
+ # The Amazon Resource Name (ARN) that identifies the resource for
3359
+ # which to list the tags. Currently, the supported resources are
3360
+ # `ConfigRule`, `ConfigurationAggregator` and
3361
+ # `AggregatorAuthorization`.
3362
+ # @return [String]
3363
+ #
3364
+ # @!attribute [rw] limit
3365
+ # The maximum number of tags returned on each page. The limit maximum
3366
+ # is 50. You cannot specify a number greater than 50. If you specify
3367
+ # 0, AWS Config uses the default.
3368
+ # @return [Integer]
3369
+ #
3370
+ # @!attribute [rw] next_token
3371
+ # The nextToken string returned on a previous page that you use to get
3372
+ # the next page of results in a paginated response.
3373
+ # @return [String]
3374
+ #
3375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListTagsForResourceRequest AWS API Documentation
3376
+ #
3377
+ class ListTagsForResourceRequest < Struct.new(
3378
+ :resource_arn,
3379
+ :limit,
3380
+ :next_token)
3381
+ include Aws::Structure
3382
+ end
3383
+
3384
+ # @!attribute [rw] tags
3385
+ # The tags for the resource.
3386
+ # @return [Array<Types::Tag>]
3387
+ #
3388
+ # @!attribute [rw] next_token
3389
+ # The nextToken string returned on a previous page that you use to get
3390
+ # the next page of results in a paginated response.
3391
+ # @return [String]
3392
+ #
3393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListTagsForResourceResponse AWS API Documentation
3394
+ #
3395
+ class ListTagsForResourceResponse < Struct.new(
3396
+ :tags,
3397
+ :next_token)
3398
+ include Aws::Structure
3399
+ end
3400
+
3345
3401
  # This object contains regions to setup the aggregator and an IAM role
3346
3402
  # to retrieve organization details.
3347
3403
  #
@@ -3898,7 +3954,7 @@ module Aws::ConfigService
3898
3954
  # @return [String]
3899
3955
  #
3900
3956
  # @!attribute [rw] target_id
3901
- # Public ID is document.
3957
+ # Target ID is the name of the public document.
3902
3958
  # @return [String]
3903
3959
  #
3904
3960
  # @!attribute [rw] target_version
@@ -3971,7 +4027,7 @@ module Aws::ConfigService
3971
4027
  # @return [String]
3972
4028
  #
3973
4029
  # @!attribute [rw] error_message
3974
- # An error message if the step was interupted during execution.
4030
+ # An error message if the step was interrupted during execution.
3975
4031
  # @return [String]
3976
4032
  #
3977
4033
  # @!attribute [rw] start_time
@@ -4458,7 +4514,9 @@ module Aws::ConfigService
4458
4514
  # @return [String]
4459
4515
  #
4460
4516
  # @!attribute [rw] resource_keys
4461
- # A list of resource key object.
4517
+ # A list of resource keys to be processed with the current request.
4518
+ # Each element in the list consists of the resource type and resource
4519
+ # ID.
4462
4520
  # @return [Array<Types::ResourceKey>]
4463
4521
  #
4464
4522
  # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartRemediationExecutionRequest AWS API Documentation
@@ -4470,11 +4528,12 @@ module Aws::ConfigService
4470
4528
  end
4471
4529
 
4472
4530
  # @!attribute [rw] failure_message
4473
- # Returns a failure message. For example, the resource is compliant.
4531
+ # Returns a failure message. For example, the resource is already
4532
+ # compliant.
4474
4533
  # @return [String]
4475
4534
  #
4476
4535
  # @!attribute [rw] failed_items
4477
- # For resources that have failed to start execuition the API returns a
4536
+ # For resources that have failed to start execution, the API returns a
4478
4537
  # resource key object.
4479
4538
  # @return [Array<Types::ResourceKey>]
4480
4539
  #
@@ -4527,5 +4586,96 @@ module Aws::ConfigService
4527
4586
  include Aws::Structure
4528
4587
  end
4529
4588
 
4589
+ # The tags for the resource. The metadata that you apply to a resource
4590
+ # to help you categorize and organize them. Each tag consists of a key
4591
+ # and an optional value, both of which you define. Tag keys can have a
4592
+ # maximum character length of 128 characters, and tag values can have a
4593
+ # maximum length of 256 characters.
4594
+ #
4595
+ # @note When making an API call, you may pass Tag
4596
+ # data as a hash:
4597
+ #
4598
+ # {
4599
+ # key: "TagKey",
4600
+ # value: "TagValue",
4601
+ # }
4602
+ #
4603
+ # @!attribute [rw] key
4604
+ # One part of a key-value pair that make up a tag. A key is a general
4605
+ # label that acts like a category for more specific tag values.
4606
+ # @return [String]
4607
+ #
4608
+ # @!attribute [rw] value
4609
+ # The optional part of a key-value pair that make up a tag. A value
4610
+ # acts as a descriptor within a tag category (key).
4611
+ # @return [String]
4612
+ #
4613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Tag AWS API Documentation
4614
+ #
4615
+ class Tag < Struct.new(
4616
+ :key,
4617
+ :value)
4618
+ include Aws::Structure
4619
+ end
4620
+
4621
+ # @note When making an API call, you may pass TagResourceRequest
4622
+ # data as a hash:
4623
+ #
4624
+ # {
4625
+ # resource_arn: "AmazonResourceName", # required
4626
+ # tags: [ # required
4627
+ # {
4628
+ # key: "TagKey",
4629
+ # value: "TagValue",
4630
+ # },
4631
+ # ],
4632
+ # }
4633
+ #
4634
+ # @!attribute [rw] resource_arn
4635
+ # The Amazon Resource Name (ARN) that identifies the resource for
4636
+ # which to list the tags. Currently, the supported resources are
4637
+ # `ConfigRule`, `ConfigurationAggregator` and
4638
+ # `AggregatorAuthorization`.
4639
+ # @return [String]
4640
+ #
4641
+ # @!attribute [rw] tags
4642
+ # An array of tag object.
4643
+ # @return [Array<Types::Tag>]
4644
+ #
4645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/TagResourceRequest AWS API Documentation
4646
+ #
4647
+ class TagResourceRequest < Struct.new(
4648
+ :resource_arn,
4649
+ :tags)
4650
+ include Aws::Structure
4651
+ end
4652
+
4653
+ # @note When making an API call, you may pass UntagResourceRequest
4654
+ # data as a hash:
4655
+ #
4656
+ # {
4657
+ # resource_arn: "AmazonResourceName", # required
4658
+ # tag_keys: ["TagKey"], # required
4659
+ # }
4660
+ #
4661
+ # @!attribute [rw] resource_arn
4662
+ # The Amazon Resource Name (ARN) that identifies the resource for
4663
+ # which to list the tags. Currently, the supported resources are
4664
+ # `ConfigRule`, `ConfigurationAggregator` and
4665
+ # `AggregatorAuthorization`.
4666
+ # @return [String]
4667
+ #
4668
+ # @!attribute [rw] tag_keys
4669
+ # The keys of the tags to be removed.
4670
+ # @return [Array<String>]
4671
+ #
4672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/UntagResourceRequest AWS API Documentation
4673
+ #
4674
+ class UntagResourceRequest < Struct.new(
4675
+ :resource_arn,
4676
+ :tag_keys)
4677
+ include Aws::Structure
4678
+ end
4679
+
4530
4680
  end
4531
4681
  end
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.22.0
4
+ version: 1.23.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-13 00:00:00.000000000 Z
11
+ date: 2019-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.39.0
22
+ version: 3.47.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.39.0
32
+ version: 3.47.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
39
+ version: '1.1'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
46
+ version: '1.1'
47
47
  description: Official AWS Ruby gem for AWS Config (Config Service). This gem is part
48
48
  of the AWS SDK for Ruby.
49
49
  email: