configservice

package module
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceAPIVersion = "2014-11-12"
View Source
const ServiceID = "Config Service"

Variables

This section is empty.

Functions

func AddResolveEndpointMiddleware

func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func RemoveResolveEndpointMiddleware

func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error

Types

type BatchGetAggregateResourceConfigInput

type BatchGetAggregateResourceConfigInput struct {
	// A list of aggregate ResourceIdentifiers objects.
	ResourceIdentifiers []*types.AggregateResourceIdentifier
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
}

type BatchGetAggregateResourceConfigOutput

type BatchGetAggregateResourceConfigOutput struct {
	// A list of resource identifiers that were not processed with current scope. The
	// list is empty if all the resources are processed.
	UnprocessedResourceIdentifiers []*types.AggregateResourceIdentifier
	// A list that contains the current configuration of one or more resources.
	BaseConfigurationItems []*types.BaseConfigurationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchGetResourceConfigInput

type BatchGetResourceConfigInput struct {
	// A list of resource keys to be processed with the current request. Each element
	// in the list consists of the resource type and resource ID.
	ResourceKeys []*types.ResourceKey
}

type BatchGetResourceConfigOutput

type BatchGetResourceConfigOutput struct {
	// A list that contains the current configuration of one or more resources.
	BaseConfigurationItems []*types.BaseConfigurationItem
	// A list of resource keys that were not processed with the current response. The
	// unprocessesResourceKeys value is in the same form as ResourceKeys, so the value
	// can be directly provided to a subsequent BatchGetResourceConfig operation.  If
	// there are no unprocessed resource keys, the response contains an empty
	// unprocessedResourceKeys list. </p>
	UnprocessedResourceKeys []*types.ResourceKey

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

AWS Config <p>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="https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources">Supported AWS Resources</a>.</p> <p>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="https://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="https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html">What Is AWS Config</a> in the <i>AWS Config Developer Guide</i>.</p>

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) BatchGetAggregateResourceConfig

func (c *Client) BatchGetAggregateResourceConfig(ctx context.Context, params *BatchGetAggregateResourceConfigInput, optFns ...func(*Options)) (*BatchGetAggregateResourceConfigOutput, error)

Returns the current configuration items for resources that are present in your AWS Config aggregator. 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 unprocessedResourceIdentifiers list. <note> <ul> <li> <p>The API does not return results for deleted resources.</p> </li> <li> <p> The API does not return tags and relationships.</p> </li> </ul> </note>

func (*Client) BatchGetResourceConfig

func (c *Client) BatchGetResourceConfig(ctx context.Context, params *BatchGetResourceConfigInput, optFns ...func(*Options)) (*BatchGetResourceConfigOutput, error)

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.

  • The API does not return results for deleted

resources.

  • The API does not return any tags for the requested resources.

This information is filtered out of the supplementaryConfiguration section of the API response.

func (*Client) DeleteAggregationAuthorization

func (c *Client) DeleteAggregationAuthorization(ctx context.Context, params *DeleteAggregationAuthorizationInput, optFns ...func(*Options)) (*DeleteAggregationAuthorizationOutput, error)

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

func (*Client) DeleteConfigRule

func (c *Client) DeleteConfigRule(ctx context.Context, params *DeleteConfigRuleInput, optFns ...func(*Options)) (*DeleteConfigRuleOutput, error)

Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a 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.

func (*Client) DeleteConfigurationAggregator

func (c *Client) DeleteConfigurationAggregator(ctx context.Context, params *DeleteConfigurationAggregatorInput, optFns ...func(*Options)) (*DeleteConfigurationAggregatorOutput, error)

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

func (*Client) DeleteConfigurationRecorder

func (c *Client) DeleteConfigurationRecorder(ctx context.Context, params *DeleteConfigurationRecorderInput, optFns ...func(*Options)) (*DeleteConfigurationRecorderOutput, error)

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

func (*Client) DeleteConformancePack

func (c *Client) DeleteConformancePack(ctx context.Context, params *DeleteConformancePackInput, optFns ...func(*Options)) (*DeleteConformancePackOutput, error)

Deletes the specified conformance pack and all the AWS Config rules, remediation actions, and all evaluation results within that conformance pack. AWS Config sets the conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.

func (*Client) DeleteDeliveryChannel

func (c *Client) DeleteDeliveryChannel(ctx context.Context, params *DeleteDeliveryChannelInput, optFns ...func(*Options)) (*DeleteDeliveryChannelOutput, error)

Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder () action.

func (*Client) DeleteEvaluationResults

func (c *Client) DeleteEvaluationResults(ctx context.Context, params *DeleteEvaluationResultsInput, optFns ...func(*Options)) (*DeleteEvaluationResultsOutput, error)

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 StartConfigRulesEvaluation () API to start evaluating your AWS resources against the rule.

func (*Client) DeleteOrganizationConfigRule

func (c *Client) DeleteOrganizationConfigRule(ctx context.Context, params *DeleteOrganizationConfigRuleInput, optFns ...func(*Options)) (*DeleteOrganizationConfigRuleOutput, error)

Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account and a delegated administrator account can delete an organization config rule. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.

func (*Client) DeleteOrganizationConformancePack

func (c *Client) DeleteOrganizationConformancePack(ctx context.Context, params *DeleteOrganizationConformancePackInput, optFns ...func(*Options)) (*DeleteOrganizationConformancePackOutput, error)

Deletes the specified organization conformance pack and all of the config rules and remediation actions from all member accounts in that organization. Only a master account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. AWS Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.

func (*Client) DeletePendingAggregationRequest

func (c *Client) DeletePendingAggregationRequest(ctx context.Context, params *DeletePendingAggregationRequestInput, optFns ...func(*Options)) (*DeletePendingAggregationRequestOutput, error)

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

func (*Client) DeleteRemediationConfiguration

func (c *Client) DeleteRemediationConfiguration(ctx context.Context, params *DeleteRemediationConfigurationInput, optFns ...func(*Options)) (*DeleteRemediationConfigurationOutput, error)

Deletes the remediation configuration.

func (*Client) DeleteRemediationExceptions

func (c *Client) DeleteRemediationExceptions(ctx context.Context, params *DeleteRemediationExceptionsInput, optFns ...func(*Options)) (*DeleteRemediationExceptionsOutput, error)

Deletes one or more remediation exceptions mentioned in the resource keys. AWS Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.

func (*Client) DeleteResourceConfig

func (c *Client) DeleteResourceConfig(ctx context.Context, params *DeleteResourceConfigInput, optFns ...func(*Options)) (*DeleteResourceConfigOutput, error)

Records the configuration state for a custom resource that has been deleted. This API records a new ConfigurationItem with a ResourceDeleted status. You can retrieve the ConfigurationItems recorded for this resource in your AWS Config History.

func (*Client) DeleteRetentionConfiguration

func (c *Client) DeleteRetentionConfiguration(ctx context.Context, params *DeleteRetentionConfigurationInput, optFns ...func(*Options)) (*DeleteRetentionConfigurationOutput, error)

Deletes the retention configuration.

func (*Client) DeliverConfigSnapshot

func (c *Client) DeliverConfigSnapshot(ctx context.Context, params *DeliverConfigSnapshotInput, optFns ...func(*Options)) (*DeliverConfigSnapshotOutput, error)

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.

* Notification of the start of the delivery.

  • Notification of the

completion of the delivery, if the delivery was successfully completed.

*

Notification of delivery failure, if the delivery failed.

func (*Client) DescribeAggregateComplianceByConfigRules

func (c *Client) DescribeAggregateComplianceByConfigRules(ctx context.Context, params *DescribeAggregateComplianceByConfigRulesInput, optFns ...func(*Options)) (*DescribeAggregateComplianceByConfigRulesOutput, error)

Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.

func (*Client) DescribeAggregationAuthorizations

func (c *Client) DescribeAggregationAuthorizations(ctx context.Context, params *DescribeAggregationAuthorizationsInput, optFns ...func(*Options)) (*DescribeAggregationAuthorizationsOutput, error)

Returns a list of authorizations granted to various aggregator accounts and regions.

func (*Client) DescribeComplianceByConfigRule

func (c *Client) DescribeComplianceByConfigRule(ctx context.Context, params *DescribeComplianceByConfigRuleInput, optFns ...func(*Options)) (*DescribeComplianceByConfigRuleOutput, error)

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 INSUFFICIENT_DATA. This result might indicate one of the following conditions:

  • AWS Config

has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime.

  • 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 config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission.

*

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

func (*Client) DescribeComplianceByResource

func (c *Client) DescribeComplianceByResource(ctx context.Context, params *DescribeComplianceByResourceInput, optFns ...func(*Options)) (*DescribeComplianceByResourceOutput, error)

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 INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource:

*

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

  • 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 config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission.

*

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

func (*Client) DescribeConfigRuleEvaluationStatus

func (c *Client) DescribeConfigRuleEvaluationStatus(ctx context.Context, params *DescribeConfigRuleEvaluationStatusInput, optFns ...func(*Options)) (*DescribeConfigRuleEvaluationStatusOutput, error)

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 failure.

func (*Client) DescribeConfigRules

func (c *Client) DescribeConfigRules(ctx context.Context, params *DescribeConfigRulesInput, optFns ...func(*Options)) (*DescribeConfigRulesOutput, error)

Returns details about your AWS Config rules.

func (*Client) DescribeConfigurationAggregatorSourcesStatus

func (c *Client) DescribeConfigurationAggregatorSourcesStatus(ctx context.Context, params *DescribeConfigurationAggregatorSourcesStatusInput, optFns ...func(*Options)) (*DescribeConfigurationAggregatorSourcesStatusOutput, error)

Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message.

func (*Client) DescribeConfigurationAggregators

func (c *Client) DescribeConfigurationAggregators(ctx context.Context, params *DescribeConfigurationAggregatorsInput, optFns ...func(*Options)) (*DescribeConfigurationAggregatorsOutput, error)

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.

func (*Client) DescribeConfigurationRecorderStatus

func (c *Client) DescribeConfigurationRecorderStatus(ctx context.Context, params *DescribeConfigurationRecorderStatusInput, optFns ...func(*Options)) (*DescribeConfigurationRecorderStatusOutput, error)

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. Currently, you can specify only one configuration recorder per region in your account.

func (*Client) DescribeConfigurationRecorders

func (c *Client) DescribeConfigurationRecorders(ctx context.Context, params *DescribeConfigurationRecordersInput, optFns ...func(*Options)) (*DescribeConfigurationRecordersOutput, error)

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. Currently, you can specify only one configuration recorder per region in your account.

func (*Client) DescribeConformancePackCompliance

func (c *Client) DescribeConformancePackCompliance(ctx context.Context, params *DescribeConformancePackComplianceInput, optFns ...func(*Options)) (*DescribeConformancePackComplianceOutput, error)

Returns compliance details for each rule in that conformance pack. You must provide exact rule names.

func (*Client) DescribeConformancePackStatus

func (c *Client) DescribeConformancePackStatus(ctx context.Context, params *DescribeConformancePackStatusInput, optFns ...func(*Options)) (*DescribeConformancePackStatusOutput, error)

Provides one or more conformance packs deployment status. If there are no conformance packs then you will see an empty result.

func (*Client) DescribeConformancePacks

func (c *Client) DescribeConformancePacks(ctx context.Context, params *DescribeConformancePacksInput, optFns ...func(*Options)) (*DescribeConformancePacksOutput, error)

Returns a list of one or more conformance packs.

func (*Client) DescribeDeliveryChannelStatus

func (c *Client) DescribeDeliveryChannelStatus(ctx context.Context, params *DescribeDeliveryChannelStatusInput, optFns ...func(*Options)) (*DescribeDeliveryChannelStatusOutput, error)

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.

func (*Client) DescribeDeliveryChannels

func (c *Client) DescribeDeliveryChannels(ctx context.Context, params *DescribeDeliveryChannelsInput, optFns ...func(*Options)) (*DescribeDeliveryChannelsOutput, error)

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. Currently, you can specify only one delivery channel per region in your account.

func (*Client) DescribeOrganizationConfigRuleStatuses

func (c *Client) DescribeOrganizationConfigRuleStatuses(ctx context.Context, params *DescribeOrganizationConfigRuleStatusesInput, optFns ...func(*Options)) (*DescribeOrganizationConfigRuleStatusesOutput, error)

Provides organization config rule deployment status for an organization. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.

func (*Client) DescribeOrganizationConfigRules

func (c *Client) DescribeOrganizationConfigRules(ctx context.Context, params *DescribeOrganizationConfigRulesInput, optFns ...func(*Options)) (*DescribeOrganizationConfigRulesOutput, error)

Returns a list of organization config rules. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added.
 When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.

func (*Client) DescribeOrganizationConformancePackStatuses

func (c *Client) DescribeOrganizationConformancePackStatuses(ctx context.Context, params *DescribeOrganizationConformancePackStatusesInput, optFns ...func(*Options)) (*DescribeOrganizationConformancePackStatusesOutput, error)

Provides organization conformance pack deployment status for an organization. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. The status is not considered successful until organization conformance pack is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization conformance pack names. They are only applicable, when you request all the organization conformance packs.

func (*Client) DescribeOrganizationConformancePacks

func (c *Client) DescribeOrganizationConformancePacks(ctx context.Context, params *DescribeOrganizationConformancePacksInput, optFns ...func(*Options)) (*DescribeOrganizationConformancePacksOutput, error)

Returns a list of organization conformance packs. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable, when you request all the organization conformance packs.

func (*Client) DescribePendingAggregationRequests

func (c *Client) DescribePendingAggregationRequests(ctx context.Context, params *DescribePendingAggregationRequestsInput, optFns ...func(*Options)) (*DescribePendingAggregationRequestsOutput, error)

Returns a list of all pending aggregation requests.

func (*Client) DescribeRemediationConfigurations

func (c *Client) DescribeRemediationConfigurations(ctx context.Context, params *DescribeRemediationConfigurationsInput, optFns ...func(*Options)) (*DescribeRemediationConfigurationsOutput, error)

Returns the details of one or more remediation configurations.

func (*Client) DescribeRemediationExceptions

func (c *Client) DescribeRemediationExceptions(ctx context.Context, params *DescribeRemediationExceptionsInput, optFns ...func(*Options)) (*DescribeRemediationExceptionsOutput, error)

Returns the details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response. AWS Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.

func (*Client) DescribeRemediationExecutionStatus

func (c *Client) DescribeRemediationExecutionStatus(ctx context.Context, params *DescribeRemediationExecutionStatusInput, optFns ...func(*Options)) (*DescribeRemediationExecutionStatusOutput, error)

Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.

func (*Client) DescribeRetentionConfigurations

func (c *Client) DescribeRetentionConfigurations(ctx context.Context, params *DescribeRetentionConfigurationsInput, optFns ...func(*Options)) (*DescribeRetentionConfigurationsOutput, error)

Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.

func (*Client) GetAggregateComplianceDetailsByConfigRule

func (c *Client) GetAggregateComplianceDetailsByConfigRule(ctx context.Context, params *GetAggregateComplianceDetailsByConfigRuleInput, optFns ...func(*Options)) (*GetAggregateComplianceDetailsByConfigRuleOutput, error)

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. The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.

func (*Client) GetAggregateConfigRuleComplianceSummary

func (c *Client) GetAggregateConfigRuleComplianceSummary(ctx context.Context, params *GetAggregateConfigRuleComplianceSummaryInput, optFns ...func(*Options)) (*GetAggregateConfigRuleComplianceSummaryOutput, error)

Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.

func (*Client) GetAggregateDiscoveredResourceCounts

func (c *Client) GetAggregateDiscoveredResourceCounts(ctx context.Context, params *GetAggregateDiscoveredResourceCountsInput, optFns ...func(*Options)) (*GetAggregateDiscoveredResourceCountsOutput, error)

Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey. For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.

func (*Client) GetAggregateResourceConfig

func (c *Client) GetAggregateResourceConfig(ctx context.Context, params *GetAggregateResourceConfigInput, optFns ...func(*Options)) (*GetAggregateResourceConfigOutput, error)

Returns configuration item that is aggregated for your specific resource in a specific source account and region.

func (*Client) GetComplianceDetailsByConfigRule

func (c *Client) GetComplianceDetailsByConfigRule(ctx context.Context, params *GetComplianceDetailsByConfigRuleInput, optFns ...func(*Options)) (*GetComplianceDetailsByConfigRuleOutput, error)

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 rule.

func (*Client) GetComplianceDetailsByResource

func (c *Client) GetComplianceDetailsByResource(ctx context.Context, params *GetComplianceDetailsByResourceInput, optFns ...func(*Options)) (*GetComplianceDetailsByResourceOutput, error)

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 rule.

func (*Client) GetComplianceSummaryByConfigRule

func (c *Client) GetComplianceSummaryByConfigRule(ctx context.Context, params *GetComplianceSummaryByConfigRuleInput, optFns ...func(*Options)) (*GetComplianceSummaryByConfigRuleOutput, error)

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

func (*Client) GetComplianceSummaryByResourceType

func (c *Client) GetComplianceSummaryByResourceType(ctx context.Context, params *GetComplianceSummaryByResourceTypeInput, optFns ...func(*Options)) (*GetComplianceSummaryByResourceTypeOutput, error)

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 100.

func (*Client) GetConformancePackComplianceDetails

func (c *Client) GetConformancePackComplianceDetails(ctx context.Context, params *GetConformancePackComplianceDetailsInput, optFns ...func(*Options)) (*GetConformancePackComplianceDetailsOutput, error)

Returns compliance details of a conformance pack for all AWS resources that are monitered by conformance pack.

func (*Client) GetConformancePackComplianceSummary

func (c *Client) GetConformancePackComplianceSummary(ctx context.Context, params *GetConformancePackComplianceSummaryInput, optFns ...func(*Options)) (*GetConformancePackComplianceSummaryOutput, error)

Returns compliance details for the conformance pack based on the cumulative compliance results of all the rules in that conformance pack.

func (*Client) GetDiscoveredResourceCounts

func (c *Client) GetDiscoveredResourceCounts(ctx context.Context, params *GetDiscoveredResourceCountsInput, optFns ...func(*Options)) (*GetDiscoveredResourceCountsOutput, error)

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. Example

  • 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.

  • You make a call to the GetDiscoveredResourceCounts action and

specify that you want all resource types.

  • AWS Config returns the

following: <ul> <li> <p>The resource types (EC2 instances, IAM users, and S3 buckets).</p> </li> <li> <p>The number of each resource type (25, 20, and 15).</p> </li> <li> <p>The total number of all resources (60).</p> </li> </ul> </li> </ol> <p>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.</p> <note> <p>If you make a call to the <a>GetDiscoveredResourceCounts</a> action, you might not immediately receive resource counts in the following situations:</p> <ul> <li> <p>You are a new AWS Config customer.</p> </li> <li> <p>You just enabled resource recording.</p> </li> </ul> <p>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. </p> </note>

func (*Client) GetOrganizationConfigRuleDetailedStatus

func (c *Client) GetOrganizationConfigRuleDetailedStatus(ctx context.Context, params *GetOrganizationConfigRuleDetailedStatusInput, optFns ...func(*Options)) (*GetOrganizationConfigRuleDetailedStatusOutput, error)

Returns detailed status for each member account within an organization for a given organization config rule. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added.

func (*Client) GetOrganizationConformancePackDetailedStatus

func (c *Client) GetOrganizationConformancePackDetailedStatus(ctx context.Context, params *GetOrganizationConformancePackDetailedStatusInput, optFns ...func(*Options)) (*GetOrganizationConformancePackDetailedStatusOutput, error)

Returns detailed status for each member account within an organization for a given organization conformance pack. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added.

func (*Client) GetResourceConfigHistory

func (c *Client) GetResourceConfigHistory(ctx context.Context, params *GetResourceConfigHistoryInput, optFns ...func(*Options)) (*GetResourceConfigHistoryOutput, error)

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. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. 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 limit. In such cases, you can make another call, using the nextToken.

func (*Client) ListAggregateDiscoveredResources

func (c *Client) ListAggregateDiscoveredResources(ctx context.Context, params *ListAggregateDiscoveredResourcesInput, optFns ...func(*Options)) (*ListAggregateDiscoveredResourcesOutput, error)

Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region. For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.

func (*Client) ListDiscoveredResources

func (c *Client) ListDiscoveredResources(ctx context.Context, params *ListDiscoveredResourcesInput, optFns ...func(*Options)) (*ListDiscoveredResourcesOutput, error)

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. You can specify either resource IDs or a resource name, but not both, in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

List the tags for AWS Config resource.

func (*Client) PutAggregationAuthorization

func (c *Client) PutAggregationAuthorization(ctx context.Context, params *PutAggregationAuthorizationInput, optFns ...func(*Options)) (*PutAggregationAuthorizationOutput, error)

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

func (*Client) PutConfigRule

func (c *Client) PutConfigRule(ctx context.Context, params *PutConfigRuleInput, optFns ...func(*Options)) (*PutConfigRuleOutput, error)

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 PutConfigRule 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 SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html). For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. 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 ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 150. <p>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>.</p> <p>For more information about developing and using AWS Config rules, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating AWS Resource Configurations with AWS Config</a> in the <i>AWS Config Developer Guide</i>.</p>

