aws-sdk-configservice 1.49.0 → 1.54.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
  SHA256:
3
- metadata.gz: 2333a72f56fccb677e351a8477e739e4bdabfbc981e326fddf65f1e5b2fe8e53
4
- data.tar.gz: 365e09f2af7a72fdb2ba428f358240146b412f82232aa2cde1fb0f5a40b40f22
3
+ metadata.gz: 05f273d8c04401a492e22cdf33557114f4f85299a0d5374b3f14504e7ee57ff4
4
+ data.tar.gz: d3f559a20cbc7d172efc2485a75ea2fe9e6136426916845dc96f600f3f553a1e
5
5
  SHA512:
6
- metadata.gz: 930000753d11860397408cac78e0d67d029a0b97422dea46a5d0b3faf5cd959316e23efd3531d786c37c424507e5ae1f4b389d717eac5d24c7e76ecadd54f157
7
- data.tar.gz: 5d52ba89b4f5d8c2dbd2c80784b7ecc12a235c6cd50f92f153d6837586febc1275a2397b1fc40fd4a552f88f6c6daf106b0ab0a246b341d0225155ddc88758cb
6
+ metadata.gz: '019d10b6bf098afc8eeb60a54bb89f738d6b74e9c9f9f33497a0f6492d263ee32d294035f62a6cd7075c94fb4adf0c0c737eb3cd3e73f2a93d8a1c40d62e1e58'
7
+ data.tar.gz: 96fae96018bec13e93f8fa662efa636236147b01bce7a86ea5be70e7da0256ca7e778807610b69ed8a8dcc1b1d4b23e5b405efd55f6eb6e4d5cf292e00eb5690
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-configservice/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::ConfigService
49
50
 
50
- GEM_VERSION = '1.49.0'
51
+ GEM_VERSION = '1.54.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::ConfigService
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::ConfigService
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -1750,11 +1765,6 @@ module Aws::ConfigService
1750
1765
  # Provides organization config rule deployment status for an
1751
1766
  # organization.
1752
1767
  #
1753
- # Only a master account and a delegated administrator account can call
1754
- # this API. When calling this API with a delegated administrator, you
1755
- # must ensure AWS Organizations `ListDelegatedAdministrator` permissions
1756
- # are added.
1757
- #
1758
1768
  # <note markdown="1"> The status is not considered successful until organization config rule
1759
1769
  # is successfully deployed in all the member accounts with an exception
1760
1770
  # of excluded accounts.
@@ -1814,11 +1824,6 @@ module Aws::ConfigService
1814
1824
 
1815
1825
  # Returns a list of organization config rules.
1816
1826
  #
1817
- # Only a master account and a delegated administrator account can call
1818
- # this API. When calling this API with a delegated administrator, you
1819
- # must ensure AWS Organizations `ListDelegatedAdministrator` permissions
1820
- # are added.

1821
- #
1822
1827
  # <note markdown="1"> When you specify the limit and the next token, you receive a paginated
1823
1828
  # response. Limit and next token are not applicable if you specify
1824
1829
  # organization config rule names. It is only applicable, when you
@@ -1895,11 +1900,6 @@ module Aws::ConfigService
1895
1900
  # Provides organization conformance pack deployment status for an
1896
1901
  # organization.
1897
1902
  #
1898
- # Only a master account and a delegated administrator account can call
1899
- # this API. When calling this API with a delegated administrator, you
1900
- # must ensure AWS Organizations `ListDelegatedAdministrator` permissions
1901
- # are added.
1902
- #
1903
1903
  # <note markdown="1"> The status is not considered successful until organization conformance
1904
1904
  # pack is successfully deployed in all the member accounts with an
1905
1905
  # exception of excluded accounts.
@@ -1959,11 +1959,6 @@ module Aws::ConfigService
1959
1959
 
1960
1960
  # Returns a list of organization conformance packs.
1961
1961
  #
1962
- # Only a master account and a delegated administrator account can call
1963
- # this API. When calling this API with a delegated administrator, you
1964
- # must ensure AWS Organizations `ListDelegatedAdministrator` permissions
1965
- # are added.
1966
- #
1967
1962
  # <note markdown="1"> When you specify the limit and the next token, you receive a paginated
1968
1963
  # response.
1969
1964
  #
@@ -2970,11 +2965,6 @@ module Aws::ConfigService
2970
2965
  # Returns detailed status for each member account within an organization
2971
2966
  # for a given organization config rule.
2972
2967
  #
