diff --git a/VERSION b/VERSION
index 3a908052473..1be848333eb 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.11.456
\ No newline at end of file
+1.11.457
\ No newline at end of file
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/BedrockEmbeddingModelConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/BedrockEmbeddingModelConfiguration.h
index f26583ede02..daff2b3077c 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/BedrockEmbeddingModelConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/BedrockEmbeddingModelConfiguration.h
@@ -5,6 +5,8 @@
#pragma once
#include The data type for the vectors when using a model to convert text into vector
+ * embeddings. The model must support the specified data type for vector
+ * embeddings. Floating-point (float32) is the default data type, and is supported
+ * by most models for vector embeddings. See Supported
+ * embeddings models for information on the available models and their vector
+ * data types. Adds all resource types specified in the For this operation, the specified configuration recorder must
+ * use a RecordingStrategy
+ * that is either ResourceTypes
list to
+ * the RecordingGroup
+ * of specified configuration recorder and includes those resource types when
+ * recording.INCLUSION_BY_RESOURCE_TYPES
or
+ * EXCLUSION_BY_RESOURCE_TYPES
.See Also:
AWS
+ * API Reference
Returns the current configuration items for resources that are present in
* your Config aggregator. The operation also returns a list of resources that are
@@ -194,7 +227,19 @@ namespace ConfigService
* PutConfigRule
or DeleteConfigRule
request for the
* rule, you will receive a ResourceInUseException
.
You can
* check the state of a rule by using the DescribeConfigRules
- * request.
Recommendation: Stop recording resource compliance + * before deleting rules
It is highly recommended that you stop
+ * recording for the AWS::Config::ResourceCompliance
resource type
+ * before you delete rules in your account. Deleting rules creates CIs for
+ * AWS::Config::ResourceCompliance
and can affect your Config configuration
+ * recorder costs. If you are deleting rules which evaluate a large number of
+ * resource types, this can lead to a spike in the number of CIs recorded.
Best practice:
Stop recording
+ * AWS::Config::ResourceCompliance
Delete + * rule(s)
Turn on recording for
+ * AWS::Config::ResourceCompliance
Deletes the configuration recorder.
After the configuration recorder - * is deleted, Config will not record resource configuration changes until you - * create a new configuration recorder.
This action does not delete the
- * configuration information that was previously recorded. You will be able to
- * access the previously recorded information by using the
- * GetResourceConfigHistory
action, but you will not be able to access
- * this information in the Config console until you create a new configuration
+ *
Deletes the customer managed configuration recorder.
This operation + * does not delete the configuration information that was previously recorded. You + * will be able to access the previously recorded information by using the GetResourceConfigHistory + * operation, but you will not be able to access this information in the Config + * console until you have created a new customer managed configuration * recorder.
Deletes the delivery channel.
Before you can delete the delivery - * channel, you must stop the configuration recorder by using the - * StopConfigurationRecorder action.
Deletes an existing service-linked configuration recorder.
This + * operation does not delete the configuration information that was previously + * recorded. You will be able to access the previously recorded information by + * using the GetResourceConfigHistory + * operation, but you will not be able to access this information in the Config + * console until you have created a new service-linked configuration recorder for + * the same service.
The recording scope determines if you + * receive configuration items
The recording scope is set by the + * service that is linked to the configuration recorder and determines whether you + * receive configuration items (CIs) in the delivery channel. If the recording + * scope is internal, you will not receive CIs in the delivery channel.
+ *Deletes the stored query for a single Amazon Web Services account and a * single Amazon Web Services Region.
The results can return an empty result page,
- * but if you have a nextToken
, the results are displayed on the next
- * page.
The results can return an empty result
+ * page, but if you have a nextToken
, the results are displayed on the
+ * next page.
Indicates whether the specified Config rules are compliant. If a rule is - * noncompliant, this action returns the number of Amazon Web Services resources + * noncompliant, this operation returns the number of Amazon Web Services resources * that do not comply with the rule.
A rule is compliant if all of the * evaluated resources comply with it. It is noncompliant if any of these resources * do not comply.
If Config has no current evaluation results for the rule, @@ -746,7 +828,7 @@ namespace ConfigService /** *
Indicates whether the specified Amazon Web Services resources are compliant. - * If a resource is noncompliant, this action returns the number of Config rules + * If a resource is noncompliant, this operation returns the number of Config rules * that the resource does not comply with.
A resource is compliant if it * complies with all the Config rules that evaluate it. It is noncompliant if it * does not comply with one or more of these rules.
If Config has no current @@ -871,9 +953,9 @@ namespace ConfigService /** *
Returns the details of one or more configuration aggregators. If the - * configuration aggregator is not specified, this action returns the details for - * all the configuration aggregators associated with the account.
Returns the current status of the specified configuration recorder as well as - * the status of the last recording event for the recorder. If a configuration - * recorder is not specified, this action returns the status of all configuration - * recorders associated with the account.
>You can specify only - * one configuration recorder for each Amazon Web Services Region for each account. - * For a detailed status of recording events over time, add your Config events to - * Amazon CloudWatch metrics and use CloudWatch metrics.
For a detailed status of recording events over time, add your Config events + * to Amazon CloudWatch metrics and use CloudWatch metrics.
If a + * configuration recorder is not specified, this operation returns the status for + * the customer managed configuration recorder configured for the account, if + * applicable.
When making a request to this operation, you can only + * specify one configuration recorder.
Returns the details for the specified configuration recorders. If the - * configuration recorder is not specified, this action returns the details for all - * configuration recorders associated with the account.
You can - * specify only one configuration recorder for each Amazon Web Services Region for - * each account.
If a + * configuration recorder is not specified, this operation returns details for the + * customer managed configuration recorder configured for the account, if + * applicable.
When making a request to this operation, you can only + * specify one configuration recorder.
Returns the current status of the specified delivery channel. If a delivery - * channel is not specified, this action returns the current status of all delivery - * channels associated with the account.
Currently, you can specify - * only one delivery channel per region in your account.
Currently, you can + * specify only one delivery channel per region in your account.
+ *Returns details about the specified delivery channel. If a delivery channel - * is not specified, this action returns the details of all delivery channels + * is not specified, this operation returns the details of all delivery channels * associated with the account.
Currently, you can specify only one * delivery channel per region in your account.
Currently, Config + * configuration name is not specified, this operation returns the details for all + * the retention configurations for that account.
Currently, Config * supports only one retention configuration per region in your account.
*Removes all resource types specified in the ResourceTypes
list
+ * from the RecordingGroup
+ * of configuration recorder and excludes these resource types when recording.
For this operation, the configuration recorder must use a RecordingStrategy
+ * that is either INCLUSION_BY_RESOURCE_TYPES
or
+ * EXCLUSION_BY_RESOURCE_TYPES
.
Returns the evaluation results for the specified Config rule for a specific * resource in a rule. The results indicate which Amazon Web Services resources @@ -1504,7 +1618,8 @@ namespace ConfigService /** *
Returns configuration item that is aggregated for your specific resource in a - * specific source account and region.
The API does not return + * results for deleted resources.
Returns a list of configuration recorders depending on the filters you + * specify.
Returns a list of conformance pack compliance scores. A compliance score is * the percentage of the number of compliant rule-resource combinations in a @@ -2127,12 +2268,18 @@ namespace ConfigService /** *
Authorizes the aggregator account and region to collect data from the source - * account and region.
PutAggregationAuthorization
is
- * an idempotent API. Subsequent requests won’t create a duplicate resource if one
- * was already created. If a following request has different tags
- * values, Config will ignore these differences and treat it as an idempotent
- * request of the previous. In this case, tags
will not be updated,
- * even if they are different.
Tags are added at creation and cannot be + * updated with this operation
+ * PutAggregationAuthorization
is an idempotent API. Subsequent
+ * requests won’t create a duplicate resource if one was already created. If a
+ * following request has different tags
values, Config will ignore
+ * these differences and treat it as an idempotent request of the previous. In this
+ * case, tags
will not be updated, even if they are different.
Use TagResource + * and UntagResource + * to update tags after creation.
PutConfigRule
is an idempotent API. Subsequent requests won’t
- * create a duplicate resource if one was already created. If a following request
- * has different tags
values, Config will ignore these differences and
- * treat it as an idempotent request of the previous. In this case,
- * tags
will not be updated, even if they are different.
PutConfigRule
is an idempotent API. Subsequent requests
+ * won’t create a duplicate resource if one was already created. If a following
+ * request has different tags
values, Config will ignore these
+ * differences and treat it as an idempotent request of the previous. In this case,
+ * tags
will not be updated, even if they are different.
Use TagResource + * and UntagResource + * to update tags after creation.
PutConfigurationAggregator
is an idempotent API.
- * Subsequent requests won’t create a duplicate resource if one was already
+ *
Tags are added at creation and cannot be updated with this + * operation
PutConfigurationAggregator
is an idempotent
+ * API. Subsequent requests won’t create a duplicate resource if one was already
* created. If a following request has different tags
values, Config
* will ignore these differences and treat it as an idempotent request of the
* previous. In this case, tags
will not be updated, even if they are
- * different.
Use TagResource + * and UntagResource + * to update tags after creation.
Creates a new configuration recorder to record configuration changes for - * specified resource types.
You can also use this action to change the
- * roleARN
or the recordingGroup
of an existing recorder.
- * For more information, see Creates or updates the customer managed configuration recorder.
You
+ * can use this operation to create a new customer managed configuration recorder
+ * or to update the roleARN
and the recordingGroup
for an
+ * existing customer managed configuration recorder.
To start the customer + * managed configuration recorder and begin recording configuration changes for the + * resource types you specify, use the StartConfigurationRecorder + * operation.
For more information, see - * Managing the Configuration Recorder in the Config Developer - * Guide.
You can specify only one configuration recorder for - * each Amazon Web Services Region for each account.
If the configuration
- * recorder does not have the recordingGroup
field specified, the
- * default is to record all supported resource types.
One customer managed configuration recorder per + * account per Region
You can create only one customer managed + * configuration recorder for each account for each Amazon Web Services Region.
+ *Default is to record all supported resource types, excluding the global + * IAM resource types
If you have not specified values for the
+ * recordingGroup
field, the default for the customer managed
+ * configuration recorder is to record all supported resource types, excluding the
+ * global IAM resource types: AWS::IAM::Group
,
+ * AWS::IAM::Policy
, AWS::IAM::Role
, and
+ * AWS::IAM::User
.
Tags are added at creation and cannot be + * updated
PutConfigurationRecorder
is an idempotent API.
+ * Subsequent requests won’t create a duplicate resource if one was already
+ * created. If a following request has different tags values, Config will ignore
+ * these differences and treat it as an idempotent request of the previous. In this
+ * case, tags will not be updated, even if they are different.
Use TagResource + * and UntagResource + * to update tags after creation.
Creates a delivery channel object to deliver configuration information and - * other compliance information to an Amazon S3 bucket and Amazon SNS topic. For - * more information, see Notifications - * that Config Sends to an Amazon SNS topic.
Before you can create a - * delivery channel, you must create a configuration recorder.
You can use - * this action to change the Amazon S3 bucket or an Amazon SNS topic of the - * existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS - * topic, call this action and specify the changed values for the S3 bucket and the - * SNS topic. If you specify a different value for either the S3 bucket or the SNS - * topic, this action will keep the existing value for the parameter that is not - * changed.
You can have only one delivery channel per region in your - * account.
You can use this operation to create a + * new delivery channel or to update the Amazon S3 bucket and the Amazon SNS topic + * of an existing delivery channel.
For more information, see + * Working with the Delivery Channel in the Config Developer + * Guide.
One delivery channel per account per Region + *
You can have only one delivery channel for each account for each Amazon + * Web Services Region.
Used by an Lambda function to deliver evaluation results to Config. This - * action is required in every Lambda function that is invoked by an Config + * operation is required in every Lambda function that is invoked by an Config * rule.
- * Auto remediation can be initiated even for compliant resources
If - * you enable auto remediation for a specific Config rule using the Exceptions cannot be placed on service-linked remediation actions
+ *You cannot place an exception on service-linked remediation actions, such as + * remediation actions put by an organizational conformance pack.
+ *Auto remediation can be initiated even for compliant resources + *
If you enable auto remediation for a specific Config rule using the PutRemediationConfigurations * API or the Config console, it initiates the remediation process for all * non-compliant resources for that specific rule. The auto remediation process @@ -2730,15 +2903,61 @@ namespace ConfigService return SubmitAsync(&ConfigServiceClient::PutRetentionConfiguration, request, handler, context); } + /** + *
Creates a service-linked configuration recorder that is linked to a specific
+ * Amazon Web Services service based on the ServicePrincipal
you
+ * specify.
The configuration recorder's name
,
+ * recordingGroup
, recordingMode
, and
+ * recordingScope
is set by the service that is linked to the
+ * configuration recorder.
For more information, see + * Working with the Configuration Recorder in the Config Developer + * Guide.
This API creates a service-linked role
+ * AWSServiceRoleForConfig
in your account. The service-linked role is
+ * created only when the role does not exist in your account.
The + * recording scope determines if you receive configuration items
The + * recording scope is set by the service that is linked to the configuration + * recorder and determines whether you receive configuration items (CIs) in the + * delivery channel. If the recording scope is internal, you will not receive CIs + * in the delivery channel.
Tags are added at creation and cannot be + * updated with this operation
Use TagResource + * and UntagResource + * to update tags after creation.
Saves a new query or updates an existing saved query. The
* QueryName
must be unique for a single Amazon Web Services account
* and a single Amazon Web Services Region. You can create upto 300 queries in a
* single Amazon Web Services account and a single Amazon Web Services Region.
PutStoredQuery
is an idempotent API. Subsequent requests
- * won’t create a duplicate resource if one was already created. If a following
- * request has different tags
values, Config will ignore these
- * differences and treat it as an idempotent request of the previous. In this case,
+ *
Tags are added at creation and cannot be updated
+ * PutStoredQuery
is an idempotent API. Subsequent requests won’t
+ * create a duplicate resource if one was already created. If a following request
+ * has different tags
values, Config will ignore these differences and
+ * treat it as an idempotent request of the previous. In this case,
* tags
will not be updated, even if they are different.
Starts recording configurations of the Amazon Web Services resources you have - * selected to record in your Amazon Web Services account.
You must have - * created at least one delivery channel to successfully start the configuration - * recorder.
You must have created a delivery channel to + * successfully start the customer managed configuration recorder. You can use the + * PutDeliveryChannel + * operation to create a delivery channel.
Stops recording configurations of the Amazon Web Services resources you have - * selected to record in your Amazon Web Services account.
Associates the specified tags to a resource with the specified resourceArn. - * If existing tags on a resource are not specified in the request parameters, they - * are not changed. If existing tags are specified, however, then their values will - * be updated. When a resource is deleted, the tags associated with that resource - * are deleted as well.
ResourceArn
. If existing tags on a resource are not specified in
+ * the request parameters, they are not changed. If existing tags are specified,
+ * however, then their values will be updated. When a resource is deleted, the tags
+ * associated with that resource are deleted as well.An object to filter the configuration recorders based on the resource types + * in scope for recording.
The type of resource type filter to apply. INCLUDE
specifies
+ * that the list of resource types in the Value
field will be
+ * aggregated and no other resource types will be filtered.
Comma-separate list of resource types to filter your aggregated configuration + * recorders.
+ */ + inline const Aws::VectorAn object to filter service-linked configuration recorders in an aggregator + * based on the linked Amazon Web Services service.
The type of service principal filter to apply. INCLUDE
specifies
+ * that the list of service principals in the Value
field will be
+ * aggregated and no other service principals will be filtered.
Comma-separated list of service principals for the linked Amazon Web Services + * services to filter your aggregated service-linked configuration recorders.
+ */ + inline const Aws::VectorAn object to filter the data you specify for an aggregator.
An object to filter the configuration recorders based on the resource types + * in scope for recording.
+ */ + inline const AggregatorFilterResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const AggregatorFilterResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(AggregatorFilterResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline AggregatorFilters& WithResourceType(const AggregatorFilterResourceType& value) { SetResourceType(value); return *this;} + inline AggregatorFilters& WithResourceType(AggregatorFilterResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *An object to filter service-linked configuration recorders in an aggregator + * based on the linked Amazon Web Services service.
+ */ + inline const AggregatorFilterServicePrincipal& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const AggregatorFilterServicePrincipal& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(AggregatorFilterServicePrincipal&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline AggregatorFilters& WithServicePrincipal(const AggregatorFilterServicePrincipal& value) { SetServicePrincipal(value); return *this;} + inline AggregatorFilters& WithServicePrincipal(AggregatorFilterServicePrincipal&& value) { SetServicePrincipal(std::move(value)); return *this;} + ///@} + private: + + AggregatorFilterResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + AggregatorFilterServicePrincipal m_servicePrincipal; + bool m_servicePrincipalHasBeenSet = false; + }; + +} // namespace Model +} // namespace ConfigService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/AssociateResourceTypesRequest.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/AssociateResourceTypesRequest.h new file mode 100644 index 00000000000..961da7dabae --- /dev/null +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/AssociateResourceTypesRequest.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the specified configuration recorder.
+ */ + inline const Aws::String& GetConfigurationRecorderArn() const{ return m_configurationRecorderArn; } + inline bool ConfigurationRecorderArnHasBeenSet() const { return m_configurationRecorderArnHasBeenSet; } + inline void SetConfigurationRecorderArn(const Aws::String& value) { m_configurationRecorderArnHasBeenSet = true; m_configurationRecorderArn = value; } + inline void SetConfigurationRecorderArn(Aws::String&& value) { m_configurationRecorderArnHasBeenSet = true; m_configurationRecorderArn = std::move(value); } + inline void SetConfigurationRecorderArn(const char* value) { m_configurationRecorderArnHasBeenSet = true; m_configurationRecorderArn.assign(value); } + inline AssociateResourceTypesRequest& WithConfigurationRecorderArn(const Aws::String& value) { SetConfigurationRecorderArn(value); return *this;} + inline AssociateResourceTypesRequest& WithConfigurationRecorderArn(Aws::String&& value) { SetConfigurationRecorderArn(std::move(value)); return *this;} + inline AssociateResourceTypesRequest& WithConfigurationRecorderArn(const char* value) { SetConfigurationRecorderArn(value); return *this;} + ///@} + + ///@{ + /** + *The list of resource types you want to add to the recording group of the + * specified configuration recorder.
+ */ + inline const Aws::VectorStatus information for your Config Managed rules and Config Custom Policy * rules. The status includes information such as the last time the rule ran, the * last time it failed, and the related error for the last failure.
This - * action does not return status information about Config Custom Lambda + * operation does not return status information about Config Custom Lambda * rules.
An object to filter the data you specify for an aggregator.
+ */ + inline const AggregatorFilters& GetAggregatorFilters() const{ return m_aggregatorFilters; } + inline bool AggregatorFiltersHasBeenSet() const { return m_aggregatorFiltersHasBeenSet; } + inline void SetAggregatorFilters(const AggregatorFilters& value) { m_aggregatorFiltersHasBeenSet = true; m_aggregatorFilters = value; } + inline void SetAggregatorFilters(AggregatorFilters&& value) { m_aggregatorFiltersHasBeenSet = true; m_aggregatorFilters = std::move(value); } + inline ConfigurationAggregator& WithAggregatorFilters(const AggregatorFilters& value) { SetAggregatorFilters(value); return *this;} + inline ConfigurationAggregator& WithAggregatorFilters(AggregatorFilters&& value) { SetAggregatorFilters(std::move(value)); return *this;} + ///@} private: Aws::String m_configurationAggregatorName; @@ -156,6 +169,9 @@ namespace Model Aws::String m_createdBy; bool m_createdByHasBeenSet = false; + + AggregatorFilters m_aggregatorFilters; + bool m_aggregatorFiltersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorder.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorder.h index ee8207e5568..148cd333318 100644 --- a/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorder.h +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorder.h @@ -8,6 +8,7 @@ #includeRecords configuration changes to your specified resource types. For more + *
Records configuration changes to the resource types in scope.
For more * information about the configuration recorder, see - * Managing the Configuration Recorder in the Config Developer + * Working with the Configuration Recorder in the Config Developer * Guide.
The name of the configuration recorder. Config automatically assigns the name - * of "default" when creating the configuration recorder.
You cannot - * change the name of the configuration recorder after it has been created. To - * change the configuration recorder name, you must delete it and create a new - * configuration recorder with a new name.
+ *The Amazon Resource Name (ARN) of the specified configuration recorder.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline ConfigurationRecorder& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline ConfigurationRecorder& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline ConfigurationRecorder& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The name of the configuration recorder.
For customer managed + * configuration recorders, Config automatically assigns the name of "default" when + * creating a configuration recorder if you do not specify a name at creation + * time.
For service-linked configuration recorders, Config automatically
+ * assigns a name that has the prefix "AWS
" to a new service-linked
+ * configuration recorder.
Changing the name of a configuration + * recorder
To change the name of the customer managed configuration + * recorder, you must delete it and create a new customer managed configuration + * recorder with a new name.
You cannot change the name of a service-linked + * configuration recorder.
*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -63,23 +83,35 @@ namespace Model ///@{ /** - *Amazon Resource Name (ARN) of the IAM role assumed by Config and used by the - * configuration recorder.
While the API model does not require this
- * field, the server will reject a request without a defined roleARN
- * for the configuration recorder.
Pre-existing Config - * role
If you have used an Amazon Web Services service that uses - * Config, such as Security Hub or Control Tower, and an Config role has already + *
The Amazon Resource Name (ARN) of the IAM role assumed by Config and used by + * the specified configuration recorder.
The server will reject a
+ * request without a defined roleARN
for the configuration
+ * recorder
While the API model does not require this field, the server
+ * will reject a request without a defined roleARN
for the
+ * configuration recorder.
Policies and compliance results
+ * IAM + * policies and other + * policies managed in Organizations can impact whether Config has permissions + * to record configuration changes for your resources. Additionally, rules directly + * evaluate the configuration of a resource and rules don't take into account these + * policies when running evaluations. Make sure that the policies in effect align + * with how you intend to use Config.
Keep Minimum Permisions When + * Reusing an IAM role
If you use an Amazon Web Services service that + * uses Config, such as Security Hub or Control Tower, and an IAM role has already * been created, make sure that the IAM role that you use when setting up Config - * keeps the same minimum permissions as the already created Config role. You must - * do this so that the other Amazon Web Services service continues to run as + * keeps the same minimum permissions as the pre-existing IAM role. You must do + * this to ensure that the other Amazon Web Services service continues to run as * expected.
For example, if Control Tower has an IAM role that allows - * Config to read Amazon Simple Storage Service (Amazon S3) objects, make sure that - * the same permissions are granted within the IAM role you use when setting up - * Config. Otherwise, it may interfere with how Control Tower operates. For more - * information about IAM roles for Config, see - * Identity and Access Management for Config in the Config Developer - * Guide.
+ * Config to read S3 objects, make sure that the same permissions are granted to + * the IAM role you use when setting up Config. Otherwise, it may interfere with + * how Control Tower operates.The service-linked IAM role for Config + * must be used for service-linked configuration recorders
For + * service-linked configuration recorders, you must use the service-linked IAM role + * for Config: AWSServiceRoleForConfig.
+ * */ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } @@ -93,20 +125,22 @@ namespace Model ///@{ /** - *Specifies which resource types Config records for configuration changes.
- *High Number of Config Evaluations
You may notice - * increased activity in your account during your initial month recording with - * Config when compared to subsequent months. During the initial bootstrapping - * process, Config runs evaluations on all the resources in your account that you - * have selected for Config to record.
If you are running ephemeral - * workloads, you may see increased activity from Config as it records + *
Specifies which resource types are in scope for the configuration recorder to + * record.
High Number of Config Evaluations
You + * might notice increased activity in your account during your initial month + * recording with Config when compared to subsequent months. During the initial + * bootstrapping process, Config runs evaluations on all the resources in your + * account that you have selected for Config to record.
If you are running + * ephemeral workloads, you may see increased activity from Config as it records * configuration changes associated with creating and deleting these temporary * resources. An ephemeral workload is a temporary use of computing * resources that are loaded and run when needed. Examples include Amazon Elastic - * Compute Cloud (Amazon EC2) Spot Instances, Amazon EMR jobs, and Auto Scaling. If - * you want to avoid the increased activity from running ephemeral workloads, you - * can run these types of workloads in a separate account with Config turned off to - * avoid increased configuration recording and rule evaluations.
+ * Compute Cloud (Amazon EC2) Spot Instances, Amazon EMR jobs, and Auto + * Scaling.If you want to avoid the increased activity from running + * ephemeral workloads, you can set up the configuration recorder to exclude these + * resource types from being recorded, or run these types of workloads in a + * separate account with Config turned off to avoid increased configuration + * recording and rule evaluations.
*/ inline const RecordingGroup& GetRecordingGroup() const{ return m_recordingGroup; } inline bool RecordingGroupHasBeenSet() const { return m_recordingGroupHasBeenSet; } @@ -118,17 +152,18 @@ namespace Model ///@{ /** - *Specifies the default recording frequency that Config uses to record - * configuration changes. Config supports Continuous recording and Daily - * recording.
Continuous recording allows you to record - * configuration changes continuously whenever a change occurs.
Daily recording allows you to receive a configuration item (CI) representing - * the most recent state of your resources over the last 24-hour period, only if - * it’s different from the previous CI recorded.
Firewall Manager depends on continuous recording to monitor your resources. - * If you are using Firewall Manager, it is recommended that you set the recording - * frequency to Continuous.
You can also override the recording - * frequency for specific resource types.
+ *Specifies the default recording frequency for the configuration recorder. + * Config supports Continuous recording and Daily recording.
Continuous recording allows you to record configuration changes + * continuously whenever a change occurs.
Daily recording allows + * you to receive a configuration item (CI) representing the most recent state of + * your resources over the last 24-hour period, only if it’s different from the + * previous CI recorded.
Some resource types require + * continuous recording
Firewall Manager depends on continuous + * recording to monitor your resources. If you are using Firewall Manager, it is + * recommended that you set the recording frequency to Continuous.
+ *You can also override the recording frequency for specific resource + * types.
*/ inline const RecordingMode& GetRecordingMode() const{ return m_recordingMode; } inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; } @@ -137,8 +172,42 @@ namespace Model inline ConfigurationRecorder& WithRecordingMode(const RecordingMode& value) { SetRecordingMode(value); return *this;} inline ConfigurationRecorder& WithRecordingMode(RecordingMode&& value) { SetRecordingMode(std::move(value)); return *this;} ///@} + + ///@{ + /** + *Specifies whether the ConfigurationItems
+ * in scope for the specified configuration recorder are recorded for free
+ * (INTERNAL
) or if it impacts the costs to your bill
+ * (PAID
).
For service-linked configuration recorders, specifies the linked Amazon Web + * Services service for the configuration recorder.
+ */ + inline const Aws::String& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const Aws::String& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(Aws::String&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline void SetServicePrincipal(const char* value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal.assign(value); } + inline ConfigurationRecorder& WithServicePrincipal(const Aws::String& value) { SetServicePrincipal(value); return *this;} + inline ConfigurationRecorder& WithServicePrincipal(Aws::String&& value) { SetServicePrincipal(std::move(value)); return *this;} + inline ConfigurationRecorder& WithServicePrincipal(const char* value) { SetServicePrincipal(value); return *this;} + ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::String m_name; bool m_nameHasBeenSet = false; @@ -150,6 +219,12 @@ namespace Model RecordingMode m_recordingMode; bool m_recordingModeHasBeenSet = false; + + RecordingScope m_recordingScope; + bool m_recordingScopeHasBeenSet = false; + + Aws::String m_servicePrincipal; + bool m_servicePrincipalHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorderFilter.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorderFilter.h new file mode 100644 index 00000000000..8a5853db333 --- /dev/null +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorderFilter.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeFilters configuration recorders by recording scope.
The name of the type of filter. Currently, only recordingScope
+ * is supported.
The value of the filter. For recordingScope
, valid values
+ * include: INTERNAL
and PAID
.
+ * INTERNAL
indicates that the ConfigurationItems
+ * in scope for the configuration recorder are recorded for free.
+ * PAID
indicates that the ConfigurationItems
+ * in scope for the configuration recorder impact the costs to your bill.
The current status of the configuration recorder.
For a - * detailed status of recording events over time, add your Config events to - * CloudWatch metrics and use CloudWatch metrics.
For a detailed + * status of recording events over time, add your Config events to CloudWatch + * metrics and use CloudWatch metrics.
The Amazon Resource Name (ARN) of the configuration recorder.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline ConfigurationRecorderStatus& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline ConfigurationRecorderStatus& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline ConfigurationRecorderStatus& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + ///@{ /** *The name of the configuration recorder.
@@ -142,8 +155,26 @@ namespace Model inline ConfigurationRecorderStatus& WithLastStatusChangeTime(const Aws::Utils::DateTime& value) { SetLastStatusChangeTime(value); return *this;} inline ConfigurationRecorderStatus& WithLastStatusChangeTime(Aws::Utils::DateTime&& value) { SetLastStatusChangeTime(std::move(value)); return *this;} ///@} + + ///@{ + /** + *For service-linked configuration recorders, the service principal of the + * linked Amazon Web Services service.
+ */ + inline const Aws::String& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const Aws::String& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(Aws::String&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline void SetServicePrincipal(const char* value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal.assign(value); } + inline ConfigurationRecorderStatus& WithServicePrincipal(const Aws::String& value) { SetServicePrincipal(value); return *this;} + inline ConfigurationRecorderStatus& WithServicePrincipal(Aws::String&& value) { SetServicePrincipal(std::move(value)); return *this;} + inline ConfigurationRecorderStatus& WithServicePrincipal(const char* value) { SetServicePrincipal(value); return *this;} + ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::String m_name; bool m_nameHasBeenSet = false; @@ -167,6 +198,9 @@ namespace Model Aws::Utils::DateTime m_lastStatusChangeTime; bool m_lastStatusChangeTimeHasBeenSet = false; + + Aws::String m_servicePrincipal; + bool m_servicePrincipalHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorderSummary.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorderSummary.h new file mode 100644 index 00000000000..76e14324146 --- /dev/null +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/ConfigurationRecorderSummary.h @@ -0,0 +1,118 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeA summary of a configuration recorder, including the arn
,
+ * name
, servicePrincipal
, and
+ * recordingScope
.
The Amazon Resource Name (ARN) of the configuration recorder.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline ConfigurationRecorderSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline ConfigurationRecorderSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline ConfigurationRecorderSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The name of the configuration recorder.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline ConfigurationRecorderSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline ConfigurationRecorderSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline ConfigurationRecorderSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *For service-linked configuration recorders, indicates which Amazon Web + * Services service the configuration recorder is linked to.
+ */ + inline const Aws::String& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const Aws::String& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(Aws::String&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline void SetServicePrincipal(const char* value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal.assign(value); } + inline ConfigurationRecorderSummary& WithServicePrincipal(const Aws::String& value) { SetServicePrincipal(value); return *this;} + inline ConfigurationRecorderSummary& WithServicePrincipal(Aws::String&& value) { SetServicePrincipal(std::move(value)); return *this;} + inline ConfigurationRecorderSummary& WithServicePrincipal(const char* value) { SetServicePrincipal(value); return *this;} + ///@} + + ///@{ + /** + *Indicates whether the ConfigurationItems
+ * in scope for the configuration recorder are recorded for free
+ * (INTERNAL
) or if you are charged a service fee for recording
+ * (PAID
).
The request object for the DeleteConfigurationRecorder
- * action.
The name of the configuration recorder to be deleted. You can retrieve the
- * name of your configuration recorder by using the
- * DescribeConfigurationRecorders
action.
The name of the customer managed configuration recorder that you want to + * delete. You can retrieve the name of your configuration recorders by using the + * DescribeConfigurationRecorders + * operation.
*/ inline const Aws::String& GetConfigurationRecorderName() const{ return m_configurationRecorderName; } inline bool ConfigurationRecorderNameHasBeenSet() const { return m_configurationRecorderNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteDeliveryChannelRequest.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteDeliveryChannelRequest.h index 9e602b2b9ee..09c42d6fbda 100644 --- a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteDeliveryChannelRequest.h +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteDeliveryChannelRequest.h @@ -40,7 +40,7 @@ namespace Model ///@{ /** - *The name of the delivery channel to delete.
+ *The name of the delivery channel that you want to delete.
*/ inline const Aws::String& GetDeliveryChannelName() const{ return m_deliveryChannelName; } inline bool DeliveryChannelNameHasBeenSet() const { return m_deliveryChannelNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteServiceLinkedConfigurationRecorderRequest.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteServiceLinkedConfigurationRecorderRequest.h new file mode 100644 index 00000000000..dbd580e4b8d --- /dev/null +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteServiceLinkedConfigurationRecorderRequest.h @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe service principal of the Amazon Web Services service for the + * service-linked configuration recorder that you want to delete.
+ */ + inline const Aws::String& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const Aws::String& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(Aws::String&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline void SetServicePrincipal(const char* value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal.assign(value); } + inline DeleteServiceLinkedConfigurationRecorderRequest& WithServicePrincipal(const Aws::String& value) { SetServicePrincipal(value); return *this;} + inline DeleteServiceLinkedConfigurationRecorderRequest& WithServicePrincipal(Aws::String&& value) { SetServicePrincipal(std::move(value)); return *this;} + inline DeleteServiceLinkedConfigurationRecorderRequest& WithServicePrincipal(const char* value) { SetServicePrincipal(value); return *this;} + ///@} + private: + + Aws::String m_servicePrincipal; + bool m_servicePrincipalHasBeenSet = false; + }; + +} // namespace Model +} // namespace ConfigService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteServiceLinkedConfigurationRecorderResult.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteServiceLinkedConfigurationRecorderResult.h new file mode 100644 index 00000000000..f1ce0b7e39e --- /dev/null +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DeleteServiceLinkedConfigurationRecorderResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the specified configuration recorder.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline DeleteServiceLinkedConfigurationRecorderResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline DeleteServiceLinkedConfigurationRecorderResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline DeleteServiceLinkedConfigurationRecorderResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The name of the specified configuration recorder.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline DeleteServiceLinkedConfigurationRecorderResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline DeleteServiceLinkedConfigurationRecorderResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline DeleteServiceLinkedConfigurationRecorderResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteServiceLinkedConfigurationRecorderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteServiceLinkedConfigurationRecorderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteServiceLinkedConfigurationRecorderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_name; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ConfigService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DescribeComplianceByResourceRequest.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DescribeComplianceByResourceRequest.h index e0945d89a28..e6053150386 100644 --- a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DescribeComplianceByResourceRequest.h +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DescribeComplianceByResourceRequest.h @@ -42,8 +42,8 @@ namespace Model ///@{ /** *The types of Amazon Web Services resources for which you want compliance
- * information (for example, AWS::EC2::Instance
). For this action, you
- * can specify that the resource type is an Amazon Web Services account by
+ * information (for example, AWS::EC2::Instance
). For this operation,
+ * you can specify that the resource type is an Amazon Web Services account by
* specifying AWS::::Account
.
The name(s) of the configuration recorder. If the name is not specified, the - * action returns the current status of all the configuration recorders associated - * with the account.
+ *The name of the configuration recorder. If the name is not specified, the + * opertation returns the status for the customer managed configuration recorder + * configured for the account, if applicable.
When making a request + * to this operation, you can only specify one configuration recorder.
*/ inline const Aws::VectorFor service-linked configuration recorders, you can use the service principal + * of the linked Amazon Web Services service to specify the configuration + * recorder.
+ */ + inline const Aws::String& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const Aws::String& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(Aws::String&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline void SetServicePrincipal(const char* value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal.assign(value); } + inline DescribeConfigurationRecorderStatusRequest& WithServicePrincipal(const Aws::String& value) { SetServicePrincipal(value); return *this;} + inline DescribeConfigurationRecorderStatusRequest& WithServicePrincipal(Aws::String&& value) { SetServicePrincipal(std::move(value)); return *this;} + inline DescribeConfigurationRecorderStatusRequest& WithServicePrincipal(const char* value) { SetServicePrincipal(value); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the configuration recorder that you want to + * specify.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline DescribeConfigurationRecorderStatusRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline DescribeConfigurationRecorderStatusRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline DescribeConfigurationRecorderStatusRequest& WithArn(const char* value) { SetArn(value); return *this;} + ///@} private: Aws::VectorA list of configuration recorder names.
+ *A list of names of the configuration recorders that you want to specify.
*/ inline const Aws::VectorFor service-linked configuration recorders, you can use the service principal + * of the linked Amazon Web Services service to specify the configuration + * recorder.
+ */ + inline const Aws::String& GetServicePrincipal() const{ return m_servicePrincipal; } + inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; } + inline void SetServicePrincipal(const Aws::String& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = value; } + inline void SetServicePrincipal(Aws::String&& value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal = std::move(value); } + inline void SetServicePrincipal(const char* value) { m_servicePrincipalHasBeenSet = true; m_servicePrincipal.assign(value); } + inline DescribeConfigurationRecordersRequest& WithServicePrincipal(const Aws::String& value) { SetServicePrincipal(value); return *this;} + inline DescribeConfigurationRecordersRequest& WithServicePrincipal(Aws::String&& value) { SetServicePrincipal(std::move(value)); return *this;} + inline DescribeConfigurationRecordersRequest& WithServicePrincipal(const char* value) { SetServicePrincipal(value); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the configuration recorder that you want to + * specify.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline DescribeConfigurationRecordersRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline DescribeConfigurationRecordersRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline DescribeConfigurationRecordersRequest& WithArn(const char* value) { SetArn(value); return *this;} + ///@} private: Aws::VectorA list of Config rule names.
+ *The name of the Config rule.
*/ inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; } inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-config/include/aws/config/model/DisassociateResourceTypesRequest.h b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DisassociateResourceTypesRequest.h new file mode 100644 index 00000000000..13202b1784f --- /dev/null +++ b/generated/src/aws-cpp-sdk-config/include/aws/config/model/DisassociateResourceTypesRequest.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the specified configuration recorder.
+ */ + inline const Aws::String& GetConfigurationRecorderArn() const{ return m_configurationRecorderArn; } + inline bool ConfigurationRecorderArnHasBeenSet() const { return m_configurationRecorderArnHasBeenSet; } + inline void SetConfigurationRecorderArn(const Aws::String& value) { m_configurationRecorderArnHasBeenSet = true; m_configurationRecorderArn = value; } + inline void SetConfigurationRecorderArn(Aws::String&& value) { m_configurationRecorderArnHasBeenSet = true; m_configurationRecorderArn = std::move(value); } + inline void SetConfigurationRecorderArn(const char* value) { m_configurationRecorderArnHasBeenSet = true; m_configurationRecorderArn.assign(value); } + inline DisassociateResourceTypesRequest& WithConfigurationRecorderArn(const Aws::String& value) { SetConfigurationRecorderArn(value); return *this;} + inline DisassociateResourceTypesRequest& WithConfigurationRecorderArn(Aws::String&& value) { SetConfigurationRecorderArn(std::move(value)); return *this;} + inline DisassociateResourceTypesRequest& WithConfigurationRecorderArn(const char* value) { SetConfigurationRecorderArn(value); return *this;} + ///@} + + ///@{ + /** + *The list of resource types you want to remove from the recording group of the + * specified configuration recorder.
+ */ + inline const Aws::Vector