func (*Client) PutConfigurationAggregator

func (c *Client) PutConfigurationAggregator(ctx context.Context, params *PutConfigurationAggregatorInput, optFns ...func(*Options)) (*PutConfigurationAggregatorOutput, error)

Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization. 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 EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.

func (*Client) PutConfigurationRecorder

func (c *Client) PutConfigurationRecorder(ctx context.Context, params *PutConfigurationRecorderInput, optFns ...func(*Options)) (*PutConfigurationRecorderOutput, error)

Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.

func (*Client) PutConformancePack

func (c *Client) PutConformancePack(ctx context.Context, params *PutConformancePackInput, optFns ...func(*Options)) (*PutConformancePackOutput, error)

Creates or updates a conformance pack. A conformance pack is a collection of AWS Config rules that can be easily deployed in an account and a region and across AWS Organization. This API creates a service linked role AWSServiceRoleForConfigConforms in your account. The service linked role is created only when the role does not exist in your account. You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both AWS Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter.

func (*Client) PutDeliveryChannel

func (c *Client) PutDeliveryChannel(ctx context.Context, params *PutDeliveryChannelInput, optFns ...func(*Options)) (*PutDeliveryChannelOutput, error)

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. You can have only one delivery channel per region in your account. </note>

func (*Client) PutEvaluations

func (c *Client) PutEvaluations(ctx context.Context, params *PutEvaluationsInput, optFns ...func(*Options)) (*PutEvaluationsOutput, error)

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 rule.

func (*Client) PutOrganizationConfigRule

func (c *Client) PutOrganizationConfigRule(ctx context.Context, params *PutOrganizationConfigRuleInput, optFns ...func(*Options)) (*PutOrganizationConfigRuleOutput, error)

Adds or updates organization config rule for your entire organization evaluating whether your AWS resources comply with your desired configurations. Only a master account and a delegated administrator can create or update an organization config rule. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. AWS Config verifies the existence of role with GetRole action. To use this API with delegated administrator, register a delegated administrator by calling AWS Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com. You can use this action to create both custom AWS Config rules and AWS managed Config rules. If you are adding a new custom AWS Config rule, you must first create AWS Lambda function in the master account or a delegated administrator that the rule invokes to evaluate your resources. When you use the PutOrganizationConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. If you are adding an AWS managed Config rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that AWS Config supports is 150 and 3 delegated administrator per organization. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.

func (*Client) PutOrganizationConformancePack

func (c *Client) PutOrganizationConformancePack(ctx context.Context, params *PutOrganizationConformancePackInput, optFns ...func(*Options)) (*PutOrganizationConformancePackOutput, error)

Deploys conformance packs across member accounts in an AWS Organization. Only a master account and a delegated administrator can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. To use this API with delegated administrator, register a delegated administrator by calling AWS Organization register-delegate-admin for config-multiaccountsetup.amazonaws.com. <note> <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p> <p>You must specify either the <code>TemplateS3Uri</code> or the <code>TemplateBody</code> parameter, but not both. If you provide both AWS Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p> <p>AWS Config sets the state of a conformance pack to CREATE_IN_PROGRESS and UPDATE_IN_PROGRESS until the conformance pack is created or updated. You cannot update a conformance pack while it is in this state.</p> <p>You can create 6 conformance packs with 25 AWS Config rules in each pack and 3 delegated administrator per organization. </p> </note>

func (*Client) PutRemediationConfigurations

func (c *Client) PutRemediationConfigurations(ctx context.Context, params *PutRemediationConfigurationsInput, optFns ...func(*Options)) (*PutRemediationConfigurationsOutput, error)

Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the RemediationConfiguration object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target. If you make backward incompatible changes to the SSM document, you must call this again to ensure the remediations can run.

func (*Client) PutRemediationExceptions

func (c *Client) PutRemediationExceptions(ctx context.Context, params *PutRemediationExceptionsInput, optFns ...func(*Options)) (*PutRemediationExceptionsOutput, error)

A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an exisiting exception for a specific resource with a specific AWS Config rule. AWS Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.

func (*Client) PutResourceConfig

func (c *Client) PutResourceConfig(ctx context.Context, params *PutResourceConfigInput, optFns ...func(*Options)) (*PutResourceConfigOutput, error)

Records the configuration state for the resource provided in the request. The configuration state of a resource is represented in AWS Config as Configuration Items. Once this API records the configuration item, you can retrieve the list of configuration items for the custom resource type using existing AWS Config APIs. </p> <note> <p>The custom resource type must be registered with AWS CloudFormation. This API accepts the configuration item registered with AWS CloudFormation.</p> <p>When you call this API, AWS Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource. </p> <p>Write-only schema properites are not recorded as part of the published configuration item.</p> </note>

func (*Client) PutRetentionConfiguration

func (c *Client) PutRetentionConfiguration(ctx context.Context, params *PutRetentionConfigurationInput, optFns ...func(*Options)) (*PutRetentionConfigurationOutput, error)

Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object. Currently, AWS Config supports only one retention configuration per region in your account.

func (*Client) SelectAggregateResourceConfig

func (c *Client) SelectAggregateResourceConfig(ctx context.Context, params *SelectAggregateResourceConfigInput, optFns ...func(*Options)) (*SelectAggregateResourceConfigOutput, error)

Accepts a structured query language (SQL) SELECT command and an aggregator to query configuration state of AWS resources across multiple accounts and regions, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components (https://docs.aws.amazon.com/config/latest/developerguide/query-components.html) section in the AWS Config Developer Guide.

func (*Client) SelectResourceConfig

func (c *Client) SelectResourceConfig(ctx context.Context, params *SelectResourceConfigInput, optFns ...func(*Options)) (*SelectResourceConfigOutput, error)

Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components (https://docs.aws.amazon.com/config/latest/developerguide/query-components.html) section in the AWS Config Developer Guide.

func (*Client) StartConfigRulesEvaluation

func (c *Client) StartConfigRulesEvaluation(ctx context.Context, params *StartConfigRulesEvaluationInput, optFns ...func(*Options)) (*StartConfigRulesEvaluationOutput, error)

Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. 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.</p> <note> <p>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> <p>The <code>StartConfigRulesEvaluation</code> API is useful if you want to run on-demand evaluations, such as the following example:</p> <ol> <li> <p>You have a custom rule that evaluates your IAM resources every 24 hours.</p> </li> <li> <p>You update your Lambda function to add additional conditions to your rule.</p> </li> <li> <p>Instead of waiting for the next periodic evaluation, you call the <code>StartConfigRulesEvaluation</code> API.</p> </li> <li> <p>AWS Config invokes your Lambda function and evaluates your IAM resources.</p> </li> <li> <p>Your custom rule will still run periodic evaluations every 24 hours.</p> </li> </ol>

func (*Client) StartConfigurationRecorder

func (c *Client) StartConfigurationRecorder(ctx context.Context, params *StartConfigurationRecorderInput, optFns ...func(*Options)) (*StartConfigurationRecorderOutput, error)

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 recorder.

func (*Client) StartRemediationExecution

func (c *Client) StartRemediationExecution(ctx context.Context, params *StartRemediationExecutionInput, optFns ...func(*Options)) (*StartRemediationExecutionOutput, error)

Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous. You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.

func (*Client) StopConfigurationRecorder

func (c *Client) StopConfigurationRecorder(ctx context.Context, params *StopConfigurationRecorderInput, optFns ...func(*Options)) (*StopConfigurationRecorderOutput, error)

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

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

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. When a resource is deleted, the tags associated with that resource are deleted as well.

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

Deletes specified tags from a resource.

type DeleteAggregationAuthorizationInput

type DeleteAggregationAuthorizationInput struct {
	// The region authorized to collect aggregated data.
	AuthorizedAwsRegion *string
	// The 12-digit account ID of the account authorized to aggregate data.
	AuthorizedAccountId *string
}

type DeleteAggregationAuthorizationOutput

type DeleteAggregationAuthorizationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteConfigRuleInput

type DeleteConfigRuleInput struct {
	// The name of the AWS Config rule that you want to delete.
	ConfigRuleName *string
}

type DeleteConfigRuleOutput

type DeleteConfigRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteConfigurationAggregatorInput

type DeleteConfigurationAggregatorInput struct {
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
}

type DeleteConfigurationAggregatorOutput

type DeleteConfigurationAggregatorOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteConfigurationRecorderInput

type DeleteConfigurationRecorderInput struct {
	// The name of the configuration recorder to be deleted. You can retrieve the name
	// of your configuration recorder by using the DescribeConfigurationRecorders
	// action.
	ConfigurationRecorderName *string
}

The request object for the DeleteConfigurationRecorder action.

type DeleteConfigurationRecorderOutput

type DeleteConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteConformancePackInput

type DeleteConformancePackInput struct {
	// Name of the conformance pack you want to delete.
	ConformancePackName *string
}

type DeleteConformancePackOutput

type DeleteConformancePackOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteDeliveryChannelInput

type DeleteDeliveryChannelInput struct {
	// The name of the delivery channel to delete.
	DeliveryChannelName *string
}

The input for the DeleteDeliveryChannel () action. The action accepts the following data, in JSON format.

type DeleteDeliveryChannelOutput

type DeleteDeliveryChannelOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteEvaluationResultsInput

type DeleteEvaluationResultsInput struct {
	// The name of the AWS Config rule for which you want to delete the evaluation
	// results.
	ConfigRuleName *string
}

type DeleteEvaluationResultsOutput

type DeleteEvaluationResultsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output when you delete the evaluation results for the specified AWS Config rule.

type DeleteOrganizationConfigRuleInput

type DeleteOrganizationConfigRuleInput struct {
	// The name of organization config rule that you want to delete.
	OrganizationConfigRuleName *string
}

type DeleteOrganizationConfigRuleOutput

type DeleteOrganizationConfigRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteOrganizationConformancePackInput

type DeleteOrganizationConformancePackInput struct {
	// The name of organization conformance pack that you want to delete.
	OrganizationConformancePackName *string
}

type DeleteOrganizationConformancePackOutput

type DeleteOrganizationConformancePackOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeletePendingAggregationRequestInput

type DeletePendingAggregationRequestInput struct {
	// The 12-digit account ID of the account requesting to aggregate data.
	RequesterAccountId *string
	// The region requesting to aggregate data.
	RequesterAwsRegion *string
}

type DeletePendingAggregationRequestOutput

type DeletePendingAggregationRequestOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteRemediationConfigurationInput

type DeleteRemediationConfigurationInput struct {
	// The type of a resource.
	ResourceType *string
	// The name of the AWS Config rule for which you want to delete remediation
	// configuration.
	ConfigRuleName *string
}

type DeleteRemediationConfigurationOutput

type DeleteRemediationConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteRemediationExceptionsInput

type DeleteRemediationExceptionsInput struct {
	// An exception list of resource exception keys to be processed with the current
	// request. AWS Config adds exception for each resource key. For example, AWS
	// Config adds 3 exceptions for 3 resource keys.
	ResourceKeys []*types.RemediationExceptionResourceKey
	// The name of the AWS Config rule for which you want to delete remediation
	// exception configuration.
	ConfigRuleName *string
}

type DeleteRemediationExceptionsOutput

type DeleteRemediationExceptionsOutput struct {
	// Returns a list of failed delete remediation exceptions batch objects. Each
	// object in the batch consists of a list of failed items and failure messages.
	FailedBatches []*types.FailedDeleteRemediationExceptionsBatch

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteResourceConfigInput

type DeleteResourceConfigInput struct {
	// The type of the resource.
	ResourceType *string
	// Unique identifier of the resource.
	ResourceId *string
}

type DeleteResourceConfigOutput

type DeleteResourceConfigOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteRetentionConfigurationInput

type DeleteRetentionConfigurationInput struct {
	// The name of the retention configuration to delete.
	RetentionConfigurationName *string
}

type DeleteRetentionConfigurationOutput

type DeleteRetentionConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeliverConfigSnapshotInput

type DeliverConfigSnapshotInput struct {
	// The name of the delivery channel through which the snapshot is delivered.
	DeliveryChannelName *string
}

The input for the DeliverConfigSnapshot () action.

type DeliverConfigSnapshotOutput

type DeliverConfigSnapshotOutput struct {
	// The ID of the snapshot that is being created.
	ConfigSnapshotId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output for the DeliverConfigSnapshot () action, in JSON format.

type DescribeAggregateComplianceByConfigRulesInput

type DescribeAggregateComplianceByConfigRulesInput struct {
	// Filters the results by ConfigRuleComplianceFilters object.
	Filters *types.ConfigRuleComplianceFilters
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// The maximum number of evaluation results returned on each page. The default is
	// maximum. If you specify 0, AWS Config uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type DescribeAggregateComplianceByConfigRulesOutput

type DescribeAggregateComplianceByConfigRulesOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Returns a list of AggregateComplianceByConfigRule object.
	AggregateComplianceByConfigRules []*types.AggregateComplianceByConfigRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeAggregationAuthorizationsInput

type DescribeAggregationAuthorizationsInput struct {
	// The maximum number of AggregationAuthorizations returned on each page. The
	// default is maximum. If you specify 0, AWS Config uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type DescribeAggregationAuthorizationsOutput

type DescribeAggregationAuthorizationsOutput struct {
	// Returns a list of authorizations granted to various aggregator accounts and
	// regions.
	AggregationAuthorizations []*types.AggregationAuthorization
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeComplianceByConfigRuleInput

type DescribeComplianceByConfigRuleInput struct {
	// Filters the results by compliance. The allowed values are COMPLIANT and
	// NON_COMPLIANT.
	ComplianceTypes []types.ComplianceType
	// Specify one or more AWS Config rule names to filter the results by rule.
	ConfigRuleNames []*string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type DescribeComplianceByConfigRuleOutput

type DescribeComplianceByConfigRuleOutput struct {
	// Indicates whether each of the specified AWS Config rules is compliant.
	ComplianceByConfigRules []*types.ComplianceByConfigRule
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeComplianceByResourceInput

type DescribeComplianceByResourceInput struct {
	// Filters the results by compliance. The allowed values are COMPLIANT,
	// NON_COMPLIANT, and INSUFFICIENT_DATA.
	ComplianceTypes []types.ComplianceType
	// The ID of the AWS resource for which you want compliance information. You can
	// specify only one resource ID. If you specify a resource ID, you must also
	// specify a type for ResourceType.
	ResourceId *string
	// The maximum number of evaluation results returned on each page. The default is
	// 10. You cannot specify a number greater than 100. If you specify 0, AWS Config
	// uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The types of AWS resources for which you want compliance information (for
	// example, AWS::EC2::Instance). For this action, you can specify that the resource
	// type is an AWS account by specifying AWS::::Account.
	ResourceType *string
}

type DescribeComplianceByResourceOutput

type DescribeComplianceByResourceOutput struct {
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string
	// Indicates whether the specified AWS resource complies with all of the AWS Config
	// rules that evaluate it.
	ComplianceByResources []*types.ComplianceByResource

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConfigRuleEvaluationStatusInput

type DescribeConfigRuleEvaluationStatusInput struct {
	// The number of rule evaluation results that you want returned.  <p>This parameter
	// is required if the rule limit for your account is more than the default of 150
	// rules.</p> <p>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>.</p>
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The name of the AWS managed Config rules for which you want status information.
	// If you do not specify any names, AWS Config returns status information for all
	// AWS managed Config rules that you use.
	ConfigRuleNames []*string
}

type DescribeConfigRuleEvaluationStatusOutput

type DescribeConfigRuleEvaluationStatusOutput struct {
	// Status information about your AWS managed Config rules.
	ConfigRulesEvaluationStatus []*types.ConfigRuleEvaluationStatus
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConfigRulesInput

type DescribeConfigRulesInput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The names of the AWS Config rules for which you want details. If you do not
	// specify any names, AWS Config returns details for all your rules.
	ConfigRuleNames []*string
}

type DescribeConfigRulesOutput

type DescribeConfigRulesOutput struct {
	// The details about your AWS Config rules.
	ConfigRules []*types.ConfigRule
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConfigurationAggregatorSourcesStatusInput

type DescribeConfigurationAggregatorSourcesStatusInput struct {
	// Filters the status type.
	//
	//     * Valid value FAILED indicates errors while moving
	// data.
	//
	//     * Valid value SUCCEEDED indicates the data was successfully moved.
	//
	//
	// * Valid value OUTDATED indicates the data is not the most recent.
	UpdateStatus []types.AggregatedSourceStatusType
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// The maximum number of AggregatorSourceStatus returned on each page. The default
	// is maximum. If you specify 0, AWS Config uses the default.
	Limit *int32
}

type DescribeConfigurationAggregatorSourcesStatusOutput

type DescribeConfigurationAggregatorSourcesStatusOutput struct {
	// Returns an AggregatedSourceStatus object.
	AggregatedSourceStatusList []*types.AggregatedSourceStatus
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConfigurationAggregatorsInput

type DescribeConfigurationAggregatorsInput struct {
	// The name of the configuration aggregators.
	ConfigurationAggregatorNames []*string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of configuration aggregators returned on each page. The
	// default is maximum. If you specify 0, AWS Config uses the default.
	Limit *int32
}

type DescribeConfigurationAggregatorsOutput

type DescribeConfigurationAggregatorsOutput struct {
	// Returns a ConfigurationAggregators object.
	ConfigurationAggregators []*types.ConfigurationAggregator
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConfigurationRecorderStatusInput

type DescribeConfigurationRecorderStatusInput struct {
	// 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.
	ConfigurationRecorderNames []*string
}

The input for the DescribeConfigurationRecorderStatus () action.

type DescribeConfigurationRecorderStatusOutput

type DescribeConfigurationRecorderStatusOutput struct {
	// A list that contains status of the specified recorders.
	ConfigurationRecordersStatus []*types.ConfigurationRecorderStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output for the DescribeConfigurationRecorderStatus () action, in JSON format.

type DescribeConfigurationRecordersInput

type DescribeConfigurationRecordersInput struct {
	// A list of configuration recorder names.
	ConfigurationRecorderNames []*string
}

The input for the DescribeConfigurationRecorders () action.

type DescribeConfigurationRecordersOutput

type DescribeConfigurationRecordersOutput struct {
	// A list that contains the descriptions of the specified configuration recorders.
	ConfigurationRecorders []*types.ConfigurationRecorder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output for the DescribeConfigurationRecorders () action.

type DescribeConformancePackComplianceInput

type DescribeConformancePackComplianceInput struct {
	// A ConformancePackComplianceFilters object.
	Filters *types.ConformancePackComplianceFilters
	// Name of the conformance pack.
	ConformancePackName *string
	// The maximum number of AWS Config rules within a conformance pack are returned on
	// each page.
	Limit *int32
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
}

type DescribeConformancePackComplianceOutput

type DescribeConformancePackComplianceOutput struct {
	// Returns a list of ConformancePackRuleCompliance objects.
	ConformancePackRuleComplianceList []*types.ConformancePackRuleCompliance
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// Name of the conformance pack.
	ConformancePackName *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConformancePackStatusInput

type DescribeConformancePackStatusInput struct {
	// The maximum number of conformance packs status returned on each page.
	Limit *int32
	// Comma-separated list of conformance pack names.
	ConformancePackNames []*string
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
}

type DescribeConformancePackStatusOutput

type DescribeConformancePackStatusOutput struct {
	// A list of ConformancePackStatusDetail objects.
	ConformancePackStatusDetails []*types.ConformancePackStatusDetail
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeConformancePacksInput

type DescribeConformancePacksInput struct {
	// Comma-separated list of conformance pack names for which you want details. If
	// you do not specify any names, AWS Config returns details for all your
	// conformance packs.
	ConformancePackNames []*string
	// The maximum number of conformance packs returned on each page.
	Limit *int32
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
}

type DescribeConformancePacksOutput

type DescribeConformancePacksOutput struct {
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// Returns a list of ConformancePackDetail objects.
	ConformancePackDetails []*types.ConformancePackDetail

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeDeliveryChannelStatusInput

type DescribeDeliveryChannelStatusInput struct {
	// A list of delivery channel names.
	DeliveryChannelNames []*string
}

The input for the DeliveryChannelStatus () action.

type DescribeDeliveryChannelStatusOutput

type DescribeDeliveryChannelStatusOutput struct {
	// A list that contains the status of a specified delivery channel.
	DeliveryChannelsStatus []*types.DeliveryChannelStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output for the DescribeDeliveryChannelStatus () action.

type DescribeDeliveryChannelsInput

type DescribeDeliveryChannelsInput struct {
	// A list of delivery channel names.
	DeliveryChannelNames []*string
}

The input for the DescribeDeliveryChannels () action.

type DescribeDeliveryChannelsOutput

type DescribeDeliveryChannelsOutput struct {
	// A list that contains the descriptions of the specified delivery channel.
	DeliveryChannels []*types.DeliveryChannel

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output for the DescribeDeliveryChannels () action.

type DescribeOrganizationConfigRuleStatusesInput

type DescribeOrganizationConfigRuleStatusesInput struct {
	// The names of organization config rules for which you want status details. If you
	// do not specify any names, AWS Config returns details for all your organization
	// AWS Confg rules.
	OrganizationConfigRuleNames []*string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of OrganizationConfigRuleStatuses returned on each page. If
	// you do no specify a number, AWS Config uses the default. The default is 100.
	Limit *int32
}

type DescribeOrganizationConfigRuleStatusesOutput

type DescribeOrganizationConfigRuleStatusesOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// A list of OrganizationConfigRuleStatus objects.
	OrganizationConfigRuleStatuses []*types.OrganizationConfigRuleStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeOrganizationConfigRulesInput

type DescribeOrganizationConfigRulesInput struct {
	// The names of organization config rules for which you want details. If you do not
	// specify any names, AWS Config returns details for all your organization config
	// rules.
	OrganizationConfigRuleNames []*string
	// The maximum number of organization config rules returned on each page. If you do
	// no specify a number, AWS Config uses the default. The default is 100.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type DescribeOrganizationConfigRulesOutput

type DescribeOrganizationConfigRulesOutput struct {
	// Returns a list of OrganizationConfigRule objects.
	OrganizationConfigRules []*types.OrganizationConfigRule
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeOrganizationConformancePackStatusesInput

type DescribeOrganizationConformancePackStatusesInput struct {
	// The maximum number of OrganizationConformancePackStatuses returned on each page.
	// If you do no specify a number, AWS Config uses the default. The default is 100.
	Limit *int32
	// The names of organization conformance packs for which you want status details.
	// If you do not specify any names, AWS Config returns details for all your
	// organization conformance packs.
	OrganizationConformancePackNames []*string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type DescribeOrganizationConformancePackStatusesOutput

type DescribeOrganizationConformancePackStatusesOutput struct {
	// A list of OrganizationConformancePackStatus objects.
	OrganizationConformancePackStatuses []*types.OrganizationConformancePackStatus
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeOrganizationConformancePacksInput

type DescribeOrganizationConformancePacksInput struct {
	// The name that you assign to an organization conformance pack.
	OrganizationConformancePackNames []*string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of organization config packs returned on each page. If you do
	// no specify a number, AWS Config uses the default. The default is 100.
	Limit *int32
}

type DescribeOrganizationConformancePacksOutput

type DescribeOrganizationConformancePacksOutput struct {
	// Returns a list of OrganizationConformancePacks objects.
	OrganizationConformancePacks []*types.OrganizationConformancePack
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribePendingAggregationRequestsInput

type DescribePendingAggregationRequestsInput struct {
	// The maximum number of evaluation results returned on each page. The default is
	// maximum. If you specify 0, AWS Config uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type DescribePendingAggregationRequestsOutput

type DescribePendingAggregationRequestsOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Returns a PendingAggregationRequests object.
	PendingAggregationRequests []*types.PendingAggregationRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeRemediationConfigurationsInput

type DescribeRemediationConfigurationsInput struct {
	// A list of AWS Config rule names of remediation configurations for which you want
	// details.
	ConfigRuleNames []*string
}

type DescribeRemediationConfigurationsOutput

type DescribeRemediationConfigurationsOutput struct {
	// Returns a remediation configuration object.
	RemediationConfigurations []*types.RemediationConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeRemediationExceptionsInput

type DescribeRemediationExceptionsInput struct {
	// The maximum number of RemediationExceptionResourceKey returned on each page. The
	// default is 25. If you specify 0, AWS Config uses the default.
	Limit *int32
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// An exception list of resource exception keys to be processed with the current
	// request. AWS Config adds exception for each resource key. For example, AWS
	// Config adds 3 exceptions for 3 resource keys.
	ResourceKeys []*types.RemediationExceptionResourceKey
	// The name of the AWS Config rule.
	ConfigRuleName *string
}

type DescribeRemediationExceptionsOutput

type DescribeRemediationExceptionsOutput struct {
	// Returns a list of remediation exception objects.
	RemediationExceptions []*types.RemediationException
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeRemediationExecutionStatusInput

type DescribeRemediationExecutionStatusInput struct {
	// A list of resource keys to be processed with the current request. Each element
	// in the list consists of the resource type and resource ID.
	ResourceKeys []*types.ResourceKey
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of RemediationExecutionStatuses returned on each page. The
	// default is maximum. If you specify 0, AWS Config uses the default.
	Limit *int32
	// A list of AWS Config rule names.
	ConfigRuleName *string
}

type DescribeRemediationExecutionStatusOutput

type DescribeRemediationExecutionStatusOutput struct {
	// Returns a list of remediation execution statuses objects.
	RemediationExecutionStatuses []*types.RemediationExecutionStatus
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeRetentionConfigurationsInput

type DescribeRetentionConfigurationsInput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// A list of names of retention configurations for which you want details. If you
	// do not specify a name, AWS Config returns details for all the retention
	// configurations for that account. Currently, AWS Config supports only one
	// retention configuration per region in your account.
	RetentionConfigurationNames []*string
}

type DescribeRetentionConfigurationsOutput

type DescribeRetentionConfigurationsOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Returns a retention configuration object.
	RetentionConfigurations []*types.RetentionConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)

type GetAggregateComplianceDetailsByConfigRuleInput

type GetAggregateComplianceDetailsByConfigRuleInput struct {
	// The source region from where the data is aggregated.
	AwsRegion *string
	// The maximum number of evaluation results returned on each page. The default is
	// 50. You cannot specify a number greater than 100. If you specify 0, AWS Config
	// uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The name of the AWS Config rule for which you want compliance information.
	ConfigRuleName *string
	// The resource compliance status. For the
	// GetAggregateComplianceDetailsByConfigRuleRequest data type, AWS Config supports
	// only the COMPLIANT and NON_COMPLIANT. AWS Config does not support the
	// NOT_APPLICABLE and INSUFFICIENT_DATA values.
	ComplianceType types.ComplianceType
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// The 12-digit account ID of the source account.
	AccountId *string
}

type GetAggregateComplianceDetailsByConfigRuleOutput

type GetAggregateComplianceDetailsByConfigRuleOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Returns an AggregateEvaluationResults object.
	AggregateEvaluationResults []*types.AggregateEvaluationResult

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetAggregateConfigRuleComplianceSummaryInput

type GetAggregateConfigRuleComplianceSummaryInput struct {
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// Groups the result based on ACCOUNT_ID or AWS_REGION.
	GroupByKey types.ConfigRuleComplianceSummaryGroupKey
	// Filters the results based on the ConfigRuleComplianceSummaryFilters object.
	Filters *types.ConfigRuleComplianceSummaryFilters
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of evaluation results returned on each page. The default is
	// 1000. You cannot specify a number greater than 1000. If you specify 0, AWS
	// Config uses the default.
	Limit *int32
}

type GetAggregateConfigRuleComplianceSummaryOutput

type GetAggregateConfigRuleComplianceSummaryOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Returns a list of AggregateComplianceCounts object.
	AggregateComplianceCounts []*types.AggregateComplianceCount
	// Groups the result based on ACCOUNT_ID or AWS_REGION.
	GroupByKey *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetAggregateDiscoveredResourceCountsInput

type GetAggregateDiscoveredResourceCountsInput struct {
	// The maximum number of GroupedResourceCount () objects returned on each page. The
	// default is 1000. You cannot specify a number greater than 1000. If you specify
	// 0, AWS Config uses the default.
	Limit *int32
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Filters the results based on the ResourceCountFilters object.
	Filters *types.ResourceCountFilters
	// The key to group the resource counts.
	GroupByKey types.ResourceCountGroupKey
}

type GetAggregateDiscoveredResourceCountsOutput

type GetAggregateDiscoveredResourceCountsOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The key passed into the request object. If GroupByKey is not provided, the
	// result will be empty.
	GroupByKey *string
	// The total number of resources that are present in an aggregator with the filters
	// that you provide.
	TotalDiscoveredResources *int64
	// Returns a list of GroupedResourceCount objects.
	GroupedResourceCounts []*types.GroupedResourceCount

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetAggregateResourceConfigInput

type GetAggregateResourceConfigInput struct {
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// An object that identifies aggregate resource.
	ResourceIdentifier *types.AggregateResourceIdentifier
}

type GetAggregateResourceConfigOutput

type GetAggregateResourceConfigOutput struct {
	// Returns a ConfigurationItem object.
	ConfigurationItem *types.ConfigurationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetComplianceDetailsByConfigRuleInput

type GetComplianceDetailsByConfigRuleInput struct {
	// The maximum number of evaluation results returned on each page. The default is
	// 10. You cannot specify a number greater than 100. If you specify 0, AWS Config
	// uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The name of the AWS Config rule for which you want compliance information.
	ConfigRuleName *string
	// Filters the results by compliance. The allowed values are COMPLIANT,
	// NON_COMPLIANT, and NOT_APPLICABLE.
	ComplianceTypes []types.ComplianceType
}

type GetComplianceDetailsByConfigRuleOutput

type GetComplianceDetailsByConfigRuleOutput struct {
	// Indicates whether the AWS resource complies with the specified AWS Config rule.
	EvaluationResults []*types.EvaluationResult
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetComplianceDetailsByResourceInput

type GetComplianceDetailsByResourceInput struct {
	// The ID of the AWS resource for which you want compliance information.
	ResourceId *string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Filters the results by compliance. The allowed values are COMPLIANT,
	// NON_COMPLIANT, and NOT_APPLICABLE.
	ComplianceTypes []types.ComplianceType
	// The type of the AWS resource for which you want compliance information.
	ResourceType *string
}

type GetComplianceDetailsByResourceOutput

type GetComplianceDetailsByResourceOutput struct {
	// Indicates whether the specified AWS resource complies each AWS Config rule.
	EvaluationResults []*types.EvaluationResult
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetComplianceSummaryByConfigRuleInput

type GetComplianceSummaryByConfigRuleInput struct {
}

type GetComplianceSummaryByConfigRuleOutput

type GetComplianceSummaryByConfigRuleOutput struct {
	// The number of AWS Config rules that are compliant and the number that are
	// noncompliant, up to a maximum of 25 for each.
	ComplianceSummary *types.ComplianceSummary

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetComplianceSummaryByResourceTypeInput

type GetComplianceSummaryByResourceTypeInput struct {
	// Specify one or more resource types to get the number of resources that are
	// compliant and the number that are noncompliant for each resource type. For this
	// request, you can specify an AWS resource type such as AWS::EC2::Instance. You
	// can specify that the resource type is an AWS account by specifying
	// AWS::::Account.
	ResourceTypes []*string
}

type GetComplianceSummaryByResourceTypeOutput

type GetComplianceSummaryByResourceTypeOutput struct {
	// The number of resources that are compliant and the number that are noncompliant.
	// If one or more resource types were provided with the request, the numbers are
	// returned for each resource type. The maximum number returned is 100.
	ComplianceSummariesByResourceType []*types.ComplianceSummaryByResourceType

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetConformancePackComplianceDetailsInput

type GetConformancePackComplianceDetailsInput struct {
	// The maximum number of evaluation results returned on each page. If you do no
	// specify a number, AWS Config uses the default. The default is 100.
	Limit *int32
	// Name of the conformance pack.
	ConformancePackName *string
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// A ConformancePackEvaluationFilters object.
	Filters *types.ConformancePackEvaluationFilters
}

type GetConformancePackComplianceDetailsOutput

type GetConformancePackComplianceDetailsOutput struct {
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// Name of the conformance pack.
	ConformancePackName *string
	// Returns a list of ConformancePackEvaluationResult objects.
	ConformancePackRuleEvaluationResults []*types.ConformancePackEvaluationResult

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetConformancePackComplianceSummaryInput

type GetConformancePackComplianceSummaryInput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of conformance packs returned on each page.
	Limit *int32
	// Names of conformance packs.
	ConformancePackNames []*string
}

type GetConformancePackComplianceSummaryOutput

type GetConformancePackComplianceSummaryOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// A list of ConformancePackComplianceSummary objects.
	ConformancePackComplianceSummaryList []*types.ConformancePackComplianceSummary

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetDiscoveredResourceCountsInput

type GetDiscoveredResourceCountsInput struct {
	// The comma-separated list that specifies the resource types that you want AWS
	// Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User").  <p>If a
	// value for <code>resourceTypes</code> is not specified, AWS Config returns all
	// resource types that AWS Config is recording in the region for your account.</p>
	// <note> <p>If the configuration recorder is turned off, AWS Config returns an
	// empty list of <a>ResourceCount</a> objects. If the configuration recorder is not
	// recording a specific resource type (for example, S3 buckets), that resource type
	// is not returned in the list of <a>ResourceCount</a> objects.</p> </note>
	ResourceTypes []*string
	// The maximum number of ResourceCount () objects returned on each page. The
	// default is 100. You cannot specify a number greater than 100. If you specify 0,
	// AWS Config uses the default.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type GetDiscoveredResourceCountsOutput

type GetDiscoveredResourceCountsOutput struct {
	// The list of ResourceCount objects. Each object is listed in descending order by
	// the number of resources.
	ResourceCounts []*types.ResourceCount
	// The total number of resources that AWS Config is recording in the region for
	// your account. If you specify resource types in the request, AWS Config returns
	// only the total number of resources for those resource types.  <p class="title">
	// <b>Example</b> </p> <ol> <li> <p>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, for a total of 60 resources.</p> </li> <li> <p>You make a call to
	// the <code>GetDiscoveredResourceCounts</code> action and specify the resource
	// type, <code>"AWS::EC2::Instances"</code>, in the request.</p> </li> <li> <p>AWS
	// Config returns 25 for <code>totalDiscoveredResources</code>.</p> </li> </ol>
	TotalDiscoveredResources *int64
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetOrganizationConfigRuleDetailedStatusInput

type GetOrganizationConfigRuleDetailedStatusInput struct {
	// A StatusDetailFilters object.
	Filters *types.StatusDetailFilters
	// The name of organization config rule for which you want status details for
	// member accounts.
	OrganizationConfigRuleName *string
	// The maximum number of OrganizationConfigRuleDetailedStatus returned on each
	// page. If you do not specify a number, AWS Config uses the default. The default
	// is 100.
	Limit *int32
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
}

type GetOrganizationConfigRuleDetailedStatusOutput

type GetOrganizationConfigRuleDetailedStatusOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// A list of MemberAccountStatus objects.
	OrganizationConfigRuleDetailedStatus []*types.MemberAccountStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetOrganizationConformancePackDetailedStatusInput

type GetOrganizationConformancePackDetailedStatusInput struct {
	// An OrganizationResourceDetailedStatusFilters object.
	Filters *types.OrganizationResourceDetailedStatusFilters
	// The name of organization conformance pack for which you want status details for
	// member accounts.
	OrganizationConformancePackName *string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of OrganizationConformancePackDetailedStatuses returned on
	// each page. If you do not specify a number, AWS Config uses the default. The
	// default is 100.
	Limit *int32
}

type GetOrganizationConformancePackDetailedStatusOutput

type GetOrganizationConformancePackDetailedStatusOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// A list of OrganizationConformancePackDetailedStatus objects.
	OrganizationConformancePackDetailedStatuses []*types.OrganizationConformancePackDetailedStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetResourceConfigHistoryInput

type GetResourceConfigHistoryInput struct {
	// The time stamp that indicates a later time. If not specified, current time is
	// taken.
	LaterTime *time.Time
	// The ID of the resource (for example., sg-xxxxxx).
	ResourceId *string
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The time stamp that indicates an earlier time. If not specified, the action
	// returns paginated results that contain configuration items that start when the
	// first configuration item was recorded.
	EarlierTime *time.Time
	// The resource type.
	ResourceType types.ResourceType
	// The chronological order for configuration items listed. By default, the results
	// are listed in reverse chronological order.
	ChronologicalOrder types.ChronologicalOrder
	// The maximum number of configuration items returned on each page. The default is
	// 10. You cannot specify a number greater than 100. If you specify 0, AWS Config
	// uses the default.
	Limit *int32
}

The input for the GetResourceConfigHistory () action.

type GetResourceConfigHistoryOutput

type GetResourceConfigHistoryOutput struct {
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string
	// A list that contains the configuration history of one or more resources.
	ConfigurationItems []*types.ConfigurationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output for the GetResourceConfigHistory () action.

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error
}

type ListAggregateDiscoveredResourcesInput

type ListAggregateDiscoveredResourcesInput struct {
	// Filters the results based on the ResourceFilters object.
	Filters *types.ResourceFilters
	// The type of resources that you want AWS Config to list in the response.
	ResourceType types.ResourceType
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of resource identifiers returned on each page. The default is
	// 100. You cannot specify a number greater than 100. If you specify 0, AWS Config
	// uses the default.
	Limit *int32
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
}

type ListAggregateDiscoveredResourcesOutput

type ListAggregateDiscoveredResourcesOutput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// Returns a list of ResourceIdentifiers objects.
	ResourceIdentifiers []*types.AggregateResourceIdentifier

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListDiscoveredResourcesInput

type ListDiscoveredResourcesInput struct {
	// The maximum number of resource identifiers returned on each page. The default is
	// 100. You cannot specify a number greater than 100. If you specify 0, AWS Config
	// uses the default.
	Limit *int32
	// Specifies whether AWS Config includes deleted resources in the results. By
	// default, deleted resources are not included.
	IncludeDeletedResources *bool
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The type of resources that you want AWS Config to list in the response.
	ResourceType types.ResourceType
	// The IDs of only those resources that you want AWS Config to list in the
	// response. If you do not specify this parameter, AWS Config lists all resources
	// of the specified type that it has discovered.
	ResourceIds []*string
	// The custom name of only those resources that you want AWS Config to list in the
	// response. If you do not specify this parameter, AWS Config lists all resources
	// of the specified type that it has discovered.
	ResourceName *string
}

type ListDiscoveredResourcesOutput

type ListDiscoveredResourcesOutput struct {
	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string
	// The details that identify a resource that is discovered by AWS Config, including
	// the resource type, ID, and (if available) the custom resource name.
	ResourceIdentifiers []*types.ResourceIdentifier

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListTagsForResourceInput

type ListTagsForResourceInput struct {
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// The maximum number of tags returned on each page. The limit maximum is 50. You
	// cannot specify a number greater than 50. If you specify 0, AWS Config uses the
	// default.
	Limit *int32
	// The Amazon Resource Name (ARN) that identifies the resource for which to list
	// the tags. Currently, the supported resources are ConfigRule,
	// ConfigurationAggregator and AggregatorAuthorization.
	ResourceArn *string
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {
	// The tags for the resource.
	Tags []*types.Tag
	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions ResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer retry.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetCredentials

func (o Options) GetCredentials() aws.CredentialsProvider

func (Options) GetEndpointOptions

func (o Options) GetEndpointOptions() ResolverOptions

func (Options) GetEndpointResolver

func (o Options) GetEndpointResolver() EndpointResolver

func (Options) GetHTTPSignerV4

func (o Options) GetHTTPSignerV4() HTTPSignerV4

func (Options) GetRegion

func (o Options) GetRegion() string

func (Options) GetRetryer

func (o Options) GetRetryer() retry.Retryer

type PutAggregationAuthorizationInput

type PutAggregationAuthorizationInput struct {
	// The 12-digit account ID of the account authorized to aggregate data.
	AuthorizedAccountId *string
	// The region authorized to collect aggregated data.
	AuthorizedAwsRegion *string
	// An array of tag object.
	Tags []*types.Tag
}

type PutAggregationAuthorizationOutput

type PutAggregationAuthorizationOutput struct {
	// Returns an AggregationAuthorization object.  </p>
	AggregationAuthorization *types.AggregationAuthorization

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutConfigRuleInput

type PutConfigRuleInput struct {
	// An array of tag object.
	Tags []*types.Tag
	// The rule that you want to add to your account.
	ConfigRule *types.ConfigRule
}

type PutConfigRuleOutput

type PutConfigRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutConfigurationAggregatorInput

type PutConfigurationAggregatorInput struct {
	// A list of AccountAggregationSource object.  </p>
	AccountAggregationSources []*types.AccountAggregationSource
	// An array of tag object.
	Tags []*types.Tag
	// An OrganizationAggregationSource object.
	OrganizationAggregationSource *types.OrganizationAggregationSource
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
}

type PutConfigurationAggregatorOutput

type PutConfigurationAggregatorOutput struct {
	// Returns a ConfigurationAggregator object.
	ConfigurationAggregator *types.ConfigurationAggregator

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutConfigurationRecorderInput

type PutConfigurationRecorderInput struct {
	// The configuration recorder object that records each configuration change made to
	// the resources.
	ConfigurationRecorder *types.ConfigurationRecorder
}

The input for the PutConfigurationRecorder () action.

type PutConfigurationRecorderOutput

type PutConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutConformancePackInput

type PutConformancePackInput struct {
	// AWS Config stores intermediate files while processing conformance pack template.
	DeliveryS3Bucket *string
	// Name of the conformance pack you want to create.
	ConformancePackName *string
	// Location of file containing the template body (s3://bucketname/prefix). The uri
	// must point to the conformance pack template (max size: 300 KB) that is located
	// in an Amazon S3 bucket in the same region as the conformance pack. You must have
	// access to read Amazon S3 bucket.
	TemplateS3Uri *string
	// The prefix for the Amazon S3 bucket.
	DeliveryS3KeyPrefix *string
	// A list of ConformancePackInputParameter objects.
	ConformancePackInputParameters []*types.ConformancePackInputParameter
	// A string containing full conformance pack template body. Structure containing
	// the template body with a minimum length of 1 byte and a maximum length of 51,200
	// bytes. You can only use a YAML template with one resource type, that is, config
	// rule and a remediation action.
	TemplateBody *string
}

type PutConformancePackOutput

type PutConformancePackOutput struct {
	// ARN of the conformance pack.
	ConformancePackArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutDeliveryChannelInput

type PutDeliveryChannelInput struct {
	// The configuration delivery channel object that delivers the configuration
	// information to an Amazon S3 bucket and to an Amazon SNS topic.
	DeliveryChannel *types.DeliveryChannel
}

The input for the PutDeliveryChannel () action.

type PutDeliveryChannelOutput

type PutDeliveryChannelOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutEvaluationsInput

type PutEvaluationsInput struct {
	// The assessments that the AWS Lambda function performs. Each evaluation
	// identifies an AWS resource and indicates whether it complies with the AWS Config
	// rule that invokes the AWS Lambda function.
	Evaluations []*types.Evaluation
	// An encrypted token that associates an evaluation with an AWS Config rule.
	// Identifies the rule and the event that triggered the evaluation.
	ResultToken *string
	// Use this parameter to specify a test run for PutEvaluations. You can verify
	// whether your AWS Lambda function will deliver evaluation results to AWS Config.
	// No updates occur to your existing evaluations, and evaluation results are not
	// sent to AWS Config.  <note> <p>When <code>TestMode</code> is <code>true</code>,
	// <code>PutEvaluations</code> doesn't require a valid value for the
	// <code>ResultToken</code> parameter, but the value cannot be null.</p> </note>
	TestMode *bool
}

type PutEvaluationsOutput

type PutEvaluationsOutput struct {
	// Requests that failed because of a client or server error.
	FailedEvaluations []*types.Evaluation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutOrganizationConfigRuleInput

type PutOrganizationConfigRuleInput struct {
	// An OrganizationCustomRuleMetadata object.
	OrganizationCustomRuleMetadata *types.OrganizationCustomRuleMetadata
	// A comma-separated list of accounts that you want to exclude from an organization
	// config rule.
	ExcludedAccounts []*string
	// An OrganizationManagedRuleMetadata object.
	OrganizationManagedRuleMetadata *types.OrganizationManagedRuleMetadata
	// The name that you assign to an organization config rule.
	OrganizationConfigRuleName *string
}

type PutOrganizationConfigRuleOutput

type PutOrganizationConfigRuleOutput struct {
	// The Amazon Resource Name (ARN) of an organization config rule.
	OrganizationConfigRuleArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutOrganizationConformancePackInput

type PutOrganizationConformancePackInput struct {
	// Location of an Amazon S3 bucket where AWS Config can deliver evaluation results.
	// AWS Config stores intermediate files while processing conformance pack template.
	// The delivery bucket name should start with awsconfigconforms. For example:
	// "Resource": "arn:aws:s3:::your_bucket_name/*". For more information, see
	// Permissions for cross account bucket access
	// (https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html).
	DeliveryS3Bucket *string
	// A string containing full conformance pack template body. Structure containing
	// the template body with a minimum length of 1 byte and a maximum length of 51,200
	// bytes.
	TemplateBody *string
	// Location of file containing the template body. The uri must point to the
	// conformance pack template (max size: 300 KB). You must have access to read
	// Amazon S3 bucket.
	TemplateS3Uri *string
	// Name of the organization conformance pack you want to create.
	OrganizationConformancePackName *string
	// A list of ConformancePackInputParameter objects.
	ConformancePackInputParameters []*types.ConformancePackInputParameter
	// The prefix for the Amazon S3 bucket.
	DeliveryS3KeyPrefix *string
	// A list of AWS accounts to be excluded from an organization conformance pack
	// while deploying a conformance pack.
	ExcludedAccounts []*string
}

type PutOrganizationConformancePackOutput

type PutOrganizationConformancePackOutput struct {
	// ARN of the organization conformance pack.
	OrganizationConformancePackArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutRemediationConfigurationsInput

type PutRemediationConfigurationsInput struct {
	// A list of remediation configuration objects.
	RemediationConfigurations []*types.RemediationConfiguration
}

type PutRemediationConfigurationsOutput

type PutRemediationConfigurationsOutput struct {
	// Returns a list of failed remediation batch objects.
	FailedBatches []*types.FailedRemediationBatch

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutRemediationExceptionsInput

type PutRemediationExceptionsInput struct {
	// The name of the AWS Config rule for which you want to create remediation
	// exception.
	ConfigRuleName *string
	// An exception list of resource exception keys to be processed with the current
	// request. AWS Config adds exception for each resource key. For example, AWS
	// Config adds 3 exceptions for 3 resource keys.
	ResourceKeys []*types.RemediationExceptionResourceKey
	// The exception is automatically deleted after the expiration date.
	ExpirationTime *time.Time
	// The message contains an explanation of the exception.
	Message *string
}

type PutRemediationExceptionsOutput

type PutRemediationExceptionsOutput struct {
	// Returns a list of failed remediation exceptions batch objects. Each object in
	// the batch consists of a list of failed items and failure messages.
	FailedBatches []*types.FailedRemediationExceptionBatch

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutResourceConfigInput

type PutResourceConfigInput struct {
	// Unique identifier of the resource.
	ResourceId *string
	// Version of the schema registered for the ResourceType in AWS CloudFormation.
	SchemaVersionId *string
	// Tags associated with the resource.
	Tags map[string]*string
	// The configuration object of the resource in valid JSON format. It must match the
	// schema registered with AWS CloudFormation. The configuration JSON must not
	// exceed 64 KB.
	Configuration *string
	// Name of the resource.
	ResourceName *string
	// The type of the resource. The custom resource type must be registered with AWS
	// CloudFormation. You cannot use the organization names “aws”, “amzn”, “amazon”,
	// “alexa”, “custom” with custom resource types. It is the first part of the
	// ResourceType up to the first ::.
	ResourceType *string
}

type PutResourceConfigOutput

type PutResourceConfigOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type PutRetentionConfigurationInput

type PutRetentionConfigurationInput struct {
	// Number of days AWS Config stores your historical information. Currently, only
	// applicable to the configuration item history.
	RetentionPeriodInDays *int32
}

type PutRetentionConfigurationOutput

type PutRetentionConfigurationOutput struct {
	// Returns a retention configuration object.
	RetentionConfiguration *types.RetentionConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  ResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type ResolveEndpointMiddlewareOptions

type ResolveEndpointMiddlewareOptions interface {
	GetEndpointResolver() EndpointResolver
	GetEndpointOptions() ResolverOptions
}

type ResolverOptions

type ResolverOptions = internalendpoints.Options

ResolverOptions is the service endpoint resolver options

type SelectAggregateResourceConfigInput

type SelectAggregateResourceConfigInput struct {
	// The maximum number of query results returned on each page. AWS Config also
	// allows the Limit request parameter.
	MaxResults *int32
	// The maximum number of query results returned on each page.
	Limit *int32
	// The name of the configuration aggregator.
	ConfigurationAggregatorName *string
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// The SQL query SELECT command.
	Expression *string
}

type SelectAggregateResourceConfigOutput

type SelectAggregateResourceConfigOutput struct {
	// Returns the results for the SQL query.
	Results []*string
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// Details about the query.
	QueryInfo *types.QueryInfo

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type SelectResourceConfigInput

type SelectResourceConfigInput struct {
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// The maximum number of query results returned on each page.
	Limit *int32
	// The SQL query SELECT command.
	Expression *string
}

type SelectResourceConfigOutput

type SelectResourceConfigOutput struct {
	// Returns the QueryInfo object.
	QueryInfo *types.QueryInfo
	// The nextToken string returned in a previous request that you use to request the
	// next page of results in a paginated response.
	NextToken *string
	// Returns the results for the SQL query.
	Results []*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StartConfigRulesEvaluationInput

type StartConfigRulesEvaluationInput struct {
	// The list of names of AWS Config rules that you want to run evaluations for.
	ConfigRuleNames []*string
}

type StartConfigRulesEvaluationOutput

type StartConfigRulesEvaluationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

The output when you start the evaluation for the specified AWS Config rule.

type StartConfigurationRecorderInput

type StartConfigurationRecorderInput struct {
	// The name of the recorder object that records each configuration change made to
	// the resources.
	ConfigurationRecorderName *string
}

The input for the StartConfigurationRecorder () action.

type StartConfigurationRecorderOutput

type StartConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StartRemediationExecutionInput

type StartRemediationExecutionInput struct {
	// A list of resource keys to be processed with the current request. Each element
	// in the list consists of the resource type and resource ID.
	ResourceKeys []*types.ResourceKey
	// The list of names of AWS Config rules that you want to run remediation execution
	// for.
	ConfigRuleName *string
}

type StartRemediationExecutionOutput

type StartRemediationExecutionOutput struct {
	// Returns a failure message. For example, the resource is already compliant.
	FailureMessage *string
	// For resources that have failed to start execution, the API returns a resource
	// key object.
	FailedItems []*types.ResourceKey

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StopConfigurationRecorderInput

type StopConfigurationRecorderInput struct {
	// The name of the recorder object that records each configuration change made to
	// the resources.
	ConfigurationRecorderName *string
}

The input for the StopConfigurationRecorder () action.

type StopConfigurationRecorderOutput

type StopConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type TagResourceInput

type TagResourceInput struct {
	// The Amazon Resource Name (ARN) that identifies the resource for which to list
	// the tags. Currently, the supported resources are ConfigRule,
	// ConfigurationAggregator and AggregatorAuthorization.
	ResourceArn *string
	// An array of tag object.
	Tags []*types.Tag
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UntagResourceInput

type UntagResourceInput struct {
	// The keys of the tags to be removed.
	TagKeys []*string
	// The Amazon Resource Name (ARN) that identifies the resource for which to list
	// the tags. Currently, the supported resources are ConfigRule,
	// ConfigurationAggregator and AggregatorAuthorization.
	ResourceArn *string
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Source Files

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL