ConfigServiceClient Class

(QtAws::ConfigService::ConfigServiceClient)

The ConfigServiceClient class provides access to the AWS Config (Config Service) service. More...

Header: #include <ConfigServiceClient>
Inherits: QtAws::Core::AwsAbstractClient

Public Functions

ConfigServiceClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
ConfigServiceClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Public Slots

BatchGetResourceConfigResponse *batchGetResourceConfig(const BatchGetResourceConfigRequest &request)
DeleteAggregationAuthorizationResponse *deleteAggregationAuthorization(const DeleteAggregationAuthorizationRequest &request)
DeleteConfigRuleResponse *deleteConfigRule(const DeleteConfigRuleRequest &request)
DeleteConfigurationAggregatorResponse *deleteConfigurationAggregator(const DeleteConfigurationAggregatorRequest &request)
DeleteConfigurationRecorderResponse *deleteConfigurationRecorder(const DeleteConfigurationRecorderRequest &request)
DeleteDeliveryChannelResponse *deleteDeliveryChannel(const DeleteDeliveryChannelRequest &request)
DeleteEvaluationResultsResponse *deleteEvaluationResults(const DeleteEvaluationResultsRequest &request)
DeletePendingAggregationRequestResponse *deletePendingAggregationRequest(const DeletePendingAggregationRequestRequest &request)
DeliverConfigSnapshotResponse *deliverConfigSnapshot(const DeliverConfigSnapshotRequest &request)
DescribeAggregateComplianceByConfigRulesResponse *describeAggregateComplianceByConfigRules(const DescribeAggregateComplianceByConfigRulesRequest &request)
DescribeAggregationAuthorizationsResponse *describeAggregationAuthorizations(const DescribeAggregationAuthorizationsRequest &request)
DescribeComplianceByConfigRuleResponse *describeComplianceByConfigRule(const DescribeComplianceByConfigRuleRequest &request)
DescribeComplianceByResourceResponse *describeComplianceByResource(const DescribeComplianceByResourceRequest &request)
DescribeConfigRuleEvaluationStatusResponse *describeConfigRuleEvaluationStatus(const DescribeConfigRuleEvaluationStatusRequest &request)
DescribeConfigRulesResponse *describeConfigRules(const DescribeConfigRulesRequest &request)
DescribeConfigurationAggregatorSourcesStatusResponse *describeConfigurationAggregatorSourcesStatus(const DescribeConfigurationAggregatorSourcesStatusRequest &request)
DescribeConfigurationAggregatorsResponse *describeConfigurationAggregators(const DescribeConfigurationAggregatorsRequest &request)
DescribeConfigurationRecorderStatusResponse *describeConfigurationRecorderStatus(const DescribeConfigurationRecorderStatusRequest &request)
DescribeConfigurationRecordersResponse *describeConfigurationRecorders(const DescribeConfigurationRecordersRequest &request)
DescribeDeliveryChannelStatusResponse *describeDeliveryChannelStatus(const DescribeDeliveryChannelStatusRequest &request)
DescribeDeliveryChannelsResponse *describeDeliveryChannels(const DescribeDeliveryChannelsRequest &request)
DescribePendingAggregationRequestsResponse *describePendingAggregationRequests(const DescribePendingAggregationRequestsRequest &request)
GetAggregateComplianceDetailsByConfigRuleResponse *getAggregateComplianceDetailsByConfigRule(const GetAggregateComplianceDetailsByConfigRuleRequest &request)
GetAggregateConfigRuleComplianceSummaryResponse *getAggregateConfigRuleComplianceSummary(const GetAggregateConfigRuleComplianceSummaryRequest &request)
GetComplianceDetailsByConfigRuleResponse *getComplianceDetailsByConfigRule(const GetComplianceDetailsByConfigRuleRequest &request)
GetComplianceDetailsByResourceResponse *getComplianceDetailsByResource(const GetComplianceDetailsByResourceRequest &request)
GetComplianceSummaryByConfigRuleResponse *getComplianceSummaryByConfigRule()
GetComplianceSummaryByResourceTypeResponse *getComplianceSummaryByResourceType(const GetComplianceSummaryByResourceTypeRequest &request)
GetDiscoveredResourceCountsResponse *getDiscoveredResourceCounts(const GetDiscoveredResourceCountsRequest &request)
GetResourceConfigHistoryResponse *getResourceConfigHistory(const GetResourceConfigHistoryRequest &request)
ListDiscoveredResourcesResponse *listDiscoveredResources(const ListDiscoveredResourcesRequest &request)
PutAggregationAuthorizationResponse *putAggregationAuthorization(const PutAggregationAuthorizationRequest &request)
PutConfigRuleResponse *putConfigRule(const PutConfigRuleRequest &request)
PutConfigurationAggregatorResponse *putConfigurationAggregator(const PutConfigurationAggregatorRequest &request)
PutConfigurationRecorderResponse *putConfigurationRecorder(const PutConfigurationRecorderRequest &request)
PutDeliveryChannelResponse *putDeliveryChannel(const PutDeliveryChannelRequest &request)
PutEvaluationsResponse *putEvaluations(const PutEvaluationsRequest &request)
StartConfigRulesEvaluationResponse *startConfigRulesEvaluation(const StartConfigRulesEvaluationRequest &request)
StartConfigurationRecorderResponse *startConfigurationRecorder(const StartConfigurationRecorderRequest &request)
StopConfigurationRecorderResponse *stopConfigurationRecorder(const StopConfigurationRecorderRequest &request)

Additional Inherited Members

Detailed Description

The ConfigServiceClient class provides access to the AWS Config (Config Service) service.

<fullname>AWS Config</fullname>

AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see <a href="http://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources">Supported AWS

Resources</a>>

You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config. This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config. The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see <a href="http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing Process</a>. For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see <a href="http://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html">What Is AWS Config</a> in the <i>AWS Config Developer

Member Function Documentation

ConfigServiceClient::ConfigServiceClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Constructs a ConfigServiceClient object.

The new client object will region, credentials, and manager for network operations.

The new object will be owned by parent, if set.

ConfigServiceClient::ConfigServiceClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

This function overloads ConfigServiceClient().

This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).

See also QtAws::Core::AwsEndpoint::getEndpoint.

[slot] BatchGetResourceConfigResponse *ConfigServiceClient::batchGetResourceConfig(const BatchGetResourceConfigRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an BatchGetResourceConfigResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list.

</p <note> <ul> <li>

The API does not return results for deleted

resources> </li> <li>

The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API

[slot] DeleteAggregationAuthorizationResponse *ConfigServiceClient::deleteAggregationAuthorization(const DeleteAggregationAuthorizationRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeleteAggregationAuthorizationResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes the authorization granted to the specified configuration aggregator account in a specified

[slot] DeleteConfigRuleResponse *ConfigServiceClient::deleteConfigRule(const DeleteConfigRuleRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeleteConfigRuleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes the specified AWS Config rule and all of its evaluation

results>

AWS Config sets the state of a rule to <code>DELETING</code> until the deletion is complete. You cannot update a rule while it is in this state. If you make a <code>PutConfigRule</code> or <code>DeleteConfigRule</code> request for the rule, you will receive a

<code>ResourceInUseException</code>>

You can check the state of a rule by using the <code>DescribeConfigRules</code>

[slot] DeleteConfigurationAggregatorResponse *ConfigServiceClient::deleteConfigurationAggregator(const DeleteConfigurationAggregatorRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeleteConfigurationAggregatorResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes the specified configuration aggregator and the aggregated data associated with the

[slot] DeleteConfigurationRecorderResponse *ConfigServiceClient::deleteConfigurationRecorder(const DeleteConfigurationRecorderRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeleteConfigurationRecorderResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes the configuration

recorder>

After the configuration recorder is deleted, AWS 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 <code>GetResourceConfigHistory</code> action, but you will not be able to access this information in the AWS Config console until you create a new configuration

[slot] DeleteDeliveryChannelResponse *ConfigServiceClient::deleteDeliveryChannel(const DeleteDeliveryChannelRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeleteDeliveryChannelResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes the delivery

channel>

Before you can delete the delivery channel, you must stop the configuration recorder by using the <a>StopConfigurationRecorder</a>

[slot] DeleteEvaluationResultsResponse *ConfigServiceClient::deleteEvaluationResults(const DeleteEvaluationResultsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeleteEvaluationResultsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the <a>StartConfigRulesEvaluation</a> API to start evaluating your AWS resources against the

[slot] DeletePendingAggregationRequestResponse *ConfigServiceClient::deletePendingAggregationRequest(const DeletePendingAggregationRequestRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeletePendingAggregationRequestResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes pending authorization requests for a specified aggregator account in a specified

[slot] DeliverConfigSnapshotResponse *ConfigServiceClient::deliverConfigSnapshot(const DeliverConfigSnapshotRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DeliverConfigSnapshotResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have

specified> <ul> <li>

Notification of the start of the

delivery> </li> <li>

Notification of the completion of the delivery, if the delivery was successfully

completed> </li> <li>

Notification of delivery failure, if the delivery

[slot] DescribeAggregateComplianceByConfigRulesResponse *ConfigServiceClient::describeAggregateComplianceByConfigRules(const DescribeAggregateComplianceByConfigRulesRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeAggregateComplianceByConfigRulesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules.

</p <note>

The results can return an empty result page, but if you have a nextToken, the results are displayed on the next

[slot] DescribeAggregationAuthorizationsResponse *ConfigServiceClient::describeAggregationAuthorizations(const DescribeAggregationAuthorizationsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeAggregationAuthorizationsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns a list of authorizations granted to various aggregator accounts and

[slot] DescribeComplianceByConfigRuleResponse *ConfigServiceClient::describeComplianceByConfigRule(const DescribeComplianceByConfigRuleRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeComplianceByConfigRuleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS 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 AWS Config has no current evaluation results for the rule, it returns <code>INSUFFICIENT_DATA</code>. This result might indicate one of the following

conditions> <ul> <li>

AWS Config has never invoked an evaluation for the rule. To check whether it has, use the <code>DescribeConfigRuleEvaluationStatus</code> action to get the <code>LastSuccessfulInvocationTime</code> and

<code>LastFailedInvocationTime</code>> </li> <li>

The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you assigned to your configuration recorder includes the <code>config:PutEvaluations</code> permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the <code>config:PutEvaluations</code>

permission> </li> <li>

The rule's AWS Lambda function has returned <code>NOT_APPLICABLE</code> for all evaluation results. This can occur if the resources were deleted or removed from the rule's

[slot] DescribeComplianceByResourceResponse *ConfigServiceClient::describeComplianceByResource(const DescribeComplianceByResourceRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeComplianceByResourceResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply

with>

A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these

rules>

If AWS Config has no current evaluation results for the resource, it returns <code>INSUFFICIENT_DATA</code>. This result might indicate one of the following conditions about the rules that evaluate the

resource> <ul> <li>

AWS Config has never invoked an evaluation for the rule. To check whether it has, use the <code>DescribeConfigRuleEvaluationStatus</code> action to get the <code>LastSuccessfulInvocationTime</code> and

<code>LastFailedInvocationTime</code>> </li> <li>

The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the <code>config:PutEvaluations</code> permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the <code>config:PutEvaluations</code>

permission> </li> <li>

The rule's AWS Lambda function has returned <code>NOT_APPLICABLE</code> for all evaluation results. This can occur if the resources were deleted or removed from the rule's

[slot] DescribeConfigRuleEvaluationStatusResponse *ConfigServiceClient::describeConfigRuleEvaluationStatus(const DescribeConfigRuleEvaluationStatusRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeConfigRuleEvaluationStatusResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last

[slot] DescribeConfigRulesResponse *ConfigServiceClient::describeConfigRules(const DescribeConfigRulesRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeConfigRulesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns details about your AWS Config

[slot] DescribeConfigurationAggregatorSourcesStatusResponse *ConfigServiceClient::describeConfigurationAggregatorSourcesStatus(const DescribeConfigurationAggregatorSourcesStatusRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeConfigurationAggregatorSourcesStatusResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns status information for sources within an aggregator. The status includes information about the last time AWS Config aggregated data from source accounts or AWS Config failed to aggregate data from source accounts with the related error code or message.

[slot] DescribeConfigurationAggregatorsResponse *ConfigServiceClient::describeConfigurationAggregators(const DescribeConfigurationAggregatorsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeConfigurationAggregatorsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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.

[slot] DescribeConfigurationRecorderStatusResponse *ConfigServiceClient::describeConfigurationRecorderStatus(const DescribeConfigurationRecorderStatusRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeConfigurationRecorderStatusResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the

account> <note>

Currently, you can specify only one configuration recorder per region in your

[slot] DescribeConfigurationRecordersResponse *ConfigServiceClient::describeConfigurationRecorders(const DescribeConfigurationRecordersRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeConfigurationRecordersResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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> <note>

Currently, you can specify only one configuration recorder per region in your

[slot] DescribeDeliveryChannelStatusResponse *ConfigServiceClient::describeDeliveryChannelStatus(const DescribeDeliveryChannelStatusRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeDeliveryChannelStatusResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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> <note>

Currently, you can specify only one delivery channel per region in your

[slot] DescribeDeliveryChannelsResponse *ConfigServiceClient::describeDeliveryChannels(const DescribeDeliveryChannelsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribeDeliveryChannelsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the

account> <note>

Currently, you can specify only one delivery channel per region in your

[slot] DescribePendingAggregationRequestsResponse *ConfigServiceClient::describePendingAggregationRequests(const DescribePendingAggregationRequestsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an DescribePendingAggregationRequestsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns a list of all pending aggregation

[slot] GetAggregateComplianceDetailsByConfigRuleResponse *ConfigServiceClient::getAggregateComplianceDetailsByConfigRule(const GetAggregateComplianceDetailsByConfigRuleRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetAggregateComplianceDetailsByConfigRuleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.

</p <note>

The results can return an empty result page. But if you have a nextToken, the results are displayed on the next

[slot] GetAggregateConfigRuleComplianceSummaryResponse *ConfigServiceClient::getAggregateConfigRuleComplianceSummary(const GetAggregateConfigRuleComplianceSummaryRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetAggregateConfigRuleComplianceSummaryResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the number of compliant and noncompliant rules for one or more accounts and regions in an

aggregator> <note>

The results can return an empty result page, but if you have a nextToken, the results are displayed on the next

[slot] GetComplianceDetailsByConfigRuleResponse *ConfigServiceClient::getComplianceDetailsByConfigRule(const GetComplianceDetailsByConfigRuleRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetComplianceDetailsByConfigRuleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the

[slot] GetComplianceDetailsByResourceResponse *ConfigServiceClient::getComplianceDetailsByResource(const GetComplianceDetailsByResourceRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetComplianceDetailsByResourceResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each

[slot] GetComplianceSummaryByConfigRuleResponse *ConfigServiceClient::getComplianceSummaryByConfigRule()

Sends a GetComplianceSummaryByConfigRule request to the ConfigServiceClient service, and returns a pointer to an GetComplianceSummaryByConfigRuleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for

[slot] GetComplianceSummaryByResourceTypeResponse *ConfigServiceClient::getComplianceSummaryByResourceType(const GetComplianceSummaryByResourceTypeRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetComplianceSummaryByResourceTypeResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is

[slot] GetDiscoveredResourceCountsResponse *ConfigServiceClient::getDiscoveredResourceCounts(const GetDiscoveredResourceCountsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetDiscoveredResourceCountsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account.

</p <p class="title"> <b>Example</b>

</p <ol> <li>

AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3

buckets> </li> <li>

You make a call to the <code>GetDiscoveredResourceCounts</code> action and specify that you want all resource types.

</p </li> <li>

AWS Config returns the

following> <ul> <li>

The resource types (EC2 instances, IAM users, and S3

buckets)> </li> <li>

The number of each resource type (25, 20, and

15)> </li> <li>

The total number of all resources

(60)> </li> </ul> </li> </ol>

The response is paginated. By default, AWS Config lists 100 <a>ResourceCount</a> objects on each page. You can customize this number with the <code>limit</code> parameter. The response includes a <code>nextToken</code> string. To get the next page of results, run the request again and specify the string for the <code>nextToken</code>

parameter> <note>

If you make a call to the <a>GetDiscoveredResourceCounts</a> action, you might not immediately receive resource counts in the following

situations> <ul> <li>

You are a new AWS Config

customer> </li> <li>

You just enabled resource

recording> </li> </ul>

It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the <a>GetDiscoveredResourceCounts</a> action.

[slot] GetResourceConfigHistoryResponse *ConfigServiceClient::getResourceConfigHistory(const GetResourceConfigHistoryRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an GetResourceConfigHistoryResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time

interval>

The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the <code>limit</code> parameter. The response includes a <code>nextToken</code> string. To get the next page of results, run the request again and specify the string for the <code>nextToken</code>

parameter> <note>

Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified <code>limit</code>. In such cases, you can make another call, using the

[slot] ListDiscoveredResourcesResponse *ConfigServiceClient::listDiscoveredResources(const ListDiscoveredResourcesRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an ListDiscoveredResourcesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource

name> <note>

You can specify either resource IDs or a resource name, but not both, in the same

request> </note>

The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the <code>limit</code> parameter. The response includes a <code>nextToken</code> string. To get the next page of results, run the request again and specify the string for the <code>nextToken</code>

[slot] PutAggregationAuthorizationResponse *ConfigServiceClient::putAggregationAuthorization(const PutAggregationAuthorizationRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an PutAggregationAuthorizationResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Authorizes the aggregator account and region to collect data from the source account and region.

[slot] PutConfigRuleResponse *ConfigServiceClient::putConfigRule(const PutConfigRuleRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an PutConfigRuleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired

configurations>

You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config

provides>

If you are adding a new custom AWS Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the <code>PutConfigRule</code> action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the <code>SourceIdentifier</code> key. This key is part of the <code>Source</code> object, which is part of the <code>ConfigRule</code> object.

</p

If you are adding an AWS managed Config rule, specify the rule's identifier for the <code>SourceIdentifier</code> key. To reference AWS managed Config rule identifiers, see <a href="http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html">About AWS Managed Config

Rules</a>>

For any new rule that you add, specify the <code>ConfigRuleName</code> in the <code>ConfigRule</code> object. Do not specify the <code>ConfigRuleArn</code> or the <code>ConfigRuleId</code>. These values are generated by AWS Config for new

rules>

If you are updating a rule that you added previously, you can specify the rule by <code>ConfigRuleName</code>, <code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the <code>ConfigRule</code> data type that you use in this

request>

The maximum number of rules that AWS Config supports is

50>

For information about requesting a rule limit increase, see <a href="http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config">AWS Config Limits</a> in the <i>AWS General Reference

Guide</i>>

For more information about developing and using AWS Config rules, see <a href="http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating AWS Resource Configurations with AWS Config</a> in the <i>AWS Config Developer

[slot] PutConfigurationAggregatorResponse *ConfigServiceClient::putConfigurationAggregator(const PutConfigurationAggregatorRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an PutConfigurationAggregatorResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an

organization> <note>

AWS Config should be enabled in source accounts and regions you want to

aggregate>

If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls <code>EnableAwsServiceAccess</code> API to enable integration between AWS Config and AWS Organizations.

[slot] PutConfigurationRecorderResponse *ConfigServiceClient::putConfigurationRecorder(const PutConfigurationRecorderRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an PutConfigurationRecorderResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Creates a new configuration recorder to record the selected resource

configurations>

You can use this action to change the role <code>roleARN</code> or the <code>recordingGroup</code> of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a

role> <note>

Currently, you can specify only one configuration recorder per region in your

account>

If <code>ConfigurationRecorder</code> does not have the <b>recordingGroup</b> parameter specified, the default is to record all supported resource

[slot] PutDeliveryChannelResponse *ConfigServiceClient::putDeliveryChannel(const PutDeliveryChannelRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an PutDeliveryChannelResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and 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> <note>

You can have only one delivery channel per region in your

[slot] PutEvaluationsResponse *ConfigServiceClient::putEvaluations(const PutEvaluationsRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an PutEvaluationsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config

[slot] StartConfigRulesEvaluationResponse *ConfigServiceClient::startConfigRulesEvaluation(const StartConfigRulesEvaluationRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an StartConfigRulesEvaluationResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use <code>StartConfigRulesEvaluation</code> when you want to test that a rule you updated is working as expected. <code>StartConfigRulesEvaluation</code> does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources.

</p

You can specify up to 25 AWS Config rules per request.

</p

An existing <code>StartConfigRulesEvaluation</code> call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a <code>ConfigRuleEvaluationStarted</code> notification when the evaluation

starts> <note>

You don't need to call the <code>StartConfigRulesEvaluation</code> API to run an evaluation for a new rule. When you create a rule, AWS Config evaluates your resources against the rule automatically.

</p </note>

The <code>StartConfigRulesEvaluation</code> API is useful if you want to run on-demand evaluations, such as the following

example> <ol> <li>

You have a custom rule that evaluates your IAM resources every 24

hours> </li> <li>

You update your Lambda function to add additional conditions to your

rule> </li> <li>

Instead of waiting for the next periodic evaluation, you call the <code>StartConfigRulesEvaluation</code>

API> </li> <li>

AWS Config invokes your Lambda function and evaluates your IAM

resources> </li> <li>

Your custom rule will still run periodic evaluations every 24

[slot] StartConfigurationRecorderResponse *ConfigServiceClient::startConfigurationRecorder(const StartConfigurationRecorderRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an StartConfigurationRecorderResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Starts recording configurations of the AWS resources you have selected to record in your AWS

account>

You must have created at least one delivery channel to successfully start the configuration

[slot] StopConfigurationRecorderResponse *ConfigServiceClient::stopConfigurationRecorder(const StopConfigurationRecorderRequest &request)

Sends request to the ConfigServiceClient service, and returns a pointer to an StopConfigurationRecorderResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Stops recording configurations of the AWS resources you have selected to record in your AWS

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.