2973
- # Only a master account and a delegated administrator account can call
2974
- # this API. When calling this API with a delegated administrator, you
2975
- # must ensure AWS Organizations `ListDelegatedAdministrator` permissions
2976
- # are added.
2977
- #
2978
2968
  # @option params [required, String] :organization_config_rule_name
2979
2969
  # The name of organization config rule for which you want status details
2980
2970
  # for member accounts.
@@ -3031,11 +3021,6 @@ module Aws::ConfigService
3031
3021
  # Returns detailed status for each member account within an organization
3032
3022
  # for a given organization conformance pack.
3033
3023
  #
3034
- # Only a master account and a delegated administrator account can call
3035
- # this API. When calling this API with a delegated administrator, you
3036
- # must ensure AWS Organizations `ListDelegatedAdministrator` permissions
3037
- # are added.
3038
- #
3039
3024
  # @option params [required, String] :organization_conformance_pack_name
3040
3025
  # The name of organization conformance pack for which you want status
3041
3026
  # details for member accounts.
@@ -3219,9 +3204,9 @@ module Aws::ConfigService
3219
3204
  # Filters the results based on the `ResourceFilters` object.
3220
3205
  #
3221
3206
  # @option params [Integer] :limit
3222
- # The maximum number of resource identifiers returned on each page. The
3223
- # default is 100. You cannot specify a number greater than 100. If you
3224
- # specify 0, AWS Config uses the default.
3207
+ # The maximum number of resource identifiers returned on each page. You
3208
+ # cannot specify a number greater than 100. If you specify 0, AWS Config
3209
+ # uses the default.
3225
3210
  #
3226
3211
  # @option params [String] :next_token
3227
3212
  # The `nextToken` string returned on a previous page that you use to get
@@ -3698,13 +3683,20 @@ module Aws::ConfigService
3698
3683
  #
3699
3684
  # </note>
3700
3685
  #
3701
- # @option params [required, String] :delivery_s3_bucket
3702
- # AWS Config stores intermediate files while processing conformance pack
3703
- # template.
3686
+ # @option params [String] :delivery_s3_bucket
3687
+ # Amazon S3 bucket where AWS Config stores conformance pack templates.
3688
+ #
3689
+ # <note markdown="1"> This field is optional.
3690
+ #
3691
+ # </note>
3704
3692
  #
3705
3693
  # @option params [String] :delivery_s3_key_prefix
3706
3694
  # The prefix for the Amazon S3 bucket.
3707
3695
  #
3696
+ # <note markdown="1"> This field is optional.
3697
+ #
3698
+ # </note>
3699
+ #
3708
3700
  # @option params [Array<Types::ConformancePackInputParameter>] :conformance_pack_input_parameters
3709
3701
  # A list of `ConformancePackInputParameter` objects.
3710
3702
  #
@@ -3718,7 +3710,7 @@ module Aws::ConfigService
3718
3710
  # conformance_pack_name: "ConformancePackName", # required
3719
3711
  # template_s3_uri: "TemplateS3Uri",
3720
3712
  # template_body: "TemplateBody",
3721
- # delivery_s3_bucket: "DeliveryS3Bucket", # required
3713
+ # delivery_s3_bucket: "DeliveryS3Bucket",
3722
3714
  # delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
3723
3715
  # conformance_pack_input_parameters: [
3724
3716
  # {
@@ -3850,6 +3842,34 @@ module Aws::ConfigService
3850
3842
  req.send_request(options)
3851
3843
  end
3852
3844
 
3845
+ # @option params [required, String] :config_rule_name
3846
+ #
3847
+ # @option params [required, Types::ExternalEvaluation] :external_evaluation
3848
+ #
3849
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3850
+ #
3851
+ # @example Request syntax with placeholder values
3852
+ #
3853
+ # resp = client.put_external_evaluation({
3854
+ # config_rule_name: "ConfigRuleName", # required
3855
+ # external_evaluation: { # required
3856
+ # compliance_resource_type: "StringWithCharLimit256", # required
3857
+ # compliance_resource_id: "BaseResourceId", # required
3858
+ # compliance_type: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
3859
+ # annotation: "StringWithCharLimit256",
3860
+ # ordering_timestamp: Time.now, # required
3861
+ # },
3862
+ # })
3863
+ #
3864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutExternalEvaluation AWS API Documentation
3865
+ #
3866
+ # @overload put_external_evaluation(params = {})
3867
+ # @param [Hash] params ({})
3868
+ def put_external_evaluation(params = {}, options = {})
3869
+ req = build_request(:put_external_evaluation, params)
3870
+ req.send_request(options)
3871
+ end
3872
+
3853
3873
  # Adds or updates organization config rule for your entire organization
3854
3874
  # evaluating whether your AWS resources comply with your desired
3855
3875
  # configurations.
@@ -4000,23 +4020,20 @@ module Aws::ConfigService
4000
4020
  # containing the template body with a minimum length of 1 byte and a
4001
4021
  # maximum length of 51,200 bytes.
4002
4022
  #
4003
- # @option params [required, String] :delivery_s3_bucket
4004
- # Location of an Amazon S3 bucket where AWS Config can deliver
4005
- # evaluation results. AWS Config stores intermediate files while
4006
- # processing conformance pack template.
4007
- #
4008
- # The delivery bucket name should start with awsconfigconforms. For
4009
- # example: "Resource": "arn:aws:s3:::your\_bucket\_name/*". For
4010
- # more information, see [Permissions for cross account bucket
4011
- # access][1].
4012
- #
4023
+ # @option params [String] :delivery_s3_bucket
4024
+ # Amazon S3 bucket where AWS Config stores conformance pack templates.
4013
4025
  #
4026
+ # <note markdown="1"> This field is optional.
4014
4027
  #
4015
- # [1]: https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html
4028
+ # </note>
4016
4029
  #
4017
4030
  # @option params [String] :delivery_s3_key_prefix
4018
4031
  # The prefix for the Amazon S3 bucket.
4019
4032
  #
4033
+ # <note markdown="1"> This field is optional.
4034
+ #
4035
+ # </note>
4036
+ #
4020
4037
  # @option params [Array<Types::ConformancePackInputParameter>] :conformance_pack_input_parameters
4021
4038
  # A list of `ConformancePackInputParameter` objects.
4022
4039
  #
@@ -4034,7 +4051,7 @@ module Aws::ConfigService
4034
4051
  # organization_conformance_pack_name: "OrganizationConformancePackName", # required
4035
4052
  # template_s3_uri: "TemplateS3Uri",
4036
4053
  # template_body: "TemplateBody",
4037
- # delivery_s3_bucket: "DeliveryS3Bucket", # required
4054
+ # delivery_s3_bucket: "DeliveryS3Bucket",
4038
4055
  # delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
4039
4056
  # conformance_pack_input_parameters: [
4040
4057
  # {
@@ -4068,6 +4085,11 @@ module Aws::ConfigService
4068
4085
  # <note markdown="1"> If you make backward incompatible changes to the SSM document, you
4069
4086
  # must call this again to ensure the remediations can run.
4070
4087
  #
4088
+ # This API does not support adding remediation configurations for
4089
+ # service-linked AWS Config Rules such as Organization Config rules, the
4090
+ # rules deployed by conformance packs, and rules deployed by AWS
4091
+ # Security Hub.
4092
+ #
4071
4093
  # </note>
4072
4094
  #
4073
4095
  # @option params [required, Array<Types::RemediationConfiguration>] :remediation_configurations
@@ -4145,7 +4167,7 @@ module Aws::ConfigService
4145
4167
 
4146
4168
  # A remediation exception is when a specific resource is no longer
4147
4169
  # considered for auto-remediation. This API adds a new exception or
4148
- # updates an exisiting exception for a specific resource with a specific
4170
+ # updates an existing exception for a specific resource with a specific
4149
4171
  # AWS Config rule.
4150
4172
  #
4151
4173
  # <note markdown="1"> AWS Config generates a remediation exception when a problem occurs
@@ -4677,7 +4699,7 @@ module Aws::ConfigService
4677
4699
  params: params,
4678
4700
  config: config)
4679
4701
  context[:gem_name] = 'aws-sdk-configservice'
4680
- context[:gem_version] = '1.49.0'
4702
+ context[:gem_version] = '1.54.0'
4681
4703
  Seahorse::Client::Request.new(handlers, context)
4682
4704
  end
4683
4705
 
@@ -209,6 +209,7 @@ module Aws::ConfigService
209
209
  ExcludedAccounts = Shapes::ListShape.new(name: 'ExcludedAccounts')
210
210
  ExecutionControls = Shapes::StructureShape.new(name: 'ExecutionControls')
211
211
  Expression = Shapes::StringShape.new(name: 'Expression')
212
+ ExternalEvaluation = Shapes::StructureShape.new(name: 'ExternalEvaluation')
212
213
  FailedDeleteRemediationExceptionsBatch = Shapes::StructureShape.new(name: 'FailedDeleteRemediationExceptionsBatch')
213
214
  FailedDeleteRemediationExceptionsBatches = Shapes::ListShape.new(name: 'FailedDeleteRemediationExceptionsBatches')
214
215
  FailedRemediationBatch = Shapes::StructureShape.new(name: 'FailedRemediationBatch')
@@ -353,6 +354,8 @@ module Aws::ConfigService
353
354
  PutDeliveryChannelRequest = Shapes::StructureShape.new(name: 'PutDeliveryChannelRequest')
354
355
  PutEvaluationsRequest = Shapes::StructureShape.new(name: 'PutEvaluationsRequest')
355
356
  PutEvaluationsResponse = Shapes::StructureShape.new(name: 'PutEvaluationsResponse')
357
+ PutExternalEvaluationRequest = Shapes::StructureShape.new(name: 'PutExternalEvaluationRequest')
358
+ PutExternalEvaluationResponse = Shapes::StructureShape.new(name: 'PutExternalEvaluationResponse')
356
359
  PutOrganizationConfigRuleRequest = Shapes::StructureShape.new(name: 'PutOrganizationConfigRuleRequest')
357
360
  PutOrganizationConfigRuleResponse = Shapes::StructureShape.new(name: 'PutOrganizationConfigRuleResponse')
358
361
  PutOrganizationConformancePackRequest = Shapes::StructureShape.new(name: 'PutOrganizationConformancePackRequest')
@@ -735,7 +738,7 @@ module Aws::ConfigService
735
738
  ConformancePackDetail.add_member(:conformance_pack_name, Shapes::ShapeRef.new(shape: ConformancePackName, required: true, location_name: "ConformancePackName"))
736
739
  ConformancePackDetail.add_member(:conformance_pack_arn, Shapes::ShapeRef.new(shape: ConformancePackArn, required: true, location_name: "ConformancePackArn"))
737
740
  ConformancePackDetail.add_member(:conformance_pack_id, Shapes::ShapeRef.new(shape: ConformancePackId, required: true, location_name: "ConformancePackId"))
738
- ConformancePackDetail.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, required: true, location_name: "DeliveryS3Bucket"))
741
+ ConformancePackDetail.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, location_name: "DeliveryS3Bucket"))
739
742
  ConformancePackDetail.add_member(:delivery_s3_key_prefix, Shapes::ShapeRef.new(shape: DeliveryS3KeyPrefix, location_name: "DeliveryS3KeyPrefix"))
740
743
  ConformancePackDetail.add_member(:conformance_pack_input_parameters, Shapes::ShapeRef.new(shape: ConformancePackInputParameters, location_name: "ConformancePackInputParameters"))
741
744
  ConformancePackDetail.add_member(:last_update_requested_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdateRequestedTime"))
@@ -1108,6 +1111,13 @@ module Aws::ConfigService
1108
1111
  ExecutionControls.add_member(:ssm_controls, Shapes::ShapeRef.new(shape: SsmControls, location_name: "SsmControls"))
1109
1112
  ExecutionControls.struct_class = Types::ExecutionControls
1110
1113
 
1114
+ ExternalEvaluation.add_member(:compliance_resource_type, Shapes::ShapeRef.new(shape: StringWithCharLimit256, required: true, location_name: "ComplianceResourceType"))
1115
+ ExternalEvaluation.add_member(:compliance_resource_id, Shapes::ShapeRef.new(shape: BaseResourceId, required: true, location_name: "ComplianceResourceId"))
1116
+ ExternalEvaluation.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceType, required: true, location_name: "ComplianceType"))
1117
+ ExternalEvaluation.add_member(:annotation, Shapes::ShapeRef.new(shape: StringWithCharLimit256, location_name: "Annotation"))
1118
+ ExternalEvaluation.add_member(:ordering_timestamp, Shapes::ShapeRef.new(shape: OrderingTimestamp, required: true, location_name: "OrderingTimestamp"))
1119
+ ExternalEvaluation.struct_class = Types::ExternalEvaluation
1120
+
1111
1121
  FailedDeleteRemediationExceptionsBatch.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
1112
1122
  FailedDeleteRemediationExceptionsBatch.add_member(:failed_items, Shapes::ShapeRef.new(shape: RemediationExceptionResourceKeys, location_name: "FailedItems"))
1113
1123
  FailedDeleteRemediationExceptionsBatch.struct_class = Types::FailedDeleteRemediationExceptionsBatch
@@ -1430,7 +1440,7 @@ module Aws::ConfigService
1430
1440
 
1431
1441
  OrganizationConformancePack.add_member(:organization_conformance_pack_name, Shapes::ShapeRef.new(shape: OrganizationConformancePackName, required: true, location_name: "OrganizationConformancePackName"))
1432
1442
  OrganizationConformancePack.add_member(:organization_conformance_pack_arn, Shapes::ShapeRef.new(shape: StringWithCharLimit256, required: true, location_name: "OrganizationConformancePackArn"))
1433
- OrganizationConformancePack.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, required: true, location_name: "DeliveryS3Bucket"))
1443
+ OrganizationConformancePack.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, location_name: "DeliveryS3Bucket"))
1434
1444
  OrganizationConformancePack.add_member(:delivery_s3_key_prefix, Shapes::ShapeRef.new(shape: DeliveryS3KeyPrefix, location_name: "DeliveryS3KeyPrefix"))
1435
1445
  OrganizationConformancePack.add_member(:conformance_pack_input_parameters, Shapes::ShapeRef.new(shape: ConformancePackInputParameters, location_name: "ConformancePackInputParameters"))
1436
1446
  OrganizationConformancePack.add_member(:excluded_accounts, Shapes::ShapeRef.new(shape: ExcludedAccounts, location_name: "ExcludedAccounts"))
@@ -1522,7 +1532,7 @@ module Aws::ConfigService
1522
1532
  PutConformancePackRequest.add_member(:conformance_pack_name, Shapes::ShapeRef.new(shape: ConformancePackName, required: true, location_name: "ConformancePackName"))
1523
1533
  PutConformancePackRequest.add_member(:template_s3_uri, Shapes::ShapeRef.new(shape: TemplateS3Uri, location_name: "TemplateS3Uri"))
1524
1534
  PutConformancePackRequest.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody"))
1525
- PutConformancePackRequest.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, required: true, location_name: "DeliveryS3Bucket"))
1535
+ PutConformancePackRequest.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, location_name: "DeliveryS3Bucket"))
1526
1536
  PutConformancePackRequest.add_member(:delivery_s3_key_prefix, Shapes::ShapeRef.new(shape: DeliveryS3KeyPrefix, location_name: "DeliveryS3KeyPrefix"))
1527
1537
  PutConformancePackRequest.add_member(:conformance_pack_input_parameters, Shapes::ShapeRef.new(shape: ConformancePackInputParameters, location_name: "ConformancePackInputParameters"))
1528
1538
  PutConformancePackRequest.struct_class = Types::PutConformancePackRequest
@@ -1541,6 +1551,12 @@ module Aws::ConfigService
1541
1551
  PutEvaluationsResponse.add_member(:failed_evaluations, Shapes::ShapeRef.new(shape: Evaluations, location_name: "FailedEvaluations"))
1542
1552
  PutEvaluationsResponse.struct_class = Types::PutEvaluationsResponse
1543
1553
 
1554
+ PutExternalEvaluationRequest.add_member(:config_rule_name, Shapes::ShapeRef.new(shape: ConfigRuleName, required: true, location_name: "ConfigRuleName"))
1555
+ PutExternalEvaluationRequest.add_member(:external_evaluation, Shapes::ShapeRef.new(shape: ExternalEvaluation, required: true, location_name: "ExternalEvaluation"))
1556
+ PutExternalEvaluationRequest.struct_class = Types::PutExternalEvaluationRequest
1557
+
1558
+ PutExternalEvaluationResponse.struct_class = Types::PutExternalEvaluationResponse
1559
+
1544
1560
  PutOrganizationConfigRuleRequest.add_member(:organization_config_rule_name, Shapes::ShapeRef.new(shape: OrganizationConfigRuleName, required: true, location_name: "OrganizationConfigRuleName"))
1545
1561
  PutOrganizationConfigRuleRequest.add_member(:organization_managed_rule_metadata, Shapes::ShapeRef.new(shape: OrganizationManagedRuleMetadata, location_name: "OrganizationManagedRuleMetadata"))
1546
1562
  PutOrganizationConfigRuleRequest.add_member(:organization_custom_rule_metadata, Shapes::ShapeRef.new(shape: OrganizationCustomRuleMetadata, location_name: "OrganizationCustomRuleMetadata"))
@@ -1553,7 +1569,7 @@ module Aws::ConfigService
1553
1569
  PutOrganizationConformancePackRequest.add_member(:organization_conformance_pack_name, Shapes::ShapeRef.new(shape: OrganizationConformancePackName, required: true, location_name: "OrganizationConformancePackName"))
1554
1570
  PutOrganizationConformancePackRequest.add_member(:template_s3_uri, Shapes::ShapeRef.new(shape: TemplateS3Uri, location_name: "TemplateS3Uri"))
1555
1571
  PutOrganizationConformancePackRequest.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody"))
1556
- PutOrganizationConformancePackRequest.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, required: true, location_name: "DeliveryS3Bucket"))
1572
+ PutOrganizationConformancePackRequest.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, location_name: "DeliveryS3Bucket"))
1557
1573
  PutOrganizationConformancePackRequest.add_member(:delivery_s3_key_prefix, Shapes::ShapeRef.new(shape: DeliveryS3KeyPrefix, location_name: "DeliveryS3KeyPrefix"))
1558
1574
  PutOrganizationConformancePackRequest.add_member(:conformance_pack_input_parameters, Shapes::ShapeRef.new(shape: ConformancePackInputParameters, location_name: "ConformancePackInputParameters"))
1559
1575
  PutOrganizationConformancePackRequest.add_member(:excluded_accounts, Shapes::ShapeRef.new(shape: ExcludedAccounts, location_name: "ExcludedAccounts"))
@@ -2577,6 +2593,16 @@ module Aws::ConfigService
2577
2593
  o.errors << Shapes::ShapeRef.new(shape: NoSuchConfigRuleException)
2578
2594
  end)
2579
2595
 
2596
+ api.add_operation(:put_external_evaluation, Seahorse::Model::Operation.new.tap do |o|
2597
+ o.name = "PutExternalEvaluation"
2598
+ o.http_method = "POST"
2599
+ o.http_request_uri = "/"
2600
+ o.input = Shapes::ShapeRef.new(shape: PutExternalEvaluationRequest)
2601
+ o.output = Shapes::ShapeRef.new(shape: PutExternalEvaluationResponse)
2602
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchConfigRuleException)
2603
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2604
+ end)
2605
+
2580
2606
  api.add_operation(:put_organization_config_rule, Seahorse::Model::Operation.new.tap do |o|
2581
2607
  o.name = "PutOrganizationConfigRule"
2582
2608
  o.http_method = "POST"
@@ -1185,7 +1185,7 @@ module Aws::ConfigService
1185
1185
  # @return [String]
1186
1186
  #
1187
1187
  # @!attribute [rw] arn
1188
- # accoun
1188
+ # Amazon Resource Name (ARN) associated with the resource.
1189
1189
  # @return [String]
1190
1190
  #
1191
1191
  # @!attribute [rw] resource_type
@@ -1431,13 +1431,19 @@ module Aws::ConfigService
1431
1431
  # @return [String]
1432
1432
  #
1433
1433
  # @!attribute [rw] delivery_s3_bucket
1434
- # Conformance pack template that is used to create a pack. The
1435
- # delivery bucket name should start with awsconfigconforms. For
1436
- # example: "Resource": "arn:aws:s3:::your\_bucket\_name/*".
1434
+ # Amazon S3 bucket where AWS Config stores conformance pack templates.
1435
+ #
1436
+ # <note markdown="1"> This field is optional.
1437
+ #
1438
+ # </note>
1437
1439
  # @return [String]
1438
1440
  #
1439
1441
  # @!attribute [rw] delivery_s3_key_prefix
1440
1442
  # The prefix for the Amazon S3 bucket.
1443
+ #
1444
+ # <note markdown="1"> This field is optional.
1445
+ #
1446
+ # </note>
1441
1447
  # @return [String]
1442
1448
  #
1443
1449
  # @!attribute [rw] conformance_pack_input_parameters
@@ -3591,6 +3597,44 @@ module Aws::ConfigService
3591
3597
  include Aws::Structure
3592
3598
  end
3593
3599
 
3600
+ # @note When making an API call, you may pass ExternalEvaluation
3601
+ # data as a hash:
3602
+ #
3603
+ # {
3604
+ # compliance_resource_type: "StringWithCharLimit256", # required
3605
+ # compliance_resource_id: "BaseResourceId", # required
3606
+ # compliance_type: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
3607
+ # annotation: "StringWithCharLimit256",
3608
+ # ordering_timestamp: Time.now, # required
3609
+ # }
3610
+ #
3611
+ # @!attribute [rw] compliance_resource_type
3612
+ # @return [String]
3613
+ #
3614
+ # @!attribute [rw] compliance_resource_id
3615
+ # @return [String]
3616
+ #
3617
+ # @!attribute [rw] compliance_type
3618
+ # @return [String]
3619
+ #
3620
+ # @!attribute [rw] annotation
3621
+ # @return [String]
3622
+ #
3623
+ # @!attribute [rw] ordering_timestamp
3624
+ # @return [Time]
3625
+ #
3626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ExternalEvaluation AWS API Documentation
3627
+ #
3628
+ class ExternalEvaluation < Struct.new(
3629
+ :compliance_resource_type,
3630
+ :compliance_resource_id,
3631
+ :compliance_type,
3632
+ :annotation,
3633
+ :ordering_timestamp)
3634
+ SENSITIVE = []
3635
+ include Aws::Structure
3636
+ end
3637
+
3594
3638
  # List of each of the failed delete remediation exceptions with specific
3595
3639
  # reasons.
3596
3640
  #
@@ -4721,8 +4765,8 @@ module Aws::ConfigService
4721
4765
  #
4722
4766
  # @!attribute [rw] limit
4723
4767
  # The maximum number of resource identifiers returned on each page.
4724
- # The default is 100. You cannot specify a number greater than 100. If
4725
- # you specify 0, AWS Config uses the default.
4768
+ # You cannot specify a number greater than 100. If you specify 0, AWS
4769
+ # Config uses the default.
4726
4770
  # @return [Integer]
4727
4771
  #
4728
4772
  # @!attribute [rw] next_token
@@ -5312,13 +5356,19 @@ module Aws::ConfigService
5312
5356
  # @return [String]
5313
5357
  #
5314
5358
  # @!attribute [rw] delivery_s3_bucket
5315
- # Location of an Amazon S3 bucket where AWS Config can deliver
5316
- # evaluation results and conformance pack template that is used to
5317
- # create a pack.
5359
+ # Amazon S3 bucket where AWS Config stores conformance pack templates.
5360
+ #
5361
+ # <note markdown="1"> This field is optional.
5362
+ #
5363
+ # </note>
5318
5364
  # @return [String]
5319
5365
  #
5320
5366
  # @!attribute [rw] delivery_s3_key_prefix
5321
5367
  # Any folder structure you want to add to an Amazon S3 bucket.
5368
+ #
5369
+ # <note markdown="1"> This field is optional.
5370
+ #
5371
+ # </note>
5322
5372
  # @return [String]
5323
5373
  #
5324
5374
  # @!attribute [rw] conformance_pack_input_parameters
@@ -5991,7 +6041,7 @@ module Aws::ConfigService
5991
6041
  # conformance_pack_name: "ConformancePackName", # required
5992
6042
  # template_s3_uri: "TemplateS3Uri",
5993
6043
  # template_body: "TemplateBody",
5994
- # delivery_s3_bucket: "DeliveryS3Bucket", # required
6044
+ # delivery_s3_bucket: "DeliveryS3Bucket",
5995
6045
  # delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
5996
6046
  # conformance_pack_input_parameters: [
5997
6047
  # {
@@ -6028,12 +6078,19 @@ module Aws::ConfigService
6028
6078
  # @return [String]
6029
6079
  #
6030
6080
  # @!attribute [rw] delivery_s3_bucket
6031
- # AWS Config stores intermediate files while processing conformance
6032
- # pack template.
6081
+ # Amazon S3 bucket where AWS Config stores conformance pack templates.
6082
+ #
6083
+ # <note markdown="1"> This field is optional.
6084
+ #
6085
+ # </note>
6033
6086
  # @return [String]
6034
6087
  #
6035
6088
  # @!attribute [rw] delivery_s3_key_prefix
6036
6089
  # The prefix for the Amazon S3 bucket.
6090
+ #
6091
+ # <note markdown="1"> This field is optional.
6092
+ #
6093
+ # </note>
6037
6094
  # @return [String]
6038
6095
  #
6039
6096
  # @!attribute [rw] conformance_pack_input_parameters
@@ -6160,6 +6217,39 @@ module Aws::ConfigService
6160
6217
  include Aws::Structure
6161
6218
  end
6162
6219
 
6220
+ # @note When making an API call, you may pass PutExternalEvaluationRequest
6221
+ # data as a hash:
6222
+ #
6223
+ # {
6224
+ # config_rule_name: "ConfigRuleName", # required
6225
+ # external_evaluation: { # required
6226
+ # compliance_resource_type: "StringWithCharLimit256", # required
6227
+ # compliance_resource_id: "BaseResourceId", # required
6228
+ # compliance_type: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
6229
+ # annotation: "StringWithCharLimit256",
6230
+ # ordering_timestamp: Time.now, # required
6231
+ # },
6232
+ # }
6233
+ #
6234
+ # @!attribute [rw] config_rule_name
6235
+ # @return [String]
6236
+ #
6237
+ # @!attribute [rw] external_evaluation
6238
+ # @return [Types::ExternalEvaluation]
6239
+ #
6240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutExternalEvaluationRequest AWS API Documentation
6241
+ #
6242
+ class PutExternalEvaluationRequest < Struct.new(
6243
+ :config_rule_name,
6244
+ :external_evaluation)
6245
+ SENSITIVE = []
6246
+ include Aws::Structure
6247
+ end
6248
+
6249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutExternalEvaluationResponse AWS API Documentation
6250
+ #
6251
+ class PutExternalEvaluationResponse < Aws::EmptyStructure; end
6252
+
6163
6253
  # @note When making an API call, you may pass PutOrganizationConfigRuleRequest
6164
6254
  # data as a hash:
6165
6255
  #
@@ -6236,7 +6326,7 @@ module Aws::ConfigService
6236
6326
  # organization_conformance_pack_name: "OrganizationConformancePackName", # required
6237
6327
  # template_s3_uri: "TemplateS3Uri",
6238
6328
  # template_body: "TemplateBody",
6239
- # delivery_s3_bucket: "DeliveryS3Bucket", # required
6329
+ # delivery_s3_bucket: "DeliveryS3Bucket",
6240
6330
  # delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
6241
6331
  # conformance_pack_input_parameters: [
6242
6332
  # {
@@ -6267,22 +6357,19 @@ module Aws::ConfigService
6267
6357
  # @return [String]
6268
6358
  #
6269
6359
  # @!attribute [rw] delivery_s3_bucket
6270
- # Location of an Amazon S3 bucket where AWS Config can deliver
6271
- # evaluation results. AWS Config stores intermediate files while
6272
- # processing conformance pack template.
6273
- #
6274
- # The delivery bucket name should start with awsconfigconforms. For
6275
- # example: "Resource": "arn:aws:s3:::your\_bucket\_name/*". For
6276
- # more information, see [Permissions for cross account bucket
6277
- # access][1].
6360
+ # Amazon S3 bucket where AWS Config stores conformance pack templates.
6278
6361
  #
6362
+ # <note markdown="1"> This field is optional.
6279
6363
  #
6280
- #
6281
- # [1]: https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html
6364
+ # </note>
6282
6365
  # @return [String]
6283
6366
  #
6284
6367
  # @!attribute [rw] delivery_s3_key_prefix
6285
6368
  # The prefix for the Amazon S3 bucket.
6369
+ #
6370
+ # <note markdown="1"> This field is optional.
6371
+ #
6372
+ # </note>
6286
6373
  # @return [String]
6287
6374
  #
6288
6375
  # @!attribute [rw] conformance_pack_input_parameters
@@ -6771,7 +6858,7 @@ module Aws::ConfigService
6771
6858
  # do not select a number, the default is 5.
6772
6859
  #
6773
6860
  # For example, if you specify MaximumAutomaticAttempts as 5 with
6774
- # RetryAttemptsSeconds as 50 seconds, AWS Config will put a
6861
+ # RetryAttemptSeconds as 50 seconds, AWS Config will put a
6775
6862
  # RemediationException on your behalf for the failing resource after
6776
6863
  # the 5th failed attempt within 50 seconds.
6777
6864
  # @return [Integer]
@@ -6780,7 +6867,7 @@ module Aws::ConfigService
6780
6867
  # Maximum time in seconds that AWS Config runs auto-remediation. If
6781
6868
  # you do not select a number, the default is 60 seconds.
6782
6869
  #
6783
- # For example, if you specify RetryAttemptsSeconds as 50 seconds and
6870
+ # For example, if you specify RetryAttemptSeconds as 50 seconds and
6784
6871
  # MaximumAutomaticAttempts as 5, AWS Config will run auto-remediations
6785
6872
  # 5 times within 50 seconds before throwing an exception.
6786
6873
  # @return [Integer]
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.49.0
4
+ version: 1.54.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: 2020-07-23 00:00:00.000000000 Z
11
+ date: 2020-12-17 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.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement