configservice

package module
v1.51.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 44 Imported by: 63

Documentation

Overview

Package configservice provides the API client, operations, and parameter types for AWS Config.

Config

Config provides a way to keep track of the configurations of all the Amazon Web Services resources associated with your Amazon Web Services account. You can use Config to get the current and historical configurations of each Amazon Web Services resource and also to get information about the relationship between the resources. An Amazon Web Services 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 Config, see Supported Amazon Web Services resources.

You can access and manage Config through the Amazon Web Services Management Console, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config API, or the Amazon Web Services SDKs for Config. This reference guide contains documentation for the Config API and the Amazon Web Services CLI commands that you can use to manage Config. The Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see Signature Version 4 Signing Process. For detailed information about Config features and their associated actions or commands, as well as how to work with Amazon Web Services Management Console, see What Is Configin the Config Developer Guide.

Index

Constants

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

Variables

This section is empty.

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions added in v1.0.0

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver deprecated

func WithEndpointResolver(v EndpointResolver) func(*Options)

Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.

To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.

func WithEndpointResolverV2 added in v1.35.0

func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)

WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.

func WithSigV4SigningName added in v1.41.2

func WithSigV4SigningName(name string) func(*Options)

WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.

func WithSigV4SigningRegion added in v1.41.2

func WithSigV4SigningRegion(region string) func(*Options)

WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.

Types

type AssociateResourceTypesInput added in v1.51.0

type AssociateResourceTypesInput struct {

	// The Amazon Resource Name (ARN) of the specified configuration recorder.
	//
	// This member is required.
	ConfigurationRecorderArn *string

	// The list of resource types you want to add to the recording group of the
	// specified configuration recorder.
	//
	// This member is required.
	ResourceTypes []types.ResourceType
	// contains filtered or unexported fields
}

type AssociateResourceTypesOutput added in v1.51.0

type AssociateResourceTypesOutput struct {

	// Records configuration changes to the resource types in scope.
	//
	// For more information about the configuration recorder, see [Working with the Configuration Recorder] in the Config
	// Developer Guide.
	//
	// [Working with the Configuration Recorder]: https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html
	//
	// This member is required.
	ConfigurationRecorder *types.ConfigurationRecorder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type AuthResolverParameters added in v1.41.2

type AuthResolverParameters struct {
	// The name of the operation being invoked.
	Operation string

	// The region in which the operation is being invoked.
	Region string
}

AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.

type AuthSchemeResolver added in v1.41.2

type AuthSchemeResolver interface {
	ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}

AuthSchemeResolver returns a set of possible authentication options for an operation.

type BatchGetAggregateResourceConfigInput

type BatchGetAggregateResourceConfigInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// A list of aggregate ResourceIdentifiers objects.
	//
	// This member is required.
	ResourceIdentifiers []types.AggregateResourceIdentifier
	// contains filtered or unexported fields
}

type BatchGetAggregateResourceConfigOutput

type BatchGetAggregateResourceConfigOutput struct {

	// A list that contains the current configuration of one or more resources.
	BaseConfigurationItems []types.BaseConfigurationItem

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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

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.
	//
	// This member is required.
	ResourceKeys []types.ResourceKey
	// contains filtered or unexported fields
}

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.
	UnprocessedResourceKeys []types.ResourceKey

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Client

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

Client provides the API client to make operations call for AWS Config.

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) AssociateResourceTypes added in v1.51.0

func (c *Client) AssociateResourceTypes(ctx context.Context, params *AssociateResourceTypesInput, optFns ...func(*Options)) (*AssociateResourceTypesOutput, error)

Adds all resource types specified in the ResourceTypes list to the RecordingGroup of specified configuration recorder and includes those resource types when recording.

For this operation, the specified configuration recorder must use a RecordingStrategy that is either INCLUSION_BY_RESOURCE_TYPES or EXCLUSION_BY_RESOURCE_TYPES .

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

  • The API does not return results for deleted resources.

  • The API does not return tags and relationships.

func (*Client) BatchGetResourceConfig

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

Returns the BaseConfigurationItem 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 Config rule and all of its evaluation results.

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.

Recommendation: Stop recording resource compliance before deleting rules

It is highly recommended that you stop recording for the AWS::Config::ResourceCompliance resource type before you delete rules in your account. Deleting rules creates CIs for AWS::Config::ResourceCompliance and can affect your Config configuration recordercosts.

If you are deleting rules which evaluate a large number of resource types, this can lead to a spike in the number of CIs recorded.

Best practice:

  • Stop recording AWS::Config::ResourceCompliance

  • Delete rule(s)

  • Turn on recording for AWS::Config::ResourceCompliance

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 customer managed configuration recorder.

This operation does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistoryoperation, but you will not be able to access this information in the Config console until you have created a new customer managed 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 Config rules, remediation actions, and all evaluation results within that conformance pack.

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 customer managed configuration recorder. You can use the StopConfigurationRecorderoperation to stop the customer managed configuration recorder.

func (*Client) DeleteEvaluationResults

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

Deletes the evaluation results for the specified Config rule. You can specify one Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluationAPI to start evaluating your Amazon Web Services 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 management account and a delegated administrator account can delete an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added.

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 management account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added.

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.

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 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) DeleteServiceLinkedConfigurationRecorder added in v1.51.0

func (c *Client) DeleteServiceLinkedConfigurationRecorder(ctx context.Context, params *DeleteServiceLinkedConfigurationRecorderInput, optFns ...func(*Options)) (*DeleteServiceLinkedConfigurationRecorderOutput, error)

Deletes an existing service-linked configuration recorder.

This operation does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistoryoperation, but you will not be able to access this information in the Config console until you have created a new service-linked configuration recorder for the same service.

The recording scope determines if you receive configuration items

The recording scope is set by the service that is linked to the configuration recorder and determines whether you receive configuration items (CIs) in the delivery channel. If the recording scope is internal, you will not receive CIs in the delivery channel.

func (*Client) DeleteStoredQuery added in v1.2.0

func (c *Client) DeleteStoredQuery(ctx context.Context, params *DeleteStoredQueryInput, optFns ...func(*Options)) (*DeleteStoredQueryOutput, error)

Deletes the stored query for a single Amazon Web Services account and a single Amazon Web Services Region.

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, 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. Does not display rules that do not have compliance results.

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

func (*Client) DescribeAggregateComplianceByConformancePacks added in v1.3.0

func (c *Client) DescribeAggregateComplianceByConformancePacks(ctx context.Context, params *DescribeAggregateComplianceByConformancePacksInput, optFns ...func(*Options)) (*DescribeAggregateComplianceByConformancePacksOutput, error)

Returns a list of the existing and deleted conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each conformance pack. Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.

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 Config rules are compliant. If a rule is noncompliant, this operation returns the number of Amazon Web Services resources that do not comply with the rule.

A rule is compliant if all of the evaluated resources comply with it. It is noncompliant if any of these resources do not comply.

If Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA . This result might indicate one of the following conditions:

  • 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 Lambda function is failing to send evaluation results to 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 Lambda execution role includes the config:PutEvaluations permission.

  • The rule's 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 Amazon Web Services resources are compliant. If a resource is noncompliant, this operation returns the number of Config rules that the resource does not comply with.

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

If Config has no current 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:

  • 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 Lambda function is failing to send evaluation results to 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 Lambda execution role includes the config:PutEvaluations permission.

  • The rule's 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 Config managed rules. The status includes information such as the last time Config invoked the rule, the last time 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 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 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 operation 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 configuration recorder you specify as well as the status of the last recording event for the configuration recorders.

For a detailed status of recording events over time, add your Config events to Amazon CloudWatch metrics and use CloudWatch metrics.

If a configuration recorder is not specified, this operation returns the status for the customer managed configuration recorder configured for the account, if applicable.

When making a request to this operation, you can only specify one configuration recorder.

func (*Client) DescribeConfigurationRecorders

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

Returns details for the configuration recorder you specify.

If a configuration recorder is not specified, this operation returns details for the customer managed configuration recorder configured for the account, if applicable.

When making a request to this operation, you can only specify one configuration recorder.

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 operation 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 operation returns the details of all delivery channels associated with the account.

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

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.

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.

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.

For accounts within an organization

If you deploy an organizational rule or conformance pack in an organization administrator account, and then establish a delegated administrator and deploy an organizational rule or conformance pack in the delegated administrator account, you won't be able to see the organizational rule or conformance pack in the organization administrator account from the delegated administrator account or see the organizational rule or conformance pack in the delegated administrator account from organization administrator account. The DescribeOrganizationConfigRules and DescribeOrganizationConformancePacks APIs can only see and interact with the organization-related resource that were deployed from within the account calling those APIs.

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.

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.

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.

For accounts within an organization

If you deploy an organizational rule or conformance pack in an organization administrator account, and then establish a delegated administrator and deploy an organizational rule or conformance pack in the delegated administrator account, you won't be able to see the organizational rule or conformance pack in the organization administrator account from the delegated administrator account or see the organizational rule or conformance pack in the delegated administrator account from organization administrator account. The DescribeOrganizationConfigRules and DescribeOrganizationConformancePacks APIs can only see and interact with the organization-related resource that were deployed from within the account calling those APIs.

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.

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 operation returns the details for all the retention configurations for that account.

Currently, Config supports only one retention configuration per region in your account.

func (*Client) DisassociateResourceTypes added in v1.51.0

func (c *Client) DisassociateResourceTypes(ctx context.Context, params *DisassociateResourceTypesInput, optFns ...func(*Options)) (*DisassociateResourceTypesOutput, error)

Removes all resource types specified in the ResourceTypes list from the RecordingGroup of configuration recorder and excludes these resource types when recording.

For this operation, the configuration recorder must use a RecordingStrategy that is either INCLUSION_BY_RESOURCE_TYPES or EXCLUSION_BY_RESOURCE_TYPES .

func (*Client) GetAggregateComplianceDetailsByConfigRule

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

Returns the evaluation results for the specified Config rule for a specific resource in a rule. The results indicate which Amazon Web Services 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) GetAggregateConformancePackComplianceSummary added in v1.3.0

func (c *Client) GetAggregateConformancePackComplianceSummary(ctx context.Context, params *GetAggregateConformancePackComplianceSummaryInput, optFns ...func(*Options)) (*GetAggregateConformancePackComplianceSummaryOutput, error)

Returns the count of compliant and noncompliant conformance packs across all Amazon Web Services accounts and Amazon Web Services Regions in an aggregator. You can filter based on Amazon Web Services account ID or Amazon Web Services Region.

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

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

The API does not return results for deleted resources.

func (*Client) GetComplianceDetailsByConfigRule

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

Returns the evaluation results for the specified Config rule. The results indicate which Amazon Web Services 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 Amazon Web Services resource. The results indicate which Config rules were used to evaluate the resource, when each rule was last invoked, 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 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 Amazon Web Services 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) GetCustomRulePolicy added in v1.20.0

func (c *Client) GetCustomRulePolicy(ctx context.Context, params *GetCustomRulePolicyInput, optFns ...func(*Options)) (*GetCustomRulePolicyOutput, error)

Returns the policy definition containing the logic for your Config Custom Policy rule.

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 Config is recording in this region for your Amazon Web Services account.

Example

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

  • Config returns the following:

  • The resource types (EC2 instances, IAM users, and S3 buckets).

  • The number of each resource type (25, 20, and 15).

  • The total number of all resources (60).

The response is paginated. By default, Config lists 100 ResourceCount objects 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.

If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations:

  • You are a new Config customer.

  • You just enabled resource recording.

It might take a few minutes for Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCountsaction.

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.

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.

func (*Client) GetOrganizationCustomRulePolicy added in v1.20.0

func (c *Client) GetOrganizationCustomRulePolicy(ctx context.Context, params *GetOrganizationCustomRulePolicyInput, optFns ...func(*Options)) (*GetOrganizationCustomRulePolicyOutput, error)

Returns the policy definition containing the logic for your organization Config Custom Policy rule.

func (*Client) GetResourceConfigHistory

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

For accurate reporting on the compliance status, you must record the AWS::Config::ResourceCompliance resource type. For more information, see Selecting Which Resources Config Records.

Returns a list of ConfigurationItems 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), Config returns the ConfigurationItems for the specified retention period.

The response is paginated. By default, 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) GetResourceEvaluationSummary added in v1.28.0

func (c *Client) GetResourceEvaluationSummary(ctx context.Context, params *GetResourceEvaluationSummaryInput, optFns ...func(*Options)) (*GetResourceEvaluationSummaryOutput, error)

Returns a summary of resource evaluation for the specified resource evaluation ID from the proactive rules that were run. The results indicate which evaluation context was used to evaluate the rules, which resource details were evaluated, the evaluation mode that was run, and whether the resource details comply with the configuration of the proactive rules.

To see additional information about the evaluation result, such as which rule flagged a resource as NON_COMPLIANT, use the GetComplianceDetailsByResourceAPI. For more information, see the Examples section.

func (*Client) GetStoredQuery added in v1.2.0

func (c *Client) GetStoredQuery(ctx context.Context, params *GetStoredQueryInput, optFns ...func(*Options)) (*GetStoredQueryOutput, error)

Returns the details of a specific stored query.

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) ListConfigurationRecorders added in v1.51.0

func (c *Client) ListConfigurationRecorders(ctx context.Context, params *ListConfigurationRecordersInput, optFns ...func(*Options)) (*ListConfigurationRecordersOutput, error)

Returns a list of configuration recorders depending on the filters you specify.

func (*Client) ListConformancePackComplianceScores added in v1.23.0

func (c *Client) ListConformancePackComplianceScores(ctx context.Context, params *ListConformancePackComplianceScoresInput, optFns ...func(*Options)) (*ListConformancePackComplianceScoresOutput, error)

Returns a list of conformance pack compliance scores. A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack. This metric provides you with a high-level view of the compliance state of your conformance packs. You can use it to identify, investigate, and understand the level of compliance in your conformance packs.

Conformance packs with no evaluation results will have a compliance score of INSUFFICIENT_DATA .

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 Config has discovered, including those that 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, 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) ListResourceEvaluations added in v1.28.0

func (c *Client) ListResourceEvaluations(ctx context.Context, params *ListResourceEvaluationsInput, optFns ...func(*Options)) (*ListResourceEvaluationsOutput, error)

Returns a list of proactive resource evaluations.

func (*Client) ListStoredQueries added in v1.2.0

func (c *Client) ListStoredQueries(ctx context.Context, params *ListStoredQueriesInput, optFns ...func(*Options)) (*ListStoredQueriesOutput, error)

Lists the stored queries for a single Amazon Web Services account and a single Amazon Web Services Region. The default is 100.

func (*Client) ListTagsForResource

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

List the tags for Config resource.

func (*Client) Options added in v1.43.0

func (c *Client) Options() Options

Options returns a copy of the client configuration.

Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.

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.

Tags are added at creation and cannot be updated with this operation

PutAggregationAuthorization is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values, Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.

Use TagResource and UntagResource to update tags after creation.

func (*Client) PutConfigRule

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

Adds or updates an Config rule to evaluate if your Amazon Web Services resources comply with your desired configurations. For information on how many Config rules you can have per account, see Service Limitsin the Config Developer Guide.

There are two types of rules: Config Managed Rules and Config Custom Rules. You can use PutConfigRule to create both Config Managed Rules and Config Custom Rules.

Config Managed Rules are predefined, customizable rules created by Config. For a list of managed rules, see List of Config Managed Rules. If you are adding an Config managed rule, you must specify the rule's identifier for the SourceIdentifier key.

Config Custom Rules are rules that you create from scratch. There are two ways to create Config custom rules: with Lambda functions (Lambda Developer Guide ) and with Guard (Guard GitHub Repository ), a policy-as-code language.

Config custom rules created with Lambda are called Config Custom Lambda Rules and Config custom rules created with Guard are called Config Custom Policy Rules.

If you are adding a new Config Custom Lambda rule, you first need to create an Lambda function that the rule invokes to evaluate your resources. When you use PutConfigRule to add a Custom Lambda rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function. You specify the ARN in the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object.

For any new Config rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId . These values are generated by 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.

For more information about developing and using Config rules, see Evaluating Resources with Config Rules in the Config Developer Guide.

Tags are added at creation and cannot be updated with this operation

PutConfigRule is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values, Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.

Use TagResource and UntagResource to update tags after creation.

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.

accountIds that are passed will be replaced with existing accounts. If you want to add additional accounts into the aggregator, call DescribeConfigurationAggregators to get the previous accounts and then append new ones.

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 management account or a registered delegated administrator and all the features must be enabled in your organization. If the caller is a management account, Config calls EnableAwsServiceAccess API to enable integration between Config and Organizations. If the caller is a registered delegated administrator, Config calls ListDelegatedAdministrators API to verify whether the caller is a valid delegated administrator.

To register a delegated administrator, see Register a Delegated Administrator in the Config developer guide.

Tags are added at creation and cannot be updated with this operation

PutConfigurationAggregator is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values, Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.

Use TagResource and UntagResource to update tags after creation.

func (*Client) PutConfigurationRecorder

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

Creates or updates the customer managed configuration recorder.

You can use this operation to create a new customer managed configuration recorder or to update the roleARN and the recordingGroup for an existing customer managed configuration recorder.

To start the customer managed configuration recorder and begin recording configuration changes for the resource types you specify, use the StartConfigurationRecorderoperation.

For more information, see Working with the Configuration Recorder in the Config Developer Guide.

One customer managed configuration recorder per account per Region

You can create only one customer managed configuration recorder for each account for each Amazon Web Services Region.

Default is to record all supported resource types, excluding the global IAM resource types

If you have not specified values for the recordingGroup field, the default for the customer managed configuration recorder is to record all supported resource types, excluding the global IAM resource types: AWS::IAM::Group , AWS::IAM::Policy , AWS::IAM::Role , and AWS::IAM::User .

Tags are added at creation and cannot be updated

PutConfigurationRecorder is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values, Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.

Use TagResource and UntagResource to update tags after creation.

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 Config rules that can be easily deployed in an account and a region and across an organization. For information on how many conformance packs you can have per account, see Service Limitsin the Config Developer Guide.

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 only one of the follow parameters: TemplateS3Uri , TemplateBody or TemplateSSMDocumentDetails .

func (*Client) PutDeliveryChannel

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

Creates or updates a delivery channel to deliver configuration information and other compliance information.

You can use this operation to create a new delivery channel or to update the Amazon S3 bucket and the Amazon SNS topic of an existing delivery channel.

For more information, see Working with the Delivery Channel in the Config Developer Guide.

One delivery channel per account per Region

You can have only one delivery channel for each account for each Amazon Web Services Region.

func (*Client) PutEvaluations

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

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

func (*Client) PutExternalEvaluation added in v1.2.0

func (c *Client) PutExternalEvaluation(ctx context.Context, params *PutExternalEvaluationInput, optFns ...func(*Options)) (*PutExternalEvaluationOutput, error)

Add or updates the evaluations for process checks. This API checks if the rule is a process check when the name of the Config rule is provided.

func (*Client) PutOrganizationConfigRule

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

Adds or updates an Config rule for your entire organization to evaluate if your Amazon Web Services resources comply with your desired configurations. For information on how many organization Config rules you can have per account, see Service Limits in the Config Developer Guide.

Only a management account and a delegated administrator can create or update an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. An organization can have up to 3 delegated administrators.

This API enables organization service access through the EnableAWSServiceAccess action and creates a service-linked role AWSServiceRoleForConfigMultiAccountSetup in the management or delegated administrator account of your organization. The service-linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole action.

To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com .

There are two types of rules: Config Managed Rules and Config Custom Rules. You can use PutOrganizationConfigRule to create both Config Managed Rules and Config Custom Rules.

Config Managed Rules are predefined, customizable rules created by Config. For a list of managed rules, see List of Config Managed Rules. If you are adding an Config managed rule, you must specify the rule's identifier for the RuleIdentifier key.

Config Custom Rules are rules that you create from scratch. There are two ways to create Config custom rules: with Lambda functions (Lambda Developer Guide ) and with Guard (Guard GitHub Repository ), a policy-as-code language.

Config custom rules created with Lambda are called Config Custom Lambda Rules and Config custom rules created with Guard are called Config Custom Policy Rules.

If you are adding a new Config Custom Lambda rule, you first need to create an Lambda function in the management account or a delegated administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed account that can be assumed by the Lambda function. When you use PutOrganizationConfigRule to add a Custom Lambda rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function.

Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization.

Make sure to specify one of either OrganizationCustomPolicyRuleMetadata for Custom Policy rules, OrganizationCustomRuleMetadata for Custom Lambda rules, or OrganizationManagedRuleMetadata for managed rules.

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 Amazon Web Services Organization. For information on how many organization conformance packs and how many Config rules you can have per account, see Service Limitsin the Config Developer Guide.

Only a management account and a delegated administrator can call this API. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. An organization can have up to 3 delegated administrators.

This API enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service-linked role AWSServiceRoleForConfigMultiAccountSetup in the management 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 Amazon Web Services Organization register-delegate-admin for config-multiaccountsetup.amazonaws.com .

Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization.

You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter.

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.

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 Config rule with the selected target or action. The API creates the RemediationConfiguration object for the Config rule. The 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.

Be aware of backward incompatible changes

If you make backward incompatible changes to the SSM document, you must call this again to ensure the remediations can run.

This API does not support adding remediation configurations for service-linked Config Rules such as Organization Config rules, the rules deployed by conformance packs, and rules deployed by Amazon Web Services Security Hub.

Required fields

For manual remediation configuration, you need to provide a value for automationAssumeRole or use a value in the assumeRole field to remediate your resources. The SSM automation document can use either as long as it maps to a valid parameter.

However, for automatic remediation configuration, the only valid assumeRole field value is AutomationAssumeRole and you need to provide a value for AutomationAssumeRole to remediate your resources.

Auto remediation can be initiated even for compliant resources

If you enable auto remediation for a specific Config rule using the PutRemediationConfigurations API or the Config console, it initiates the remediation process for all non-compliant resources for that specific rule. The auto remediation process relies on the compliance data snapshot which is captured on a periodic basis. Any non-compliant resource that is updated between the snapshot schedule will continue to be remediated based on the last known compliance data snapshot.

This means that in some cases auto remediation can be initiated even for compliant resources, since the bootstrap processor uses a database that can have stale evaluation results based on the last known compliance data snapshot.

func (*Client) PutRemediationExceptions

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

A remediation exception is when a specified resource is no longer considered for auto-remediation. This API adds a new exception or updates an existing exception for a specified resource with a specified Config rule.

Exceptions block auto remediation

Config generates a remediation exception when a problem occurs running a remediation action for a specified resource. Remediation exceptions blocks auto-remediation until the exception is cleared.

When placing an exception on an Amazon Web Services resource, it is recommended that remediation is set as manual remediation until the given Config rule for the specified resource evaluates the resource as NON_COMPLIANT . Once the resource has been evaluated as NON_COMPLIANT , you can add remediation exceptions and change the remediation type back from Manual to Auto if you want to use auto-remediation. Otherwise, using auto-remediation before a NON_COMPLIANT evaluation result can delete resources before the exception is applied.

Exceptions can only be performed on non-compliant resources

Placing an exception can only be performed on resources that are NON_COMPLIANT . If you use this API for COMPLIANT resources or resources that are NOT_APPLICABLE , a remediation exception will not be generated. For more information on the conditions that initiate the possible Config evaluation results, see Concepts | Config Rulesin the Config Developer Guide.

Exceptions cannot be placed on service-linked remediation actions

You cannot place an exception on service-linked remediation actions, such as remediation actions put by an organizational conformance pack.

Auto remediation can be initiated even for compliant resources

If you enable auto remediation for a specific Config rule using the PutRemediationConfigurations API or the Config console, it initiates the remediation process for all non-compliant resources for that specific rule. The auto remediation process relies on the compliance data snapshot which is captured on a periodic basis. Any non-compliant resource that is updated between the snapshot schedule will continue to be remediated based on the last known compliance data snapshot.

This means that in some cases auto remediation can be initiated even for compliant resources, since the bootstrap processor uses a database that can have stale evaluation results based on the last known compliance data snapshot.

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 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 Config APIs.

The custom resource type must be registered with CloudFormation. This API accepts the configuration item registered with CloudFormation.

When you call this API, Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource.

Write-only schema properites are not recorded as part of the published configuration item.

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 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, Config supports only one retention configuration per region in your account.

func (*Client) PutServiceLinkedConfigurationRecorder added in v1.51.0

func (c *Client) PutServiceLinkedConfigurationRecorder(ctx context.Context, params *PutServiceLinkedConfigurationRecorderInput, optFns ...func(*Options)) (*PutServiceLinkedConfigurationRecorderOutput, error)

Creates a service-linked configuration recorder that is linked to a specific Amazon Web Services service based on the ServicePrincipal you specify.

The configuration recorder's name , recordingGroup , recordingMode , and recordingScope is set by the service that is linked to the configuration recorder.

For more information, see Working with the Configuration Recorder in the Config Developer Guide.

This API creates a service-linked role AWSServiceRoleForConfig in your account. The service-linked role is created only when the role does not exist in your account.

The recording scope determines if you receive configuration items

The recording scope is set by the service that is linked to the configuration recorder and determines whether you receive configuration items (CIs) in the delivery channel. If the recording scope is internal, you will not receive CIs in the delivery channel.

Tags are added at creation and cannot be updated with this operation

Use TagResource and UntagResource to update tags after creation.

func (*Client) PutStoredQuery added in v1.2.0

func (c *Client) PutStoredQuery(ctx context.Context, params *PutStoredQueryInput, optFns ...func(*Options)) (*PutStoredQueryOutput, error)

Saves a new query or updates an existing saved query. The QueryName must be unique for a single Amazon Web Services account and a single Amazon Web Services Region. You can create upto 300 queries in a single Amazon Web Services account and a single Amazon Web Services Region.

Tags are added at creation and cannot be updated

PutStoredQuery is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values, Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.

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 Amazon Web Services 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 section in the Config Developer Guide.

If you run an aggregation query (i.e., using GROUP BY or using aggregate functions such as COUNT ; e.g., SELECT resourceId, COUNT(*) WHERE resourceType = 'AWS::IAM::Role' GROUP BY resourceId ) and do not specify the MaxResults or the Limit query parameters, the default page size is set to 500.

If you run a non-aggregation query (i.e., not using GROUP BY or aggregate function; e.g., SELECT * WHERE resourceType = 'AWS::IAM::Role' ) and do not specify the MaxResults or the Limit query parameters, the default page size is set to 25.

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 section in the 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 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 Config rules per request.

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

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

The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example:

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

  • You update your Lambda function to add additional conditions to your rule.

  • Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API.

  • Config invokes your Lambda function and evaluates your IAM resources.

  • Your custom rule will still run periodic evaluations every 24 hours.

func (*Client) StartConfigurationRecorder

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

Starts the customer managed configuration recorder. The customer managed configuration recorder will begin recording configuration changes for the resource types you specify.

You must have created a delivery channel to successfully start the customer managed configuration recorder. You can use the PutDeliveryChanneloperation to create a delivery channel.

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 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) StartResourceEvaluation added in v1.28.0

func (c *Client) StartResourceEvaluation(ctx context.Context, params *StartResourceEvaluationInput, optFns ...func(*Options)) (*StartResourceEvaluationOutput, error)

Runs an on-demand evaluation for the specified resource to determine whether the resource details will comply with configured Config rules. You can also use it for evaluation purposes. Config recommends using an evaluation context. It runs an execution against the resource details with all of the Config rules in your account that match with the specified proactive mode and resource type.

Ensure you have the cloudformation:DescribeType role setup to validate the resource type schema.

You can find the Resource type schema in "Amazon Web Services public extensions" within the CloudFormation registry or with the following CLI commmand: aws cloudformation describe-type --type-name "AWS::S3::Bucket" --type RESOURCE .

For more information, see Managing extensions through the CloudFormation registry and Amazon Web Services resource and property types reference in the CloudFormation User Guide.

func (*Client) StopConfigurationRecorder

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

Stops the customer managed configuration recorder. The customer managed configuration recorder will stop recording configuration changes for the resource types you have specified.

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. If existing tags are specified, however, then their values will be updated. When a resource is deleted, the tags associated with that resource are deleted as well.

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 12-digit account ID of the account authorized to aggregate data.
	//
	// This member is required.
	AuthorizedAccountId *string

	// The region authorized to collect aggregated data.
	//
	// This member is required.
	AuthorizedAwsRegion *string
	// contains filtered or unexported fields
}

type DeleteAggregationAuthorizationOutput

type DeleteAggregationAuthorizationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteConfigRuleInput

type DeleteConfigRuleInput struct {

	// The name of the Config rule that you want to delete.
	//
	// This member is required.
	ConfigRuleName *string
	// contains filtered or unexported fields
}

type DeleteConfigRuleOutput

type DeleteConfigRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteConfigurationAggregatorInput

type DeleteConfigurationAggregatorInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string
	// contains filtered or unexported fields
}

type DeleteConfigurationAggregatorOutput

type DeleteConfigurationAggregatorOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteConfigurationRecorderInput

type DeleteConfigurationRecorderInput struct {

	// The name of the customer managed configuration recorder that you want to
	// delete. You can retrieve the name of your configuration recorders by using the [DescribeConfigurationRecorders]
	// operation.
	//
	// [DescribeConfigurationRecorders]: https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html
	//
	// This member is required.
	ConfigurationRecorderName *string
	// contains filtered or unexported fields
}

The request object for the DeleteConfigurationRecorder operation.

type DeleteConfigurationRecorderOutput

type DeleteConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteConformancePackInput

type DeleteConformancePackInput struct {

	// Name of the conformance pack you want to delete.
	//
	// This member is required.
	ConformancePackName *string
	// contains filtered or unexported fields
}

type DeleteConformancePackOutput

type DeleteConformancePackOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteDeliveryChannelInput

type DeleteDeliveryChannelInput struct {

	// The name of the delivery channel that you want to delete.
	//
	// This member is required.
	DeliveryChannelName *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DeleteEvaluationResultsInput

type DeleteEvaluationResultsInput struct {

	// The name of the Config rule for which you want to delete the evaluation results.
	//
	// This member is required.
	ConfigRuleName *string
	// contains filtered or unexported fields
}

type DeleteEvaluationResultsOutput

type DeleteEvaluationResultsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

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

type DeleteOrganizationConfigRuleInput

type DeleteOrganizationConfigRuleInput struct {

	// The name of organization Config rule that you want to delete.
	//
	// This member is required.
	OrganizationConfigRuleName *string
	// contains filtered or unexported fields
}

type DeleteOrganizationConfigRuleOutput

type DeleteOrganizationConfigRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteOrganizationConformancePackInput

type DeleteOrganizationConformancePackInput struct {

	// The name of organization conformance pack that you want to delete.
	//
	// This member is required.
	OrganizationConformancePackName *string
	// contains filtered or unexported fields
}

type DeleteOrganizationConformancePackOutput

type DeleteOrganizationConformancePackOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeletePendingAggregationRequestInput

type DeletePendingAggregationRequestInput struct {

	// The 12-digit account ID of the account requesting to aggregate data.
	//
	// This member is required.
	RequesterAccountId *string

	// The region requesting to aggregate data.
	//
	// This member is required.
	RequesterAwsRegion *string
	// contains filtered or unexported fields
}

type DeletePendingAggregationRequestOutput

type DeletePendingAggregationRequestOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteRemediationConfigurationInput

type DeleteRemediationConfigurationInput struct {

	// The name of the Config rule for which you want to delete remediation
	// configuration.
	//
	// This member is required.
	ConfigRuleName *string

	// The type of a resource.
	ResourceType *string
	// contains filtered or unexported fields
}

type DeleteRemediationConfigurationOutput

type DeleteRemediationConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteRemediationExceptionsInput

type DeleteRemediationExceptionsInput struct {

	// The name of the Config rule for which you want to delete remediation exception
	// configuration.
	//
	// This member is required.
	ConfigRuleName *string

	// An exception list of resource exception keys to be processed with the current
	// request. Config adds exception for each resource key. For example, Config adds 3
	// exceptions for 3 resource keys.
	//
	// This member is required.
	ResourceKeys []types.RemediationExceptionResourceKey
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DeleteResourceConfigInput

type DeleteResourceConfigInput struct {

	// Unique identifier of the resource.
	//
	// This member is required.
	ResourceId *string

	// The type of the resource.
	//
	// This member is required.
	ResourceType *string
	// contains filtered or unexported fields
}

type DeleteResourceConfigOutput

type DeleteResourceConfigOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteRetentionConfigurationInput

type DeleteRetentionConfigurationInput struct {

	// The name of the retention configuration to delete.
	//
	// This member is required.
	RetentionConfigurationName *string
	// contains filtered or unexported fields
}

type DeleteRetentionConfigurationOutput

type DeleteRetentionConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteServiceLinkedConfigurationRecorderInput added in v1.51.0

type DeleteServiceLinkedConfigurationRecorderInput struct {

	// The service principal of the Amazon Web Services service for the service-linked
	// configuration recorder that you want to delete.
	//
	// This member is required.
	ServicePrincipal *string
	// contains filtered or unexported fields
}

type DeleteServiceLinkedConfigurationRecorderOutput added in v1.51.0

type DeleteServiceLinkedConfigurationRecorderOutput struct {

	// The Amazon Resource Name (ARN) of the specified configuration recorder.
	//
	// This member is required.
	Arn *string

	// The name of the specified configuration recorder.
	//
	// This member is required.
	Name *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteStoredQueryInput added in v1.2.0

type DeleteStoredQueryInput struct {

	// The name of the query that you want to delete.
	//
	// This member is required.
	QueryName *string
	// contains filtered or unexported fields
}

type DeleteStoredQueryOutput added in v1.2.0

type DeleteStoredQueryOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeliverConfigSnapshotInput

type DeliverConfigSnapshotInput struct {

	// The name of the delivery channel through which the snapshot is delivered.
	//
	// This member is required.
	DeliveryChannelName *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The output for the DeliverConfigSnapshot action, in JSON format.

type DescribeAggregateComplianceByConfigRulesAPIClient added in v1.5.0

type DescribeAggregateComplianceByConfigRulesAPIClient interface {
	DescribeAggregateComplianceByConfigRules(context.Context, *DescribeAggregateComplianceByConfigRulesInput, ...func(*Options)) (*DescribeAggregateComplianceByConfigRulesOutput, error)
}

DescribeAggregateComplianceByConfigRulesAPIClient is a client that implements the DescribeAggregateComplianceByConfigRules operation.

type DescribeAggregateComplianceByConfigRulesInput

type DescribeAggregateComplianceByConfigRulesInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// Filters the results by ConfigRuleComplianceFilters object.
	Filters *types.ConfigRuleComplianceFilters

	// The maximum number of evaluation results returned on each page. The default is
	// maximum. If you specify 0, 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
	// contains filtered or unexported fields
}

type DescribeAggregateComplianceByConfigRulesOutput

type DescribeAggregateComplianceByConfigRulesOutput struct {

	// Returns a list of AggregateComplianceByConfigRule object.
	AggregateComplianceByConfigRules []types.AggregateComplianceByConfigRule

	// 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
	// contains filtered or unexported fields
}

type DescribeAggregateComplianceByConfigRulesPaginator added in v1.5.0

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

DescribeAggregateComplianceByConfigRulesPaginator is a paginator for DescribeAggregateComplianceByConfigRules

func NewDescribeAggregateComplianceByConfigRulesPaginator added in v1.5.0

NewDescribeAggregateComplianceByConfigRulesPaginator returns a new DescribeAggregateComplianceByConfigRulesPaginator

func (*DescribeAggregateComplianceByConfigRulesPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeAggregateComplianceByConfigRulesPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeAggregateComplianceByConfigRules page.

type DescribeAggregateComplianceByConfigRulesPaginatorOptions added in v1.5.0

type DescribeAggregateComplianceByConfigRulesPaginatorOptions struct {
	// The maximum number of evaluation results returned on each page. The default is
	// maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeAggregateComplianceByConfigRulesPaginatorOptions is the paginator options for DescribeAggregateComplianceByConfigRules

type DescribeAggregateComplianceByConformancePacksAPIClient added in v1.5.0

type DescribeAggregateComplianceByConformancePacksAPIClient interface {
	DescribeAggregateComplianceByConformancePacks(context.Context, *DescribeAggregateComplianceByConformancePacksInput, ...func(*Options)) (*DescribeAggregateComplianceByConformancePacksOutput, error)
}

DescribeAggregateComplianceByConformancePacksAPIClient is a client that implements the DescribeAggregateComplianceByConformancePacks operation.

type DescribeAggregateComplianceByConformancePacksInput added in v1.3.0

type DescribeAggregateComplianceByConformancePacksInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// Filters the result by AggregateConformancePackComplianceFilters object.
	Filters *types.AggregateConformancePackComplianceFilters

	// The maximum number of conformance packs compliance details returned on each
	// page. The default is maximum. If you specify 0, 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
	// contains filtered or unexported fields
}

type DescribeAggregateComplianceByConformancePacksOutput added in v1.3.0

type DescribeAggregateComplianceByConformancePacksOutput struct {

	// Returns the AggregateComplianceByConformancePack object.
	AggregateComplianceByConformancePacks []types.AggregateComplianceByConformancePack

	// 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
	// contains filtered or unexported fields
}

type DescribeAggregateComplianceByConformancePacksPaginator added in v1.5.0

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

DescribeAggregateComplianceByConformancePacksPaginator is a paginator for DescribeAggregateComplianceByConformancePacks

func NewDescribeAggregateComplianceByConformancePacksPaginator added in v1.5.0

NewDescribeAggregateComplianceByConformancePacksPaginator returns a new DescribeAggregateComplianceByConformancePacksPaginator

func (*DescribeAggregateComplianceByConformancePacksPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeAggregateComplianceByConformancePacksPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeAggregateComplianceByConformancePacks page.

type DescribeAggregateComplianceByConformancePacksPaginatorOptions added in v1.5.0

type DescribeAggregateComplianceByConformancePacksPaginatorOptions struct {
	// The maximum number of conformance packs compliance details returned on each
	// page. The default is maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeAggregateComplianceByConformancePacksPaginatorOptions is the paginator options for DescribeAggregateComplianceByConformancePacks

type DescribeAggregationAuthorizationsAPIClient added in v1.5.0

type DescribeAggregationAuthorizationsAPIClient interface {
	DescribeAggregationAuthorizations(context.Context, *DescribeAggregationAuthorizationsInput, ...func(*Options)) (*DescribeAggregationAuthorizationsOutput, error)
}

DescribeAggregationAuthorizationsAPIClient is a client that implements the DescribeAggregationAuthorizations operation.

type DescribeAggregationAuthorizationsInput

type DescribeAggregationAuthorizationsInput struct {

	// The maximum number of AggregationAuthorizations returned on each page. The
	// default is maximum. If you specify 0, 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribeAggregationAuthorizationsPaginator added in v1.5.0

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

DescribeAggregationAuthorizationsPaginator is a paginator for DescribeAggregationAuthorizations

func NewDescribeAggregationAuthorizationsPaginator added in v1.5.0

NewDescribeAggregationAuthorizationsPaginator returns a new DescribeAggregationAuthorizationsPaginator

func (*DescribeAggregationAuthorizationsPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeAggregationAuthorizationsPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeAggregationAuthorizations page.

type DescribeAggregationAuthorizationsPaginatorOptions added in v1.5.0

type DescribeAggregationAuthorizationsPaginatorOptions struct {
	// The maximum number of AggregationAuthorizations returned on each page. The
	// default is maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeAggregationAuthorizationsPaginatorOptions is the paginator options for DescribeAggregationAuthorizations

type DescribeComplianceByConfigRuleAPIClient added in v1.5.0

type DescribeComplianceByConfigRuleAPIClient interface {
	DescribeComplianceByConfigRule(context.Context, *DescribeComplianceByConfigRuleInput, ...func(*Options)) (*DescribeComplianceByConfigRuleOutput, error)
}

DescribeComplianceByConfigRuleAPIClient is a client that implements the DescribeComplianceByConfigRule operation.

type DescribeComplianceByConfigRuleInput

type DescribeComplianceByConfigRuleInput struct {

	// Filters the results by compliance.
	ComplianceTypes []types.ComplianceType

	// Specify one or more 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
	// contains filtered or unexported fields
}

type DescribeComplianceByConfigRuleOutput

type DescribeComplianceByConfigRuleOutput struct {

	// Indicates whether each of the specified 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
	// contains filtered or unexported fields
}

type DescribeComplianceByConfigRulePaginator added in v1.5.0

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

DescribeComplianceByConfigRulePaginator is a paginator for DescribeComplianceByConfigRule

func NewDescribeComplianceByConfigRulePaginator added in v1.5.0

NewDescribeComplianceByConfigRulePaginator returns a new DescribeComplianceByConfigRulePaginator

func (*DescribeComplianceByConfigRulePaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeComplianceByConfigRulePaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeComplianceByConfigRule page.

type DescribeComplianceByConfigRulePaginatorOptions added in v1.5.0

type DescribeComplianceByConfigRulePaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeComplianceByConfigRulePaginatorOptions is the paginator options for DescribeComplianceByConfigRule

type DescribeComplianceByResourceAPIClient added in v1.5.0

type DescribeComplianceByResourceAPIClient interface {
	DescribeComplianceByResource(context.Context, *DescribeComplianceByResourceInput, ...func(*Options)) (*DescribeComplianceByResourceOutput, error)
}

DescribeComplianceByResourceAPIClient is a client that implements the DescribeComplianceByResource operation.

type DescribeComplianceByResourceInput

type DescribeComplianceByResourceInput struct {

	// Filters the results by compliance.
	ComplianceTypes []types.ComplianceType

	// 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, 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 ID of the Amazon Web Services 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 types of Amazon Web Services resources for which you want compliance
	// information (for example, AWS::EC2::Instance ). For this operation, you can
	// specify that the resource type is an Amazon Web Services account by specifying
	// AWS::::Account .
	ResourceType *string
	// contains filtered or unexported fields
}

type DescribeComplianceByResourceOutput

type DescribeComplianceByResourceOutput struct {

	// Indicates whether the specified Amazon Web Services resource complies with all
	// of the Config rules that evaluate it.
	ComplianceByResources []types.ComplianceByResource

	// 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
	// contains filtered or unexported fields
}

type DescribeComplianceByResourcePaginator added in v1.5.0

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

DescribeComplianceByResourcePaginator is a paginator for DescribeComplianceByResource

func NewDescribeComplianceByResourcePaginator added in v1.5.0

NewDescribeComplianceByResourcePaginator returns a new DescribeComplianceByResourcePaginator

func (*DescribeComplianceByResourcePaginator) HasMorePages added in v1.5.0

func (p *DescribeComplianceByResourcePaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeComplianceByResourcePaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeComplianceByResource page.

type DescribeComplianceByResourcePaginatorOptions added in v1.5.0

type DescribeComplianceByResourcePaginatorOptions 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, Config uses
	// the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeComplianceByResourcePaginatorOptions is the paginator options for DescribeComplianceByResource

type DescribeConfigRuleEvaluationStatusAPIClient added in v1.5.0

type DescribeConfigRuleEvaluationStatusAPIClient interface {
	DescribeConfigRuleEvaluationStatus(context.Context, *DescribeConfigRuleEvaluationStatusInput, ...func(*Options)) (*DescribeConfigRuleEvaluationStatusOutput, error)
}

DescribeConfigRuleEvaluationStatusAPIClient is a client that implements the DescribeConfigRuleEvaluationStatus operation.

type DescribeConfigRuleEvaluationStatusInput

type DescribeConfigRuleEvaluationStatusInput struct {

	// The name of the Config managed rules for which you want status information. If
	// you do not specify any names, Config returns status information for all Config
	// managed rules that you use.
	ConfigRuleNames []string

	// The number of rule evaluation results that you want returned.
	//
	// This parameter is required if the rule limit for your account is more than the
	// default of 1000 rules.
	//
	// For information about requesting a rule limit increase, see [Config Limits] in the Amazon Web
	// Services General Reference Guide.
	//
	// [Config Limits]: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config
	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
	// contains filtered or unexported fields
}

type DescribeConfigRuleEvaluationStatusOutput

type DescribeConfigRuleEvaluationStatusOutput struct {

	// Status information about your Config managed 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
	// contains filtered or unexported fields
}

type DescribeConfigRuleEvaluationStatusPaginator added in v1.5.0

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

DescribeConfigRuleEvaluationStatusPaginator is a paginator for DescribeConfigRuleEvaluationStatus

func NewDescribeConfigRuleEvaluationStatusPaginator added in v1.5.0

NewDescribeConfigRuleEvaluationStatusPaginator returns a new DescribeConfigRuleEvaluationStatusPaginator

func (*DescribeConfigRuleEvaluationStatusPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConfigRuleEvaluationStatusPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeConfigRuleEvaluationStatus page.

type DescribeConfigRuleEvaluationStatusPaginatorOptions added in v1.5.0

type DescribeConfigRuleEvaluationStatusPaginatorOptions struct {
	// The number of rule evaluation results that you want returned.
	//
	// This parameter is required if the rule limit for your account is more than the
	// default of 1000 rules.
	//
	// For information about requesting a rule limit increase, see [Config Limits] in the Amazon Web
	// Services General Reference Guide.
	//
	// [Config Limits]: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConfigRuleEvaluationStatusPaginatorOptions is the paginator options for DescribeConfigRuleEvaluationStatus

type DescribeConfigRulesAPIClient added in v1.5.0

type DescribeConfigRulesAPIClient interface {
	DescribeConfigRules(context.Context, *DescribeConfigRulesInput, ...func(*Options)) (*DescribeConfigRulesOutput, error)
}

DescribeConfigRulesAPIClient is a client that implements the DescribeConfigRules operation.

type DescribeConfigRulesInput

type DescribeConfigRulesInput struct {

	// The names of the Config rules for which you want details. If you do not specify
	// any names, Config returns details for all your rules.
	ConfigRuleNames []string

	// Returns a list of Detective or Proactive Config rules. By default, this API
	// returns an unfiltered list. For more information on Detective or Proactive
	// Config rules, see [Evaluation Mode]in the Config Developer Guide.
	//
	// [Evaluation Mode]: https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config-rules.html
	Filters *types.DescribeConfigRulesFilters

	// The nextToken string returned on a previous page that you use to get the next
	// page of results in a paginated response.
	NextToken *string
	// contains filtered or unexported fields
}

type DescribeConfigRulesOutput

type DescribeConfigRulesOutput struct {

	// The details about your 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
	// contains filtered or unexported fields
}

type DescribeConfigRulesPaginator added in v1.5.0

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

DescribeConfigRulesPaginator is a paginator for DescribeConfigRules

func NewDescribeConfigRulesPaginator added in v1.5.0

func NewDescribeConfigRulesPaginator(client DescribeConfigRulesAPIClient, params *DescribeConfigRulesInput, optFns ...func(*DescribeConfigRulesPaginatorOptions)) *DescribeConfigRulesPaginator

NewDescribeConfigRulesPaginator returns a new DescribeConfigRulesPaginator

func (*DescribeConfigRulesPaginator) HasMorePages added in v1.5.0

func (p *DescribeConfigRulesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConfigRulesPaginator) NextPage added in v1.5.0

func (p *DescribeConfigRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeConfigRulesOutput, error)

NextPage retrieves the next DescribeConfigRules page.

type DescribeConfigRulesPaginatorOptions added in v1.5.0

type DescribeConfigRulesPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConfigRulesPaginatorOptions is the paginator options for DescribeConfigRules

type DescribeConfigurationAggregatorSourcesStatusAPIClient added in v1.5.0

type DescribeConfigurationAggregatorSourcesStatusAPIClient interface {
	DescribeConfigurationAggregatorSourcesStatus(context.Context, *DescribeConfigurationAggregatorSourcesStatusInput, ...func(*Options)) (*DescribeConfigurationAggregatorSourcesStatusOutput, error)
}

DescribeConfigurationAggregatorSourcesStatusAPIClient is a client that implements the DescribeConfigurationAggregatorSourcesStatus operation.

type DescribeConfigurationAggregatorSourcesStatusInput

type DescribeConfigurationAggregatorSourcesStatusInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// The maximum number of AggregatorSourceStatus returned on each page. The default
	// is maximum. If you specify 0, 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

	// 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribeConfigurationAggregatorSourcesStatusPaginator added in v1.5.0

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

DescribeConfigurationAggregatorSourcesStatusPaginator is a paginator for DescribeConfigurationAggregatorSourcesStatus

func NewDescribeConfigurationAggregatorSourcesStatusPaginator added in v1.5.0

NewDescribeConfigurationAggregatorSourcesStatusPaginator returns a new DescribeConfigurationAggregatorSourcesStatusPaginator

func (*DescribeConfigurationAggregatorSourcesStatusPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConfigurationAggregatorSourcesStatusPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeConfigurationAggregatorSourcesStatus page.

type DescribeConfigurationAggregatorSourcesStatusPaginatorOptions added in v1.5.0

type DescribeConfigurationAggregatorSourcesStatusPaginatorOptions struct {
	// The maximum number of AggregatorSourceStatus returned on each page. The default
	// is maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConfigurationAggregatorSourcesStatusPaginatorOptions is the paginator options for DescribeConfigurationAggregatorSourcesStatus

type DescribeConfigurationAggregatorsAPIClient added in v1.5.0

type DescribeConfigurationAggregatorsAPIClient interface {
	DescribeConfigurationAggregators(context.Context, *DescribeConfigurationAggregatorsInput, ...func(*Options)) (*DescribeConfigurationAggregatorsOutput, error)
}

DescribeConfigurationAggregatorsAPIClient is a client that implements the DescribeConfigurationAggregators operation.

type DescribeConfigurationAggregatorsInput

type DescribeConfigurationAggregatorsInput struct {

	// The name of the configuration aggregators.
	ConfigurationAggregatorNames []string

	// The maximum number of configuration aggregators returned on each page. The
	// default is maximum. If you specify 0, 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribeConfigurationAggregatorsPaginator added in v1.5.0

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

DescribeConfigurationAggregatorsPaginator is a paginator for DescribeConfigurationAggregators

func NewDescribeConfigurationAggregatorsPaginator added in v1.5.0

NewDescribeConfigurationAggregatorsPaginator returns a new DescribeConfigurationAggregatorsPaginator

func (*DescribeConfigurationAggregatorsPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConfigurationAggregatorsPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeConfigurationAggregators page.

type DescribeConfigurationAggregatorsPaginatorOptions added in v1.5.0

type DescribeConfigurationAggregatorsPaginatorOptions struct {
	// The maximum number of configuration aggregators returned on each page. The
	// default is maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConfigurationAggregatorsPaginatorOptions is the paginator options for DescribeConfigurationAggregators

type DescribeConfigurationRecorderStatusInput

type DescribeConfigurationRecorderStatusInput struct {

	// The Amazon Resource Name (ARN) of the configuration recorder that you want to
	// specify.
	Arn *string

	// The name of the configuration recorder. If the name is not specified, the
	// opertation returns the status for the customer managed configuration recorder
	// configured for the account, if applicable.
	//
	// When making a request to this operation, you can only specify one configuration
	// recorder.
	ConfigurationRecorderNames []string

	// For service-linked configuration recorders, you can use the service principal
	// of the linked Amazon Web Services service to specify the configuration recorder.
	ServicePrincipal *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The output for the DescribeConfigurationRecorderStatus action, in JSON format.

type DescribeConfigurationRecordersInput

type DescribeConfigurationRecordersInput struct {

	// The Amazon Resource Name (ARN) of the configuration recorder that you want to
	// specify.
	Arn *string

	// A list of names of the configuration recorders that you want to specify.
	ConfigurationRecorderNames []string

	// For service-linked configuration recorders, you can use the service principal
	// of the linked Amazon Web Services service to specify the configuration recorder.
	ServicePrincipal *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The output for the DescribeConfigurationRecorders action.

type DescribeConformancePackComplianceAPIClient added in v1.5.0

type DescribeConformancePackComplianceAPIClient interface {
	DescribeConformancePackCompliance(context.Context, *DescribeConformancePackComplianceInput, ...func(*Options)) (*DescribeConformancePackComplianceOutput, error)
}

DescribeConformancePackComplianceAPIClient is a client that implements the DescribeConformancePackCompliance operation.

type DescribeConformancePackComplianceInput

type DescribeConformancePackComplianceInput struct {

	// Name of the conformance pack.
	//
	// This member is required.
	ConformancePackName *string

	// A ConformancePackComplianceFilters object.
	Filters *types.ConformancePackComplianceFilters

	// The maximum number of 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
	// contains filtered or unexported fields
}

type DescribeConformancePackComplianceOutput

type DescribeConformancePackComplianceOutput struct {

	// Name of the conformance pack.
	//
	// This member is required.
	ConformancePackName *string

	// Returns a list of ConformancePackRuleCompliance objects.
	//
	// This member is required.
	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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeConformancePackCompliancePaginator added in v1.5.0

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

DescribeConformancePackCompliancePaginator is a paginator for DescribeConformancePackCompliance

func NewDescribeConformancePackCompliancePaginator added in v1.5.0

NewDescribeConformancePackCompliancePaginator returns a new DescribeConformancePackCompliancePaginator

func (*DescribeConformancePackCompliancePaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConformancePackCompliancePaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeConformancePackCompliance page.

type DescribeConformancePackCompliancePaginatorOptions added in v1.5.0

type DescribeConformancePackCompliancePaginatorOptions struct {
	// The maximum number of Config rules within a conformance pack are returned on
	// each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConformancePackCompliancePaginatorOptions is the paginator options for DescribeConformancePackCompliance

type DescribeConformancePackStatusAPIClient added in v1.5.0

type DescribeConformancePackStatusAPIClient interface {
	DescribeConformancePackStatus(context.Context, *DescribeConformancePackStatusInput, ...func(*Options)) (*DescribeConformancePackStatusOutput, error)
}

DescribeConformancePackStatusAPIClient is a client that implements the DescribeConformancePackStatus operation.

type DescribeConformancePackStatusInput

type DescribeConformancePackStatusInput struct {

	// Comma-separated list of conformance pack names.
	ConformancePackNames []string

	// The maximum number of conformance packs status 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribeConformancePackStatusPaginator added in v1.5.0

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

DescribeConformancePackStatusPaginator is a paginator for DescribeConformancePackStatus

func NewDescribeConformancePackStatusPaginator added in v1.5.0

NewDescribeConformancePackStatusPaginator returns a new DescribeConformancePackStatusPaginator

func (*DescribeConformancePackStatusPaginator) HasMorePages added in v1.5.0

func (p *DescribeConformancePackStatusPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConformancePackStatusPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeConformancePackStatus page.

type DescribeConformancePackStatusPaginatorOptions added in v1.5.0

type DescribeConformancePackStatusPaginatorOptions struct {
	// The maximum number of conformance packs status returned on each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConformancePackStatusPaginatorOptions is the paginator options for DescribeConformancePackStatus

type DescribeConformancePacksAPIClient added in v1.5.0

type DescribeConformancePacksAPIClient interface {
	DescribeConformancePacks(context.Context, *DescribeConformancePacksInput, ...func(*Options)) (*DescribeConformancePacksOutput, error)
}

DescribeConformancePacksAPIClient is a client that implements the DescribeConformancePacks operation.

type DescribeConformancePacksInput

type DescribeConformancePacksInput struct {

	// Comma-separated list of conformance pack names for which you want details. If
	// you do not specify any names, 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
	// contains filtered or unexported fields
}

type DescribeConformancePacksOutput

type DescribeConformancePacksOutput struct {

	// Returns a list of ConformancePackDetail objects.
	ConformancePackDetails []types.ConformancePackDetail

	// 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
	// contains filtered or unexported fields
}

type DescribeConformancePacksPaginator added in v1.5.0

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

DescribeConformancePacksPaginator is a paginator for DescribeConformancePacks

func NewDescribeConformancePacksPaginator added in v1.5.0

NewDescribeConformancePacksPaginator returns a new DescribeConformancePacksPaginator

func (*DescribeConformancePacksPaginator) HasMorePages added in v1.5.0

func (p *DescribeConformancePacksPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeConformancePacksPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeConformancePacks page.

type DescribeConformancePacksPaginatorOptions added in v1.5.0

type DescribeConformancePacksPaginatorOptions struct {
	// The maximum number of conformance packs returned on each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeConformancePacksPaginatorOptions is the paginator options for DescribeConformancePacks

type DescribeDeliveryChannelStatusInput

type DescribeDeliveryChannelStatusInput struct {

	// A list of delivery channel names.
	DeliveryChannelNames []string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The output for the DescribeDeliveryChannelStatus action.

type DescribeDeliveryChannelsInput

type DescribeDeliveryChannelsInput struct {

	// A list of delivery channel names.
	DeliveryChannelNames []string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The output for the DescribeDeliveryChannels action.

type DescribeOrganizationConfigRuleStatusesAPIClient added in v1.5.0

type DescribeOrganizationConfigRuleStatusesAPIClient interface {
	DescribeOrganizationConfigRuleStatuses(context.Context, *DescribeOrganizationConfigRuleStatusesInput, ...func(*Options)) (*DescribeOrganizationConfigRuleStatusesOutput, error)
}

DescribeOrganizationConfigRuleStatusesAPIClient is a client that implements the DescribeOrganizationConfigRuleStatuses operation.

type DescribeOrganizationConfigRuleStatusesInput

type DescribeOrganizationConfigRuleStatusesInput struct {

	// The maximum number of OrganizationConfigRuleStatuses returned on each page. If
	// you do no specify a number, 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

	// The names of organization Config rules for which you want status details. If
	// you do not specify any names, Config returns details for all your organization
	// Config rules.
	OrganizationConfigRuleNames []string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribeOrganizationConfigRuleStatusesPaginator added in v1.5.0

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

DescribeOrganizationConfigRuleStatusesPaginator is a paginator for DescribeOrganizationConfigRuleStatuses

func NewDescribeOrganizationConfigRuleStatusesPaginator added in v1.5.0

NewDescribeOrganizationConfigRuleStatusesPaginator returns a new DescribeOrganizationConfigRuleStatusesPaginator

func (*DescribeOrganizationConfigRuleStatusesPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeOrganizationConfigRuleStatusesPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeOrganizationConfigRuleStatuses page.

type DescribeOrganizationConfigRuleStatusesPaginatorOptions added in v1.5.0

type DescribeOrganizationConfigRuleStatusesPaginatorOptions struct {
	// The maximum number of OrganizationConfigRuleStatuses returned on each page. If
	// you do no specify a number, Config uses the default. The default is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeOrganizationConfigRuleStatusesPaginatorOptions is the paginator options for DescribeOrganizationConfigRuleStatuses

type DescribeOrganizationConfigRulesAPIClient added in v1.5.0

type DescribeOrganizationConfigRulesAPIClient interface {
	DescribeOrganizationConfigRules(context.Context, *DescribeOrganizationConfigRulesInput, ...func(*Options)) (*DescribeOrganizationConfigRulesOutput, error)
}

DescribeOrganizationConfigRulesAPIClient is a client that implements the DescribeOrganizationConfigRules operation.

type DescribeOrganizationConfigRulesInput

type DescribeOrganizationConfigRulesInput struct {

	// The maximum number of organization Config rules returned on each page. If you
	// do no specify a number, 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

	// The names of organization Config rules for which you want details. If you do
	// not specify any names, Config returns details for all your organization Config
	// rules.
	OrganizationConfigRuleNames []string
	// contains filtered or unexported fields
}

type DescribeOrganizationConfigRulesOutput

type DescribeOrganizationConfigRulesOutput 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 OrganizationConfigRule objects.
	OrganizationConfigRules []types.OrganizationConfigRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeOrganizationConfigRulesPaginator added in v1.5.0

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

DescribeOrganizationConfigRulesPaginator is a paginator for DescribeOrganizationConfigRules

func NewDescribeOrganizationConfigRulesPaginator added in v1.5.0

NewDescribeOrganizationConfigRulesPaginator returns a new DescribeOrganizationConfigRulesPaginator

func (*DescribeOrganizationConfigRulesPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeOrganizationConfigRulesPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeOrganizationConfigRules page.

type DescribeOrganizationConfigRulesPaginatorOptions added in v1.5.0

type DescribeOrganizationConfigRulesPaginatorOptions struct {
	// The maximum number of organization Config rules returned on each page. If you
	// do no specify a number, Config uses the default. The default is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeOrganizationConfigRulesPaginatorOptions is the paginator options for DescribeOrganizationConfigRules

type DescribeOrganizationConformancePackStatusesAPIClient added in v1.5.0

type DescribeOrganizationConformancePackStatusesAPIClient interface {
	DescribeOrganizationConformancePackStatuses(context.Context, *DescribeOrganizationConformancePackStatusesInput, ...func(*Options)) (*DescribeOrganizationConformancePackStatusesOutput, error)
}

DescribeOrganizationConformancePackStatusesAPIClient is a client that implements the DescribeOrganizationConformancePackStatuses operation.

type DescribeOrganizationConformancePackStatusesInput

type DescribeOrganizationConformancePackStatusesInput struct {

	// The maximum number of OrganizationConformancePackStatuses returned on each
	// page. If you do no specify a number, 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

	// The names of organization conformance packs for which you want status details.
	// If you do not specify any names, Config returns details for all your
	// organization conformance packs.
	OrganizationConformancePackNames []string
	// contains filtered or unexported fields
}

type DescribeOrganizationConformancePackStatusesOutput

type DescribeOrganizationConformancePackStatusesOutput 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 OrganizationConformancePackStatus objects.
	OrganizationConformancePackStatuses []types.OrganizationConformancePackStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeOrganizationConformancePackStatusesPaginator added in v1.5.0

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

DescribeOrganizationConformancePackStatusesPaginator is a paginator for DescribeOrganizationConformancePackStatuses

func NewDescribeOrganizationConformancePackStatusesPaginator added in v1.5.0

NewDescribeOrganizationConformancePackStatusesPaginator returns a new DescribeOrganizationConformancePackStatusesPaginator

func (*DescribeOrganizationConformancePackStatusesPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeOrganizationConformancePackStatusesPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeOrganizationConformancePackStatuses page.

type DescribeOrganizationConformancePackStatusesPaginatorOptions added in v1.5.0

type DescribeOrganizationConformancePackStatusesPaginatorOptions struct {
	// The maximum number of OrganizationConformancePackStatuses returned on each
	// page. If you do no specify a number, Config uses the default. The default is
	// 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeOrganizationConformancePackStatusesPaginatorOptions is the paginator options for DescribeOrganizationConformancePackStatuses

type DescribeOrganizationConformancePacksAPIClient added in v1.5.0

type DescribeOrganizationConformancePacksAPIClient interface {
	DescribeOrganizationConformancePacks(context.Context, *DescribeOrganizationConformancePacksInput, ...func(*Options)) (*DescribeOrganizationConformancePacksOutput, error)
}

DescribeOrganizationConformancePacksAPIClient is a client that implements the DescribeOrganizationConformancePacks operation.

type DescribeOrganizationConformancePacksInput

type DescribeOrganizationConformancePacksInput struct {

	// The maximum number of organization config packs returned on each page. If you
	// do no specify a number, 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

	// The name that you assign to an organization conformance pack.
	OrganizationConformancePackNames []string
	// contains filtered or unexported fields
}

type DescribeOrganizationConformancePacksOutput

type DescribeOrganizationConformancePacksOutput 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 OrganizationConformancePacks objects.
	OrganizationConformancePacks []types.OrganizationConformancePack

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeOrganizationConformancePacksPaginator added in v1.5.0

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

DescribeOrganizationConformancePacksPaginator is a paginator for DescribeOrganizationConformancePacks

func NewDescribeOrganizationConformancePacksPaginator added in v1.5.0

NewDescribeOrganizationConformancePacksPaginator returns a new DescribeOrganizationConformancePacksPaginator

func (*DescribeOrganizationConformancePacksPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeOrganizationConformancePacksPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeOrganizationConformancePacks page.

type DescribeOrganizationConformancePacksPaginatorOptions added in v1.5.0

type DescribeOrganizationConformancePacksPaginatorOptions struct {
	// The maximum number of organization config packs returned on each page. If you
	// do no specify a number, Config uses the default. The default is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeOrganizationConformancePacksPaginatorOptions is the paginator options for DescribeOrganizationConformancePacks

type DescribePendingAggregationRequestsAPIClient added in v1.5.0

type DescribePendingAggregationRequestsAPIClient interface {
	DescribePendingAggregationRequests(context.Context, *DescribePendingAggregationRequestsInput, ...func(*Options)) (*DescribePendingAggregationRequestsOutput, error)
}

DescribePendingAggregationRequestsAPIClient is a client that implements the DescribePendingAggregationRequests operation.

type DescribePendingAggregationRequestsInput

type DescribePendingAggregationRequestsInput struct {

	// The maximum number of evaluation results returned on each page. The default is
	// maximum. If you specify 0, 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribePendingAggregationRequestsPaginator added in v1.5.0

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

DescribePendingAggregationRequestsPaginator is a paginator for DescribePendingAggregationRequests

func NewDescribePendingAggregationRequestsPaginator added in v1.5.0

NewDescribePendingAggregationRequestsPaginator returns a new DescribePendingAggregationRequestsPaginator

func (*DescribePendingAggregationRequestsPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribePendingAggregationRequestsPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribePendingAggregationRequests page.

type DescribePendingAggregationRequestsPaginatorOptions added in v1.5.0

type DescribePendingAggregationRequestsPaginatorOptions struct {
	// The maximum number of evaluation results returned on each page. The default is
	// maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribePendingAggregationRequestsPaginatorOptions is the paginator options for DescribePendingAggregationRequests

type DescribeRemediationConfigurationsInput

type DescribeRemediationConfigurationsInput struct {

	// A list of Config rule names of remediation configurations for which you want
	// details.
	//
	// This member is required.
	ConfigRuleNames []string
	// contains filtered or unexported fields
}

type DescribeRemediationConfigurationsOutput

type DescribeRemediationConfigurationsOutput struct {

	// Returns a remediation configuration object.
	RemediationConfigurations []types.RemediationConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeRemediationExceptionsAPIClient added in v0.30.0

type DescribeRemediationExceptionsAPIClient interface {
	DescribeRemediationExceptions(context.Context, *DescribeRemediationExceptionsInput, ...func(*Options)) (*DescribeRemediationExceptionsOutput, error)
}

DescribeRemediationExceptionsAPIClient is a client that implements the DescribeRemediationExceptions operation.

type DescribeRemediationExceptionsInput

type DescribeRemediationExceptionsInput struct {

	// The name of the Config rule.
	//
	// This member is required.
	ConfigRuleName *string

	// The maximum number of RemediationExceptionResourceKey returned on each page.
	// The default is 25. If you specify 0, 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. Config adds exception for each resource key. For example, Config adds 3
	// exceptions for 3 resource keys.
	ResourceKeys []types.RemediationExceptionResourceKey
	// contains filtered or unexported fields
}

type DescribeRemediationExceptionsOutput

type DescribeRemediationExceptionsOutput 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 remediation exception objects.
	RemediationExceptions []types.RemediationException

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeRemediationExceptionsPaginator added in v0.30.0

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

DescribeRemediationExceptionsPaginator is a paginator for DescribeRemediationExceptions

func NewDescribeRemediationExceptionsPaginator added in v0.30.0

NewDescribeRemediationExceptionsPaginator returns a new DescribeRemediationExceptionsPaginator

func (*DescribeRemediationExceptionsPaginator) HasMorePages added in v0.30.0

func (p *DescribeRemediationExceptionsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeRemediationExceptionsPaginator) NextPage added in v0.30.0

NextPage retrieves the next DescribeRemediationExceptions page.

type DescribeRemediationExceptionsPaginatorOptions added in v0.30.0

type DescribeRemediationExceptionsPaginatorOptions struct {
	// The maximum number of RemediationExceptionResourceKey returned on each page.
	// The default is 25. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeRemediationExceptionsPaginatorOptions is the paginator options for DescribeRemediationExceptions

type DescribeRemediationExecutionStatusAPIClient added in v0.30.0

type DescribeRemediationExecutionStatusAPIClient interface {
	DescribeRemediationExecutionStatus(context.Context, *DescribeRemediationExecutionStatusInput, ...func(*Options)) (*DescribeRemediationExecutionStatusOutput, error)
}

DescribeRemediationExecutionStatusAPIClient is a client that implements the DescribeRemediationExecutionStatus operation.

type DescribeRemediationExecutionStatusInput

type DescribeRemediationExecutionStatusInput struct {

	// The name of the Config rule.
	//
	// This member is required.
	ConfigRuleName *string

	// The maximum number of RemediationExecutionStatuses returned on each page. The
	// default is maximum. If you specify 0, 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

	// 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
	// contains filtered or unexported fields
}

type DescribeRemediationExecutionStatusOutput

type DescribeRemediationExecutionStatusOutput 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 remediation execution statuses objects.
	RemediationExecutionStatuses []types.RemediationExecutionStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeRemediationExecutionStatusPaginator added in v0.30.0

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

DescribeRemediationExecutionStatusPaginator is a paginator for DescribeRemediationExecutionStatus

func NewDescribeRemediationExecutionStatusPaginator added in v0.30.0

NewDescribeRemediationExecutionStatusPaginator returns a new DescribeRemediationExecutionStatusPaginator

func (*DescribeRemediationExecutionStatusPaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeRemediationExecutionStatusPaginator) NextPage added in v0.30.0

NextPage retrieves the next DescribeRemediationExecutionStatus page.

type DescribeRemediationExecutionStatusPaginatorOptions added in v0.30.0

type DescribeRemediationExecutionStatusPaginatorOptions struct {
	// The maximum number of RemediationExecutionStatuses returned on each page. The
	// default is maximum. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeRemediationExecutionStatusPaginatorOptions is the paginator options for DescribeRemediationExecutionStatus

type DescribeRetentionConfigurationsAPIClient added in v1.5.0

type DescribeRetentionConfigurationsAPIClient interface {
	DescribeRetentionConfigurations(context.Context, *DescribeRetentionConfigurationsInput, ...func(*Options)) (*DescribeRetentionConfigurationsOutput, error)
}

DescribeRetentionConfigurationsAPIClient is a client that implements the DescribeRetentionConfigurations operation.

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, Config returns details for all the retention
	// configurations for that account.
	//
	// Currently, Config supports only one retention configuration per region in your
	// account.
	RetentionConfigurationNames []string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type DescribeRetentionConfigurationsPaginator added in v1.5.0

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

DescribeRetentionConfigurationsPaginator is a paginator for DescribeRetentionConfigurations

func NewDescribeRetentionConfigurationsPaginator added in v1.5.0

NewDescribeRetentionConfigurationsPaginator returns a new DescribeRetentionConfigurationsPaginator

func (*DescribeRetentionConfigurationsPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeRetentionConfigurationsPaginator) NextPage added in v1.5.0

NextPage retrieves the next DescribeRetentionConfigurations page.

type DescribeRetentionConfigurationsPaginatorOptions added in v1.5.0

type DescribeRetentionConfigurationsPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeRetentionConfigurationsPaginatorOptions is the paginator options for DescribeRetentionConfigurations

type DisassociateResourceTypesInput added in v1.51.0

type DisassociateResourceTypesInput struct {

	// The Amazon Resource Name (ARN) of the specified configuration recorder.
	//
	// This member is required.
	ConfigurationRecorderArn *string

	// The list of resource types you want to remove from the recording group of the
	// specified configuration recorder.
	//
	// This member is required.
	ResourceTypes []types.ResourceType
	// contains filtered or unexported fields
}

type DisassociateResourceTypesOutput added in v1.51.0

type DisassociateResourceTypesOutput struct {

	// Records configuration changes to the resource types in scope.
	//
	// For more information about the configuration recorder, see [Working with the Configuration Recorder] in the Config
	// Developer Guide.
	//
	// [Working with the Configuration Recorder]: https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html
	//
	// This member is required.
	ConfigurationRecorder *types.ConfigurationRecorder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EndpointParameters added in v1.35.0

type EndpointParameters struct {
	// The AWS region used to dispatch the request.
	//
	// Parameter is
	// required.
	//
	// AWS::Region
	Region *string

	// When true, use the dual-stack endpoint. If the configured endpoint does not
	// support dual-stack, dispatching the request MAY return an error.
	//
	// Defaults to
	// false if no value is provided.
	//
	// AWS::UseDualStack
	UseDualStack *bool

	// When true, send this request to the FIPS-compliant regional endpoint. If the
	// configured endpoint does not have a FIPS compliant endpoint, dispatching the
	// request will return an error.
	//
	// Defaults to false if no value is
	// provided.
	//
	// AWS::UseFIPS
	UseFIPS *bool

	// Override the endpoint used to send this request
	//
	// Parameter is
	// required.
	//
	// SDK::Endpoint
	Endpoint *string
}

EndpointParameters provides the parameters that influence how endpoints are resolved.

func (EndpointParameters) ValidateRequired added in v1.35.0

func (p EndpointParameters) ValidateRequired() error

ValidateRequired validates required parameters are set.

func (EndpointParameters) WithDefaults added in v1.35.0

func (p EndpointParameters) WithDefaults() EndpointParameters

WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.

type EndpointResolver

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

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL added in v1.1.0

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options EndpointResolverOptions) (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 EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions added in v0.29.0

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type EndpointResolverV2 added in v1.35.0

type EndpointResolverV2 interface {
	// ResolveEndpoint attempts to resolve the endpoint with the provided options,
	// returning the endpoint if found. Otherwise an error is returned.
	ResolveEndpoint(ctx context.Context, params EndpointParameters) (
		smithyendpoints.Endpoint, error,
	)
}

EndpointResolverV2 provides the interface for resolving service endpoints.

func NewDefaultEndpointResolverV2 added in v1.35.0

func NewDefaultEndpointResolverV2() EndpointResolverV2

type GetAggregateComplianceDetailsByConfigRuleAPIClient added in v1.5.0

type GetAggregateComplianceDetailsByConfigRuleAPIClient interface {
	GetAggregateComplianceDetailsByConfigRule(context.Context, *GetAggregateComplianceDetailsByConfigRuleInput, ...func(*Options)) (*GetAggregateComplianceDetailsByConfigRuleOutput, error)
}

GetAggregateComplianceDetailsByConfigRuleAPIClient is a client that implements the GetAggregateComplianceDetailsByConfigRule operation.

type GetAggregateComplianceDetailsByConfigRuleInput

type GetAggregateComplianceDetailsByConfigRuleInput struct {

	// The 12-digit account ID of the source account.
	//
	// This member is required.
	AccountId *string

	// The source region from where the data is aggregated.
	//
	// This member is required.
	AwsRegion *string

	// The name of the Config rule for which you want compliance information.
	//
	// This member is required.
	ConfigRuleName *string

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// The resource compliance status.
	//
	// For the GetAggregateComplianceDetailsByConfigRuleRequest data type, Config
	// supports only the COMPLIANT and NON_COMPLIANT . Config does not support the
	// NOT_APPLICABLE and INSUFFICIENT_DATA values.
	ComplianceType types.ComplianceType

	// 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, 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
	// contains filtered or unexported fields
}

type GetAggregateComplianceDetailsByConfigRuleOutput

type GetAggregateComplianceDetailsByConfigRuleOutput struct {

	// Returns an AggregateEvaluationResults object.
	AggregateEvaluationResults []types.AggregateEvaluationResult

	// 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
	// contains filtered or unexported fields
}

type GetAggregateComplianceDetailsByConfigRulePaginator added in v1.5.0

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

GetAggregateComplianceDetailsByConfigRulePaginator is a paginator for GetAggregateComplianceDetailsByConfigRule

func NewGetAggregateComplianceDetailsByConfigRulePaginator added in v1.5.0

NewGetAggregateComplianceDetailsByConfigRulePaginator returns a new GetAggregateComplianceDetailsByConfigRulePaginator

func (*GetAggregateComplianceDetailsByConfigRulePaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetAggregateComplianceDetailsByConfigRulePaginator) NextPage added in v1.5.0

NextPage retrieves the next GetAggregateComplianceDetailsByConfigRule page.

type GetAggregateComplianceDetailsByConfigRulePaginatorOptions added in v1.5.0

type GetAggregateComplianceDetailsByConfigRulePaginatorOptions struct {
	// 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, Config uses
	// the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetAggregateComplianceDetailsByConfigRulePaginatorOptions is the paginator options for GetAggregateComplianceDetailsByConfigRule

type GetAggregateConfigRuleComplianceSummaryAPIClient added in v1.5.0

type GetAggregateConfigRuleComplianceSummaryAPIClient interface {
	GetAggregateConfigRuleComplianceSummary(context.Context, *GetAggregateConfigRuleComplianceSummaryInput, ...func(*Options)) (*GetAggregateConfigRuleComplianceSummaryOutput, error)
}

GetAggregateConfigRuleComplianceSummaryAPIClient is a client that implements the GetAggregateConfigRuleComplianceSummary operation.

type GetAggregateConfigRuleComplianceSummaryInput

type GetAggregateConfigRuleComplianceSummaryInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// Filters the results based on the ConfigRuleComplianceSummaryFilters object.
	Filters *types.ConfigRuleComplianceSummaryFilters

	// Groups the result based on ACCOUNT_ID or AWS_REGION.
	GroupByKey types.ConfigRuleComplianceSummaryGroupKey

	// 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, 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
	// contains filtered or unexported fields
}

type GetAggregateConfigRuleComplianceSummaryOutput

type GetAggregateConfigRuleComplianceSummaryOutput struct {

	// Returns a list of AggregateComplianceCounts object.
	AggregateComplianceCounts []types.AggregateComplianceCount

	// Groups the result based on ACCOUNT_ID or AWS_REGION.
	GroupByKey *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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetAggregateConfigRuleComplianceSummaryPaginator added in v1.5.0

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

GetAggregateConfigRuleComplianceSummaryPaginator is a paginator for GetAggregateConfigRuleComplianceSummary

func NewGetAggregateConfigRuleComplianceSummaryPaginator added in v1.5.0

NewGetAggregateConfigRuleComplianceSummaryPaginator returns a new GetAggregateConfigRuleComplianceSummaryPaginator

func (*GetAggregateConfigRuleComplianceSummaryPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetAggregateConfigRuleComplianceSummaryPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetAggregateConfigRuleComplianceSummary page.

type GetAggregateConfigRuleComplianceSummaryPaginatorOptions added in v1.5.0

type GetAggregateConfigRuleComplianceSummaryPaginatorOptions struct {
	// 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, Config
	// uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetAggregateConfigRuleComplianceSummaryPaginatorOptions is the paginator options for GetAggregateConfigRuleComplianceSummary

type GetAggregateConformancePackComplianceSummaryAPIClient added in v1.5.0

type GetAggregateConformancePackComplianceSummaryAPIClient interface {
	GetAggregateConformancePackComplianceSummary(context.Context, *GetAggregateConformancePackComplianceSummaryInput, ...func(*Options)) (*GetAggregateConformancePackComplianceSummaryOutput, error)
}

GetAggregateConformancePackComplianceSummaryAPIClient is a client that implements the GetAggregateConformancePackComplianceSummary operation.

type GetAggregateConformancePackComplianceSummaryInput added in v1.3.0

type GetAggregateConformancePackComplianceSummaryInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// Filters the results based on the
	// AggregateConformancePackComplianceSummaryFilters object.
	Filters *types.AggregateConformancePackComplianceSummaryFilters

	// Groups the result based on Amazon Web Services account ID or Amazon Web
	// Services Region.
	GroupByKey types.AggregateConformancePackComplianceSummaryGroupKey

	// The maximum number of results returned on each page. The default is maximum. If
	// you specify 0, 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
	// contains filtered or unexported fields
}

type GetAggregateConformancePackComplianceSummaryOutput added in v1.3.0

type GetAggregateConformancePackComplianceSummaryOutput struct {

	// Returns a list of AggregateConformancePackComplianceSummary object.
	AggregateConformancePackComplianceSummaries []types.AggregateConformancePackComplianceSummary

	// Groups the result based on Amazon Web Services account ID or Amazon Web
	// Services Region.
	GroupByKey *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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetAggregateConformancePackComplianceSummaryPaginator added in v1.5.0

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

GetAggregateConformancePackComplianceSummaryPaginator is a paginator for GetAggregateConformancePackComplianceSummary

func NewGetAggregateConformancePackComplianceSummaryPaginator added in v1.5.0

NewGetAggregateConformancePackComplianceSummaryPaginator returns a new GetAggregateConformancePackComplianceSummaryPaginator

func (*GetAggregateConformancePackComplianceSummaryPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetAggregateConformancePackComplianceSummaryPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetAggregateConformancePackComplianceSummary page.

type GetAggregateConformancePackComplianceSummaryPaginatorOptions added in v1.5.0

type GetAggregateConformancePackComplianceSummaryPaginatorOptions struct {
	// The maximum number of results returned on each page. The default is maximum. If
	// you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetAggregateConformancePackComplianceSummaryPaginatorOptions is the paginator options for GetAggregateConformancePackComplianceSummary

type GetAggregateDiscoveredResourceCountsAPIClient added in v1.5.0

type GetAggregateDiscoveredResourceCountsAPIClient interface {
	GetAggregateDiscoveredResourceCounts(context.Context, *GetAggregateDiscoveredResourceCountsInput, ...func(*Options)) (*GetAggregateDiscoveredResourceCountsOutput, error)
}

GetAggregateDiscoveredResourceCountsAPIClient is a client that implements the GetAggregateDiscoveredResourceCounts operation.

type GetAggregateDiscoveredResourceCountsInput

type GetAggregateDiscoveredResourceCountsInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// Filters the results based on the ResourceCountFilters object.
	Filters *types.ResourceCountFilters

	// The key to group the resource counts.
	GroupByKey types.ResourceCountGroupKey

	// 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, 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
	// contains filtered or unexported fields
}

type GetAggregateDiscoveredResourceCountsOutput

type GetAggregateDiscoveredResourceCountsOutput struct {

	// The total number of resources that are present in an aggregator with the
	// filters that you provide.
	//
	// This member is required.
	TotalDiscoveredResources int64

	// The key passed into the request object. If GroupByKey is not provided, the
	// result will be empty.
	GroupByKey *string

	// Returns a list of GroupedResourceCount objects.
	GroupedResourceCounts []types.GroupedResourceCount

	// 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
	// contains filtered or unexported fields
}

type GetAggregateDiscoveredResourceCountsPaginator added in v1.5.0

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

GetAggregateDiscoveredResourceCountsPaginator is a paginator for GetAggregateDiscoveredResourceCounts

func NewGetAggregateDiscoveredResourceCountsPaginator added in v1.5.0

NewGetAggregateDiscoveredResourceCountsPaginator returns a new GetAggregateDiscoveredResourceCountsPaginator

func (*GetAggregateDiscoveredResourceCountsPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetAggregateDiscoveredResourceCountsPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetAggregateDiscoveredResourceCounts page.

type GetAggregateDiscoveredResourceCountsPaginatorOptions added in v1.5.0

type GetAggregateDiscoveredResourceCountsPaginatorOptions 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, Config uses the
	// default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetAggregateDiscoveredResourceCountsPaginatorOptions is the paginator options for GetAggregateDiscoveredResourceCounts

type GetAggregateResourceConfigInput

type GetAggregateResourceConfigInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// An object that identifies aggregate resource.
	//
	// This member is required.
	ResourceIdentifier *types.AggregateResourceIdentifier
	// contains filtered or unexported fields
}

type GetAggregateResourceConfigOutput

type GetAggregateResourceConfigOutput struct {

	// Returns a ConfigurationItem object.
	ConfigurationItem *types.ConfigurationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetComplianceDetailsByConfigRuleAPIClient added in v1.5.0

type GetComplianceDetailsByConfigRuleAPIClient interface {
	GetComplianceDetailsByConfigRule(context.Context, *GetComplianceDetailsByConfigRuleInput, ...func(*Options)) (*GetComplianceDetailsByConfigRuleOutput, error)
}

GetComplianceDetailsByConfigRuleAPIClient is a client that implements the GetComplianceDetailsByConfigRule operation.

type GetComplianceDetailsByConfigRuleInput

type GetComplianceDetailsByConfigRuleInput struct {

	// The name of the Config rule for which you want compliance information.
	//
	// This member is required.
	ConfigRuleName *string

	// Filters the results by compliance.
	//
	// INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config
	// rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a
	// ComplianceType for filtering results.
	ComplianceTypes []types.ComplianceType

	// 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, 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
	// contains filtered or unexported fields
}

type GetComplianceDetailsByConfigRuleOutput

type GetComplianceDetailsByConfigRuleOutput struct {

	// Indicates whether the Amazon Web Services resource complies with the specified
	// 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
	// contains filtered or unexported fields
}

type GetComplianceDetailsByConfigRulePaginator added in v1.5.0

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

GetComplianceDetailsByConfigRulePaginator is a paginator for GetComplianceDetailsByConfigRule

func NewGetComplianceDetailsByConfigRulePaginator added in v1.5.0

NewGetComplianceDetailsByConfigRulePaginator returns a new GetComplianceDetailsByConfigRulePaginator

func (*GetComplianceDetailsByConfigRulePaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetComplianceDetailsByConfigRulePaginator) NextPage added in v1.5.0

NextPage retrieves the next GetComplianceDetailsByConfigRule page.

type GetComplianceDetailsByConfigRulePaginatorOptions added in v1.5.0

type GetComplianceDetailsByConfigRulePaginatorOptions 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, Config uses
	// the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetComplianceDetailsByConfigRulePaginatorOptions is the paginator options for GetComplianceDetailsByConfigRule

type GetComplianceDetailsByResourceAPIClient added in v1.5.0

type GetComplianceDetailsByResourceAPIClient interface {
	GetComplianceDetailsByResource(context.Context, *GetComplianceDetailsByResourceInput, ...func(*Options)) (*GetComplianceDetailsByResourceOutput, error)
}

GetComplianceDetailsByResourceAPIClient is a client that implements the GetComplianceDetailsByResource operation.

type GetComplianceDetailsByResourceInput

type GetComplianceDetailsByResourceInput struct {

	// Filters the results by compliance.
	//
	// INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config
	// rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a
	// ComplianceType for filtering results.
	ComplianceTypes []types.ComplianceType

	// 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 unique ID of Amazon Web Services resource execution for which you want to
	// retrieve evaluation results.
	//
	// You need to only provide either a ResourceEvaluationID or a ResourceID and
	// ResourceType .
	ResourceEvaluationId *string

	// The ID of the Amazon Web Services resource for which you want compliance
	// information.
	ResourceId *string

	// The type of the Amazon Web Services resource for which you want compliance
	// information.
	ResourceType *string
	// contains filtered or unexported fields
}

type GetComplianceDetailsByResourceOutput

type GetComplianceDetailsByResourceOutput struct {

	// Indicates whether the specified Amazon Web Services resource complies each
	// 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
	// contains filtered or unexported fields
}

type GetComplianceDetailsByResourcePaginator added in v1.5.0

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

GetComplianceDetailsByResourcePaginator is a paginator for GetComplianceDetailsByResource

func NewGetComplianceDetailsByResourcePaginator added in v1.5.0

NewGetComplianceDetailsByResourcePaginator returns a new GetComplianceDetailsByResourcePaginator

func (*GetComplianceDetailsByResourcePaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetComplianceDetailsByResourcePaginator) NextPage added in v1.5.0

NextPage retrieves the next GetComplianceDetailsByResource page.

type GetComplianceDetailsByResourcePaginatorOptions added in v1.5.0

type GetComplianceDetailsByResourcePaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetComplianceDetailsByResourcePaginatorOptions is the paginator options for GetComplianceDetailsByResource

type GetComplianceSummaryByConfigRuleInput

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

type GetComplianceSummaryByConfigRuleOutput

type GetComplianceSummaryByConfigRuleOutput struct {

	// The number of 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
	// contains filtered or unexported fields
}

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 Amazon Web Services resource type such as
	// AWS::EC2::Instance . You can specify that the resource type is an Amazon Web
	// Services account by specifying AWS::::Account .
	ResourceTypes []string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type GetConformancePackComplianceDetailsAPIClient added in v1.5.0

type GetConformancePackComplianceDetailsAPIClient interface {
	GetConformancePackComplianceDetails(context.Context, *GetConformancePackComplianceDetailsInput, ...func(*Options)) (*GetConformancePackComplianceDetailsOutput, error)
}

GetConformancePackComplianceDetailsAPIClient is a client that implements the GetConformancePackComplianceDetails operation.

type GetConformancePackComplianceDetailsInput

type GetConformancePackComplianceDetailsInput struct {

	// Name of the conformance pack.
	//
	// This member is required.
	ConformancePackName *string

	// A ConformancePackEvaluationFilters object.
	Filters *types.ConformancePackEvaluationFilters

	// The maximum number of evaluation results returned on each page. If you do no
	// specify a number, Config uses the default. The default is 100.
	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
	// contains filtered or unexported fields
}

type GetConformancePackComplianceDetailsOutput

type GetConformancePackComplianceDetailsOutput struct {

	// Name of the conformance pack.
	//
	// This member is required.
	ConformancePackName *string

	// Returns a list of ConformancePackEvaluationResult objects.
	ConformancePackRuleEvaluationResults []types.ConformancePackEvaluationResult

	// 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
	// contains filtered or unexported fields
}

type GetConformancePackComplianceDetailsPaginator added in v1.5.0

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

GetConformancePackComplianceDetailsPaginator is a paginator for GetConformancePackComplianceDetails

func NewGetConformancePackComplianceDetailsPaginator added in v1.5.0

NewGetConformancePackComplianceDetailsPaginator returns a new GetConformancePackComplianceDetailsPaginator

func (*GetConformancePackComplianceDetailsPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetConformancePackComplianceDetailsPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetConformancePackComplianceDetails page.

type GetConformancePackComplianceDetailsPaginatorOptions added in v1.5.0

type GetConformancePackComplianceDetailsPaginatorOptions struct {
	// The maximum number of evaluation results returned on each page. If you do no
	// specify a number, Config uses the default. The default is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetConformancePackComplianceDetailsPaginatorOptions is the paginator options for GetConformancePackComplianceDetails

type GetConformancePackComplianceSummaryAPIClient added in v1.5.0

type GetConformancePackComplianceSummaryAPIClient interface {
	GetConformancePackComplianceSummary(context.Context, *GetConformancePackComplianceSummaryInput, ...func(*Options)) (*GetConformancePackComplianceSummaryOutput, error)
}

GetConformancePackComplianceSummaryAPIClient is a client that implements the GetConformancePackComplianceSummary operation.

type GetConformancePackComplianceSummaryInput

type GetConformancePackComplianceSummaryInput struct {

	// Names of conformance packs.
	//
	// This member is required.
	ConformancePackNames []string

	// The maximum number of conformance packs returned on each page.
	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
	// contains filtered or unexported fields
}

type GetConformancePackComplianceSummaryOutput

type GetConformancePackComplianceSummaryOutput struct {

	// A list of ConformancePackComplianceSummary objects.
	ConformancePackComplianceSummaryList []types.ConformancePackComplianceSummary

	// 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
	// contains filtered or unexported fields
}

type GetConformancePackComplianceSummaryPaginator added in v1.5.0

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

GetConformancePackComplianceSummaryPaginator is a paginator for GetConformancePackComplianceSummary

func NewGetConformancePackComplianceSummaryPaginator added in v1.5.0

NewGetConformancePackComplianceSummaryPaginator returns a new GetConformancePackComplianceSummaryPaginator

func (*GetConformancePackComplianceSummaryPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetConformancePackComplianceSummaryPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetConformancePackComplianceSummary page.

type GetConformancePackComplianceSummaryPaginatorOptions added in v1.5.0

type GetConformancePackComplianceSummaryPaginatorOptions struct {
	// The maximum number of conformance packs returned on each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetConformancePackComplianceSummaryPaginatorOptions is the paginator options for GetConformancePackComplianceSummary

type GetCustomRulePolicyInput added in v1.20.0

type GetCustomRulePolicyInput struct {

	// The name of your Config Custom Policy rule.
	ConfigRuleName *string
	// contains filtered or unexported fields
}

type GetCustomRulePolicyOutput added in v1.20.0

type GetCustomRulePolicyOutput struct {

	// The policy definition containing the logic for your Config Custom Policy rule.
	PolicyText *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetDiscoveredResourceCountsAPIClient added in v1.5.0

type GetDiscoveredResourceCountsAPIClient interface {
	GetDiscoveredResourceCounts(context.Context, *GetDiscoveredResourceCountsInput, ...func(*Options)) (*GetDiscoveredResourceCountsOutput, error)
}

GetDiscoveredResourceCountsAPIClient is a client that implements the GetDiscoveredResourceCounts operation.

type GetDiscoveredResourceCountsInput

type GetDiscoveredResourceCountsInput struct {

	// 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, 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 comma-separated list that specifies the resource types that you want Config
	// to return (for example, "AWS::EC2::Instance" , "AWS::IAM::User" ).
	//
	// If a value for resourceTypes is not specified, Config returns all resource
	// types that Config is recording in the region for your account.
	//
	// If the configuration recorder is turned off, Config returns an empty list of ResourceCount
	// 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 ResourceCount
	// objects.
	ResourceTypes []string
	// contains filtered or unexported fields
}

type GetDiscoveredResourceCountsOutput

type GetDiscoveredResourceCountsOutput struct {

	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string

	// 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 Config is recording in the region for your
	// account. If you specify resource types in the request, Config returns only the
	// total number of resources for those resource types.
	//
	// Example
	//
	//   - 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.
	//
	//   - You make a call to the GetDiscoveredResourceCounts action and specify the
	//   resource type, "AWS::EC2::Instances" , in the request.
	//
	//   - Config returns 25 for totalDiscoveredResources .
	TotalDiscoveredResources int64

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetDiscoveredResourceCountsPaginator added in v1.5.0

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

GetDiscoveredResourceCountsPaginator is a paginator for GetDiscoveredResourceCounts

func NewGetDiscoveredResourceCountsPaginator added in v1.5.0

NewGetDiscoveredResourceCountsPaginator returns a new GetDiscoveredResourceCountsPaginator

func (*GetDiscoveredResourceCountsPaginator) HasMorePages added in v1.5.0

func (p *GetDiscoveredResourceCountsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetDiscoveredResourceCountsPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetDiscoveredResourceCounts page.

type GetDiscoveredResourceCountsPaginatorOptions added in v1.5.0

type GetDiscoveredResourceCountsPaginatorOptions struct {
	// 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, Config uses the
	// default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetDiscoveredResourceCountsPaginatorOptions is the paginator options for GetDiscoveredResourceCounts

type GetOrganizationConfigRuleDetailedStatusAPIClient added in v1.5.0

type GetOrganizationConfigRuleDetailedStatusAPIClient interface {
	GetOrganizationConfigRuleDetailedStatus(context.Context, *GetOrganizationConfigRuleDetailedStatusInput, ...func(*Options)) (*GetOrganizationConfigRuleDetailedStatusOutput, error)
}

GetOrganizationConfigRuleDetailedStatusAPIClient is a client that implements the GetOrganizationConfigRuleDetailedStatus operation.

type GetOrganizationConfigRuleDetailedStatusInput

type GetOrganizationConfigRuleDetailedStatusInput struct {

	// The name of your organization Config rule for which you want status details for
	// member accounts.
	//
	// This member is required.
	OrganizationConfigRuleName *string

	// A StatusDetailFilters object.
	Filters *types.StatusDetailFilters

	// The maximum number of OrganizationConfigRuleDetailedStatus returned on each
	// page. If you do not specify a number, 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type GetOrganizationConfigRuleDetailedStatusPaginator added in v1.5.0

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

GetOrganizationConfigRuleDetailedStatusPaginator is a paginator for GetOrganizationConfigRuleDetailedStatus

func NewGetOrganizationConfigRuleDetailedStatusPaginator added in v1.5.0

NewGetOrganizationConfigRuleDetailedStatusPaginator returns a new GetOrganizationConfigRuleDetailedStatusPaginator

func (*GetOrganizationConfigRuleDetailedStatusPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetOrganizationConfigRuleDetailedStatusPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetOrganizationConfigRuleDetailedStatus page.

type GetOrganizationConfigRuleDetailedStatusPaginatorOptions added in v1.5.0

type GetOrganizationConfigRuleDetailedStatusPaginatorOptions struct {
	// The maximum number of OrganizationConfigRuleDetailedStatus returned on each
	// page. If you do not specify a number, Config uses the default. The default is
	// 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetOrganizationConfigRuleDetailedStatusPaginatorOptions is the paginator options for GetOrganizationConfigRuleDetailedStatus

type GetOrganizationConformancePackDetailedStatusAPIClient added in v1.5.0

type GetOrganizationConformancePackDetailedStatusAPIClient interface {
	GetOrganizationConformancePackDetailedStatus(context.Context, *GetOrganizationConformancePackDetailedStatusInput, ...func(*Options)) (*GetOrganizationConformancePackDetailedStatusOutput, error)
}

GetOrganizationConformancePackDetailedStatusAPIClient is a client that implements the GetOrganizationConformancePackDetailedStatus operation.

type GetOrganizationConformancePackDetailedStatusInput

type GetOrganizationConformancePackDetailedStatusInput struct {

	// The name of organization conformance pack for which you want status details for
	// member accounts.
	//
	// This member is required.
	OrganizationConformancePackName *string

	// An OrganizationResourceDetailedStatusFilters object.
	Filters *types.OrganizationResourceDetailedStatusFilters

	// The maximum number of OrganizationConformancePackDetailedStatuses returned on
	// each page. If you do not specify a number, 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type GetOrganizationConformancePackDetailedStatusPaginator added in v1.5.0

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

GetOrganizationConformancePackDetailedStatusPaginator is a paginator for GetOrganizationConformancePackDetailedStatus

func NewGetOrganizationConformancePackDetailedStatusPaginator added in v1.5.0

NewGetOrganizationConformancePackDetailedStatusPaginator returns a new GetOrganizationConformancePackDetailedStatusPaginator

func (*GetOrganizationConformancePackDetailedStatusPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*GetOrganizationConformancePackDetailedStatusPaginator) NextPage added in v1.5.0

NextPage retrieves the next GetOrganizationConformancePackDetailedStatus page.

type GetOrganizationConformancePackDetailedStatusPaginatorOptions added in v1.5.0

type GetOrganizationConformancePackDetailedStatusPaginatorOptions struct {
	// The maximum number of OrganizationConformancePackDetailedStatuses returned on
	// each page. If you do not specify a number, Config uses the default. The default
	// is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetOrganizationConformancePackDetailedStatusPaginatorOptions is the paginator options for GetOrganizationConformancePackDetailedStatus

type GetOrganizationCustomRulePolicyInput added in v1.20.0

type GetOrganizationCustomRulePolicyInput struct {

	// The name of your organization Config Custom Policy rule.
	//
	// This member is required.
	OrganizationConfigRuleName *string
	// contains filtered or unexported fields
}

type GetOrganizationCustomRulePolicyOutput added in v1.20.0

type GetOrganizationCustomRulePolicyOutput struct {

	// The policy definition containing the logic for your organization Config Custom
	// Policy rule.
	PolicyText *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetResourceConfigHistoryAPIClient added in v0.30.0

type GetResourceConfigHistoryAPIClient interface {
	GetResourceConfigHistory(context.Context, *GetResourceConfigHistoryInput, ...func(*Options)) (*GetResourceConfigHistoryOutput, error)
}

GetResourceConfigHistoryAPIClient is a client that implements the GetResourceConfigHistory operation.

type GetResourceConfigHistoryInput

type GetResourceConfigHistoryInput struct {

	// The ID of the resource (for example., sg-xxxxxx ).
	//
	// This member is required.
	ResourceId *string

	// The resource type.
	//
	// This member is required.
	ResourceType types.ResourceType

	// The chronological order for configuration items listed. By default, the results
	// are listed in reverse chronological order.
	ChronologicalOrder types.ChronologicalOrder

	// The chronologically earliest time in the time range for which the history
	// requested. 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 chronologically latest time in the time range for which the history
	// requested. If not specified, current time is taken.
	LaterTime *time.Time

	// 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, 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
	// contains filtered or unexported fields
}

The input for the GetResourceConfigHistory action.

type GetResourceConfigHistoryOutput

type GetResourceConfigHistoryOutput struct {

	// A list that contains the configuration history of one or more resources.
	ConfigurationItems []types.ConfigurationItem

	// 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
	// contains filtered or unexported fields
}

The output for the GetResourceConfigHistory action.

type GetResourceConfigHistoryPaginator added in v0.30.0

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

GetResourceConfigHistoryPaginator is a paginator for GetResourceConfigHistory

func NewGetResourceConfigHistoryPaginator added in v0.30.0

NewGetResourceConfigHistoryPaginator returns a new GetResourceConfigHistoryPaginator

func (*GetResourceConfigHistoryPaginator) HasMorePages added in v0.30.0

func (p *GetResourceConfigHistoryPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetResourceConfigHistoryPaginator) NextPage added in v0.30.0

NextPage retrieves the next GetResourceConfigHistory page.

type GetResourceConfigHistoryPaginatorOptions added in v0.30.0

type GetResourceConfigHistoryPaginatorOptions struct {
	// 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, Config uses
	// the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetResourceConfigHistoryPaginatorOptions is the paginator options for GetResourceConfigHistory

type GetResourceEvaluationSummaryInput added in v1.28.0

type GetResourceEvaluationSummaryInput struct {

	// The unique ResourceEvaluationId of Amazon Web Services resource execution for
	// which you want to retrieve the evaluation summary.
	//
	// This member is required.
	ResourceEvaluationId *string
	// contains filtered or unexported fields
}

type GetResourceEvaluationSummaryOutput added in v1.28.0

type GetResourceEvaluationSummaryOutput struct {

	// The compliance status of the resource evaluation summary.
	Compliance types.ComplianceType

	// Returns an EvaluationContext object.
	EvaluationContext *types.EvaluationContext

	// Lists results of the mode that you requested to retrieve the resource
	// evaluation summary. The valid values are Detective or Proactive.
	EvaluationMode types.EvaluationMode

	// The start timestamp when Config rule starts evaluating compliance for the
	// provided resource details.
	EvaluationStartTimestamp *time.Time

	// Returns an EvaluationStatus object.
	EvaluationStatus *types.EvaluationStatus

	// Returns a ResourceDetails object.
	ResourceDetails *types.ResourceDetails

	// The unique ResourceEvaluationId of Amazon Web Services resource execution for
	// which you want to retrieve the evaluation summary.
	ResourceEvaluationId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetStoredQueryInput added in v1.2.0

type GetStoredQueryInput struct {

	// The name of the query.
	//
	// This member is required.
	QueryName *string
	// contains filtered or unexported fields
}

type GetStoredQueryOutput added in v1.2.0

type GetStoredQueryOutput struct {

	// Returns a StoredQuery object.
	StoredQuery *types.StoredQuery

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

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, optFns ...func(*v4.SignerOptions)) error
}

type ListAggregateDiscoveredResourcesAPIClient added in v1.5.0

type ListAggregateDiscoveredResourcesAPIClient interface {
	ListAggregateDiscoveredResources(context.Context, *ListAggregateDiscoveredResourcesInput, ...func(*Options)) (*ListAggregateDiscoveredResourcesOutput, error)
}

ListAggregateDiscoveredResourcesAPIClient is a client that implements the ListAggregateDiscoveredResources operation.

type ListAggregateDiscoveredResourcesInput

type ListAggregateDiscoveredResourcesInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// The type of resources that you want Config to list in the response.
	//
	// This member is required.
	ResourceType types.ResourceType

	// Filters the results based on the ResourceFilters object.
	Filters *types.ResourceFilters

	// The maximum number of resource identifiers returned on each page. You cannot
	// specify a number greater than 100. If you specify 0, 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type ListAggregateDiscoveredResourcesPaginator added in v1.5.0

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

ListAggregateDiscoveredResourcesPaginator is a paginator for ListAggregateDiscoveredResources

func NewListAggregateDiscoveredResourcesPaginator added in v1.5.0

NewListAggregateDiscoveredResourcesPaginator returns a new ListAggregateDiscoveredResourcesPaginator

func (*ListAggregateDiscoveredResourcesPaginator) HasMorePages added in v1.5.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListAggregateDiscoveredResourcesPaginator) NextPage added in v1.5.0

NextPage retrieves the next ListAggregateDiscoveredResources page.

type ListAggregateDiscoveredResourcesPaginatorOptions added in v1.5.0

type ListAggregateDiscoveredResourcesPaginatorOptions struct {
	// The maximum number of resource identifiers returned on each page. You cannot
	// specify a number greater than 100. If you specify 0, Config uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListAggregateDiscoveredResourcesPaginatorOptions is the paginator options for ListAggregateDiscoveredResources

type ListConfigurationRecordersAPIClient added in v1.51.0

type ListConfigurationRecordersAPIClient interface {
	ListConfigurationRecorders(context.Context, *ListConfigurationRecordersInput, ...func(*Options)) (*ListConfigurationRecordersOutput, error)
}

ListConfigurationRecordersAPIClient is a client that implements the ListConfigurationRecorders operation.

type ListConfigurationRecordersInput added in v1.51.0

type ListConfigurationRecordersInput struct {

	// Filters the results based on a list of ConfigurationRecorderFilter objects that
	// you specify.
	Filters []types.ConfigurationRecorderFilter

	// The maximum number of results to include in the response.
	MaxResults *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
	// contains filtered or unexported fields
}

type ListConfigurationRecordersOutput added in v1.51.0

type ListConfigurationRecordersOutput struct {

	// A list of ConfigurationRecorderSummary objects that includes.
	//
	// This member is required.
	ConfigurationRecorderSummaries []types.ConfigurationRecorderSummary

	// 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
	// contains filtered or unexported fields
}

type ListConfigurationRecordersPaginator added in v1.51.0

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

ListConfigurationRecordersPaginator is a paginator for ListConfigurationRecorders

func NewListConfigurationRecordersPaginator added in v1.51.0

NewListConfigurationRecordersPaginator returns a new ListConfigurationRecordersPaginator

func (*ListConfigurationRecordersPaginator) HasMorePages added in v1.51.0

func (p *ListConfigurationRecordersPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListConfigurationRecordersPaginator) NextPage added in v1.51.0

NextPage retrieves the next ListConfigurationRecorders page.

type ListConfigurationRecordersPaginatorOptions added in v1.51.0

type ListConfigurationRecordersPaginatorOptions struct {
	// The maximum number of results to include in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListConfigurationRecordersPaginatorOptions is the paginator options for ListConfigurationRecorders

type ListConformancePackComplianceScoresAPIClient added in v1.23.0

type ListConformancePackComplianceScoresAPIClient interface {
	ListConformancePackComplianceScores(context.Context, *ListConformancePackComplianceScoresInput, ...func(*Options)) (*ListConformancePackComplianceScoresOutput, error)
}

ListConformancePackComplianceScoresAPIClient is a client that implements the ListConformancePackComplianceScores operation.

type ListConformancePackComplianceScoresInput added in v1.23.0

type ListConformancePackComplianceScoresInput struct {

	// Filters the results based on the ConformancePackComplianceScoresFilters .
	Filters *types.ConformancePackComplianceScoresFilters

	// The maximum number of conformance pack compliance scores returned on each page.
	Limit int32

	// The nextToken string in a prior request that you can use to get the paginated
	// response for the next set of conformance pack compliance scores.
	NextToken *string

	// Sorts your conformance pack compliance scores in either ascending or descending
	// order, depending on SortOrder .
	//
	// By default, conformance pack compliance scores are sorted in alphabetical order
	// by name of the conformance pack. Enter SCORE , to sort conformance pack
	// compliance scores by the numerical value of the compliance score.
	SortBy types.SortBy

	// Determines the order in which conformance pack compliance scores are sorted.
	// Either in ascending or descending order.
	//
	// By default, conformance pack compliance scores are sorted in alphabetical order
	// by name of the conformance pack. Conformance pack compliance scores are sorted
	// in reverse alphabetical order if you enter DESCENDING .
	//
	// You can sort conformance pack compliance scores by the numerical value of the
	// compliance score by entering SCORE in the SortBy action. When compliance scores
	// are sorted by SCORE , conformance packs with a compliance score of
	// INSUFFICIENT_DATA will be last when sorting by ascending order and first when
	// sorting by descending order.
	SortOrder types.SortOrder
	// contains filtered or unexported fields
}

type ListConformancePackComplianceScoresOutput added in v1.23.0

type ListConformancePackComplianceScoresOutput struct {

	// A list of ConformancePackComplianceScore objects.
	//
	// This member is required.
	ConformancePackComplianceScores []types.ConformancePackComplianceScore

	// The nextToken string that you can use to get the next page of results in a
	// paginated response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListConformancePackComplianceScoresPaginator added in v1.23.0

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

ListConformancePackComplianceScoresPaginator is a paginator for ListConformancePackComplianceScores

func NewListConformancePackComplianceScoresPaginator added in v1.23.0

NewListConformancePackComplianceScoresPaginator returns a new ListConformancePackComplianceScoresPaginator

func (*ListConformancePackComplianceScoresPaginator) HasMorePages added in v1.23.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListConformancePackComplianceScoresPaginator) NextPage added in v1.23.0

NextPage retrieves the next ListConformancePackComplianceScores page.

type ListConformancePackComplianceScoresPaginatorOptions added in v1.23.0

type ListConformancePackComplianceScoresPaginatorOptions struct {
	// The maximum number of conformance pack compliance scores returned on each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListConformancePackComplianceScoresPaginatorOptions is the paginator options for ListConformancePackComplianceScores

type ListDiscoveredResourcesAPIClient added in v1.5.0

type ListDiscoveredResourcesAPIClient interface {
	ListDiscoveredResources(context.Context, *ListDiscoveredResourcesInput, ...func(*Options)) (*ListDiscoveredResourcesOutput, error)
}

ListDiscoveredResourcesAPIClient is a client that implements the ListDiscoveredResources operation.

type ListDiscoveredResourcesInput

type ListDiscoveredResourcesInput struct {

	// The type of resources that you want Config to list in the response.
	//
	// This member is required.
	ResourceType types.ResourceType

	// Specifies whether Config includes deleted resources in the results. By default,
	// deleted resources are not included.
	IncludeDeletedResources bool

	// 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, 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 IDs of only those resources that you want Config to list in the response.
	// If you do not specify this parameter, Config lists all resources of the
	// specified type that it has discovered. You can list a minimum of 1 resourceID
	// and a maximum of 20 resourceIds.
	ResourceIds []string

	// The custom name of only those resources that you want Config to list in the
	// response. If you do not specify this parameter, Config lists all resources of
	// the specified type that it has discovered.
	ResourceName *string
	// contains filtered or unexported fields
}

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 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
	// contains filtered or unexported fields
}

type ListDiscoveredResourcesPaginator added in v1.5.0

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

ListDiscoveredResourcesPaginator is a paginator for ListDiscoveredResources

func NewListDiscoveredResourcesPaginator added in v1.5.0

NewListDiscoveredResourcesPaginator returns a new ListDiscoveredResourcesPaginator

func (*ListDiscoveredResourcesPaginator) HasMorePages added in v1.5.0

func (p *ListDiscoveredResourcesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListDiscoveredResourcesPaginator) NextPage added in v1.5.0

NextPage retrieves the next ListDiscoveredResources page.

type ListDiscoveredResourcesPaginatorOptions added in v1.5.0

type ListDiscoveredResourcesPaginatorOptions 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, Config
	// uses the default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListDiscoveredResourcesPaginatorOptions is the paginator options for ListDiscoveredResources

type ListResourceEvaluationsAPIClient added in v1.28.0

type ListResourceEvaluationsAPIClient interface {
	ListResourceEvaluations(context.Context, *ListResourceEvaluationsInput, ...func(*Options)) (*ListResourceEvaluationsOutput, error)
}

ListResourceEvaluationsAPIClient is a client that implements the ListResourceEvaluations operation.

type ListResourceEvaluationsInput added in v1.28.0

type ListResourceEvaluationsInput struct {

	// Returns a ResourceEvaluationFilters object.
	Filters *types.ResourceEvaluationFilters

	// The maximum number of evaluations returned on each page. The default is 10. You
	// cannot specify a number greater than 100. If you specify 0, 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
	// contains filtered or unexported fields
}

type ListResourceEvaluationsOutput added in v1.28.0

type ListResourceEvaluationsOutput 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 ResourceEvaluations object.
	ResourceEvaluations []types.ResourceEvaluation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListResourceEvaluationsPaginator added in v1.28.0

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

ListResourceEvaluationsPaginator is a paginator for ListResourceEvaluations

func NewListResourceEvaluationsPaginator added in v1.28.0

NewListResourceEvaluationsPaginator returns a new ListResourceEvaluationsPaginator

func (*ListResourceEvaluationsPaginator) HasMorePages added in v1.28.0

func (p *ListResourceEvaluationsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListResourceEvaluationsPaginator) NextPage added in v1.28.0

NextPage retrieves the next ListResourceEvaluations page.

type ListResourceEvaluationsPaginatorOptions added in v1.28.0

type ListResourceEvaluationsPaginatorOptions struct {
	// The maximum number of evaluations returned on each page. The default is 10. You
	// cannot specify a number greater than 100. If you specify 0, Config uses the
	// default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListResourceEvaluationsPaginatorOptions is the paginator options for ListResourceEvaluations

type ListStoredQueriesAPIClient added in v1.2.0

type ListStoredQueriesAPIClient interface {
	ListStoredQueries(context.Context, *ListStoredQueriesInput, ...func(*Options)) (*ListStoredQueriesOutput, error)
}

ListStoredQueriesAPIClient is a client that implements the ListStoredQueries operation.

type ListStoredQueriesInput added in v1.2.0

type ListStoredQueriesInput struct {

	// The maximum number of results to be returned with a single call.
	MaxResults *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
	// contains filtered or unexported fields
}

type ListStoredQueriesOutput added in v1.2.0

type ListStoredQueriesOutput struct {

	// If the previous paginated request didn't return all of the remaining results,
	// the response object's NextToken parameter value is set to a token. To retrieve
	// the next set of results, call this operation again and assign that token to the
	// request object's NextToken parameter. If there are no remaining results, the
	// previous response object's NextToken parameter is set to null .
	NextToken *string

	// A list of StoredQueryMetadata objects.
	StoredQueryMetadata []types.StoredQueryMetadata

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListStoredQueriesPaginator added in v1.2.0

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

ListStoredQueriesPaginator is a paginator for ListStoredQueries

func NewListStoredQueriesPaginator added in v1.2.0

func NewListStoredQueriesPaginator(client ListStoredQueriesAPIClient, params *ListStoredQueriesInput, optFns ...func(*ListStoredQueriesPaginatorOptions)) *ListStoredQueriesPaginator

NewListStoredQueriesPaginator returns a new ListStoredQueriesPaginator

func (*ListStoredQueriesPaginator) HasMorePages added in v1.2.0

func (p *ListStoredQueriesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListStoredQueriesPaginator) NextPage added in v1.2.0

func (p *ListStoredQueriesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListStoredQueriesOutput, error)

NextPage retrieves the next ListStoredQueries page.

type ListStoredQueriesPaginatorOptions added in v1.2.0

type ListStoredQueriesPaginatorOptions struct {
	// The maximum number of results to be returned with a single call.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListStoredQueriesPaginatorOptions is the paginator options for ListStoredQueries

type ListTagsForResourceAPIClient added in v1.5.0

type ListTagsForResourceAPIClient interface {
	ListTagsForResource(context.Context, *ListTagsForResourceInput, ...func(*Options)) (*ListTagsForResourceOutput, error)
}

ListTagsForResourceAPIClient is a client that implements the ListTagsForResource operation.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) that identifies the resource for which to list
	// the tags. The following resources are supported:
	//
	//   - ConfigurationRecorder
	//
	//   - ConfigRule
	//
	//   - OrganizationConfigRule
	//
	//   - ConformancePack
	//
	//   - OrganizationConformancePack
	//
	//   - ConfigurationAggregator
	//
	//   - AggregationAuthorization
	//
	//   - StoredQuery
	//
	// This member is required.
	ResourceArn *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, 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
	// contains filtered or unexported fields
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput 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 tags for the resource.
	Tags []types.Tag

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTagsForResourcePaginator added in v1.5.0

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

ListTagsForResourcePaginator is a paginator for ListTagsForResource

func NewListTagsForResourcePaginator added in v1.5.0

func NewListTagsForResourcePaginator(client ListTagsForResourceAPIClient, params *ListTagsForResourceInput, optFns ...func(*ListTagsForResourcePaginatorOptions)) *ListTagsForResourcePaginator

NewListTagsForResourcePaginator returns a new ListTagsForResourcePaginator

func (*ListTagsForResourcePaginator) HasMorePages added in v1.5.0

func (p *ListTagsForResourcePaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTagsForResourcePaginator) NextPage added in v1.5.0

func (p *ListTagsForResourcePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

NextPage retrieves the next ListTagsForResource page.

type ListTagsForResourcePaginatorOptions added in v1.5.0

type ListTagsForResourcePaginatorOptions struct {
	// 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, Config uses the
	// default.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTagsForResourcePaginatorOptions is the paginator options for ListTagsForResource

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 optional application specific identifier appended to the User-Agent header.
	AppID string

	// This endpoint will be given as input to an EndpointResolverV2. It is used for
	// providing a custom base endpoint that is subject to modifications by the
	// processing EndpointResolverV2.
	BaseEndpoint *string

	// Configures the events that will be sent to the configured logger.
	ClientLogMode aws.ClientLogMode

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

	// The configuration DefaultsMode that the SDK should use when constructing the
	// clients initial default settings.
	DefaultsMode aws.DefaultsMode

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

	// The service endpoint resolver.
	//
	// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
	// value for this field will likely prevent you from using any endpoint-related
	// service features released after the introduction of EndpointResolverV2 and
	// BaseEndpoint.
	//
	// To migrate an EndpointResolver implementation that uses a custom endpoint, set
	// the client option BaseEndpoint instead.
	EndpointResolver EndpointResolver

	// Resolves the endpoint used for a particular service operation. This should be
	// used over the deprecated EndpointResolver.
	EndpointResolverV2 EndpointResolverV2

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The logger writer interface to write logging messages to.
	Logger logging.Logger

	// The client meter provider.
	MeterProvider metrics.MeterProvider

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

	// RetryMaxAttempts specifies the maximum number attempts an API client will call
	// an operation that fails with a retryable error. A value of 0 is ignored, and
	// will not be used to configure the API client created default retryer, or modify
	// per operation call's retry max attempts.
	//
	// If specified in an operation call's functional options with a value that is
	// different than the constructed client's Options, the Client's Retryer will be
	// wrapped to use the operation's specific RetryMaxAttempts value.
	RetryMaxAttempts int

	// RetryMode specifies the retry mode the API client will be created with, if
	// Retryer option is not also specified.
	//
	// When creating a new API Clients this member will only be used if the Retryer
	// Options member is nil. This value will be ignored if Retryer is not nil.
	//
	// Currently does not support per operation call overrides, may in the future.
	RetryMode aws.RetryMode

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer. The kind of
	// default retry created by the API client can be changed with the RetryMode
	// option.
	Retryer aws.Retryer

	// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
	// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
	// should not populate this structure programmatically, or rely on the values here
	// within your applications.
	RuntimeEnvironment aws.RuntimeEnvironment

	// The client tracer provider.
	TracerProvider tracing.TracerProvider

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

	// The auth scheme resolver which determines how to authenticate for each
	// operation.
	AuthSchemeResolver AuthSchemeResolver

	// The list of auth schemes supported by the client.
	AuthSchemes []smithyhttp.AuthScheme
	// contains filtered or unexported fields
}

func (Options) Copy

func (o Options) Copy() Options

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

func (Options) GetIdentityResolver added in v1.41.2

func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver

type PutAggregationAuthorizationInput

type PutAggregationAuthorizationInput struct {

	// The 12-digit account ID of the account authorized to aggregate data.
	//
	// This member is required.
	AuthorizedAccountId *string

	// The region authorized to collect aggregated data.
	//
	// This member is required.
	AuthorizedAwsRegion *string

	// An array of tag object.
	Tags []types.Tag
	// contains filtered or unexported fields
}

type PutAggregationAuthorizationOutput

type PutAggregationAuthorizationOutput struct {

	// Returns an AggregationAuthorization object.
	AggregationAuthorization *types.AggregationAuthorization

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutConfigRuleInput

type PutConfigRuleInput struct {

	// The rule that you want to add to your account.
	//
	// This member is required.
	ConfigRule *types.ConfigRule

	// An array of tag object.
	Tags []types.Tag
	// contains filtered or unexported fields
}

type PutConfigRuleOutput

type PutConfigRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutConfigurationAggregatorInput

type PutConfigurationAggregatorInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// A list of AccountAggregationSource object.
	AccountAggregationSources []types.AccountAggregationSource

	// An object to filter configuration recorders in an aggregator. Either
	// ResourceType or ServicePrincipal is required.
	AggregatorFilters *types.AggregatorFilters

	// An OrganizationAggregationSource object.
	OrganizationAggregationSource *types.OrganizationAggregationSource

	// An array of tag object.
	Tags []types.Tag
	// contains filtered or unexported fields
}

type PutConfigurationAggregatorOutput

type PutConfigurationAggregatorOutput struct {

	// Returns a ConfigurationAggregator object.
	ConfigurationAggregator *types.ConfigurationAggregator

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutConfigurationRecorderInput

type PutConfigurationRecorderInput struct {

	// An object for the configuration recorder. A configuration recorder records
	// configuration changes for the resource types in scope.
	//
	// This member is required.
	ConfigurationRecorder *types.ConfigurationRecorder

	// The tags for the customer managed configuration recorder. Each tag consists of
	// a key and an optional value, both of which you define.
	Tags []types.Tag
	// contains filtered or unexported fields
}

The input for the PutConfigurationRecorder action.

type PutConfigurationRecorderOutput

type PutConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutConformancePackInput

type PutConformancePackInput struct {

	// The unique name of the conformance pack you want to deploy.
	//
	// This member is required.
	ConformancePackName *string

	// A list of ConformancePackInputParameter objects.
	ConformancePackInputParameters []types.ConformancePackInputParameter

	// The name of the Amazon S3 bucket where Config stores conformance pack templates.
	//
	// This field is optional.
	DeliveryS3Bucket *string

	// The prefix for the Amazon S3 bucket.
	//
	// This field is optional.
	DeliveryS3KeyPrefix *string

	// A string containing the full conformance pack template body. The structure
	// containing the template body has a minimum length of 1 byte and a maximum length
	// of 51,200 bytes.
	//
	// You can use a YAML template with two resource types: Config rule (
	// AWS::Config::ConfigRule ) and remediation action (
	// AWS::Config::RemediationConfiguration ).
	TemplateBody *string

	// The location of the file containing the template body ( s3://bucketname/prefix
	// ). The uri must point to a 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. In addition, in order to ensure
	// a successful deployment, the template object must not be in an [archived storage class]if this
	// parameter is passed.
	//
	// [archived storage class]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html
	TemplateS3Uri *string

	// An object of type TemplateSSMDocumentDetails , which contains the name or the
	// Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document
	// (SSM document) and the version of the SSM document that is used to create a
	// conformance pack.
	TemplateSSMDocumentDetails *types.TemplateSSMDocumentDetails
	// contains filtered or unexported fields
}

type PutConformancePackOutput

type PutConformancePackOutput struct {

	// ARN of the conformance pack.
	ConformancePackArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutDeliveryChannelInput

type PutDeliveryChannelInput struct {

	// An object for the delivery channel. A delivery channel sends notifications and
	// updated configuration states.
	//
	// This member is required.
	DeliveryChannel *types.DeliveryChannel
	// contains filtered or unexported fields
}

The input for the PutDeliveryChannel action.

type PutDeliveryChannelOutput

type PutDeliveryChannelOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutEvaluationsInput

type PutEvaluationsInput struct {

	// An encrypted token that associates an evaluation with an Config rule.
	// Identifies the rule and the event that triggered the evaluation.
	//
	// This member is required.
	ResultToken *string

	// The assessments that the Lambda function performs. Each evaluation identifies
	// an Amazon Web Services resource and indicates whether it complies with the
	// Config rule that invokes the Lambda function.
	Evaluations []types.Evaluation

	// Use this parameter to specify a test run for PutEvaluations . You can verify
	// whether your Lambda function will deliver evaluation results to Config. No
	// updates occur to your existing evaluations, and evaluation results are not sent
	// to Config.
	//
	// When TestMode is true , PutEvaluations doesn't require a valid value for the
	// ResultToken parameter, but the value cannot be null.
	TestMode bool
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type PutExternalEvaluationInput added in v1.2.0

type PutExternalEvaluationInput struct {

	// The name of the Config rule.
	//
	// This member is required.
	ConfigRuleName *string

	// An ExternalEvaluation object that provides details about compliance.
	//
	// This member is required.
	ExternalEvaluation *types.ExternalEvaluation
	// contains filtered or unexported fields
}

type PutExternalEvaluationOutput added in v1.2.0

type PutExternalEvaluationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutOrganizationConfigRuleInput

type PutOrganizationConfigRuleInput struct {

	// The name that you assign to an organization Config rule.
	//
	// This member is required.
	OrganizationConfigRuleName *string

	// A comma-separated list of accounts that you want to exclude from an
	// organization Config rule.
	ExcludedAccounts []string

	// An OrganizationCustomPolicyRuleMetadata object. This object specifies metadata
	// for your organization's Config Custom Policy rule. The metadata includes the
	// runtime system in use, which accounts have debug logging enabled, and other
	// custom rule metadata, such as resource type, resource ID of Amazon Web Services
	// resource, and organization trigger types that initiate Config to evaluate Amazon
	// Web Services resources against a rule.
	OrganizationCustomPolicyRuleMetadata *types.OrganizationCustomPolicyRuleMetadata

	// An OrganizationCustomRuleMetadata object. This object specifies organization
	// custom rule metadata such as resource type, resource ID of Amazon Web Services
	// resource, Lambda function ARN, and organization trigger types that trigger
	// Config to evaluate your Amazon Web Services resources against a rule. It also
	// provides the frequency with which you want Config to run evaluations for the
	// rule if the trigger type is periodic.
	OrganizationCustomRuleMetadata *types.OrganizationCustomRuleMetadata

	// An OrganizationManagedRuleMetadata object. This object specifies organization
	// managed rule metadata such as resource type and ID of Amazon Web Services
	// resource along with the rule identifier. It also provides the frequency with
	// which you want Config to run evaluations for the rule if the trigger type is
	// periodic.
	OrganizationManagedRuleMetadata *types.OrganizationManagedRuleMetadata
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type PutOrganizationConformancePackInput

type PutOrganizationConformancePackInput struct {

	// Name of the organization conformance pack you want to create.
	//
	// This member is required.
	OrganizationConformancePackName *string

	// A list of ConformancePackInputParameter objects.
	ConformancePackInputParameters []types.ConformancePackInputParameter

	// The name of the Amazon S3 bucket where Config stores conformance pack templates.
	//
	// This field is optional. If used, it must be prefixed with awsconfigconforms .
	DeliveryS3Bucket *string

	// The prefix for the Amazon S3 bucket.
	//
	// This field is optional.
	DeliveryS3KeyPrefix *string

	// A list of Amazon Web Services accounts to be excluded from an organization
	// conformance pack while deploying a conformance pack.
	ExcludedAccounts []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. In addition, in order to ensure
	// a successful deployment, the template object must not be in an [archived storage class]if this
	// parameter is passed.
	//
	// [archived storage class]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html
	TemplateS3Uri *string
	// contains filtered or unexported fields
}

type PutOrganizationConformancePackOutput

type PutOrganizationConformancePackOutput struct {

	// ARN of the organization conformance pack.
	OrganizationConformancePackArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutRemediationConfigurationsInput

type PutRemediationConfigurationsInput struct {

	// A list of remediation configuration objects.
	//
	// This member is required.
	RemediationConfigurations []types.RemediationConfiguration
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type PutRemediationExceptionsInput

type PutRemediationExceptionsInput struct {

	// The name of the Config rule for which you want to create remediation exception.
	//
	// This member is required.
	ConfigRuleName *string

	// An exception list of resource exception keys to be processed with the current
	// request. Config adds exception for each resource key. For example, Config adds 3
	// exceptions for 3 resource keys.
	//
	// This member is required.
	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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type PutResourceConfigInput

type PutResourceConfigInput struct {

	// The configuration object of the resource in valid JSON format. It must match
	// the schema registered with CloudFormation.
	//
	// The configuration JSON must not exceed 64 KB.
	//
	// This member is required.
	Configuration *string

	// Unique identifier of the resource.
	//
	// This member is required.
	ResourceId *string

	// The type of the resource. The custom resource type must be registered with
	// CloudFormation.
	//
	// You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with
	// custom resource types. It is the first part of the ResourceType up to the first
	// ::.
	//
	// This member is required.
	ResourceType *string

	// Version of the schema registered for the ResourceType in CloudFormation.
	//
	// This member is required.
	SchemaVersionId *string

	// Name of the resource.
	ResourceName *string

	// Tags associated with the resource.
	//
	// This field is not to be confused with the Amazon Web Services-wide tag feature
	// for Amazon Web Services resources. Tags for PutResourceConfig are tags that you
	// supply for the configuration items of your custom resources.
	Tags map[string]string
	// contains filtered or unexported fields
}

type PutResourceConfigOutput

type PutResourceConfigOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutRetentionConfigurationInput

type PutRetentionConfigurationInput struct {

	// Number of days Config stores your historical information.
	//
	// Currently, only applicable to the configuration item history.
	//
	// This member is required.
	RetentionPeriodInDays *int32
	// contains filtered or unexported fields
}

type PutRetentionConfigurationOutput

type PutRetentionConfigurationOutput struct {

	// Returns a retention configuration object.
	RetentionConfiguration *types.RetentionConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutServiceLinkedConfigurationRecorderInput added in v1.51.0

type PutServiceLinkedConfigurationRecorderInput struct {

	// The service principal of the Amazon Web Services service for the service-linked
	// configuration recorder that you want to create.
	//
	// This member is required.
	ServicePrincipal *string

	// The tags for a service-linked configuration recorder. Each tag consists of a
	// key and an optional value, both of which you define.
	Tags []types.Tag
	// contains filtered or unexported fields
}

type PutServiceLinkedConfigurationRecorderOutput added in v1.51.0

type PutServiceLinkedConfigurationRecorderOutput struct {

	// The Amazon Resource Name (ARN) of the specified configuration recorder.
	Arn *string

	// The name of the specified configuration recorder.
	//
	// For service-linked configuration recorders, Config automatically assigns a name
	// that has the prefix " AWS " to the new service-linked configuration recorder.
	Name *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutStoredQueryInput added in v1.2.0

type PutStoredQueryInput struct {

	// A list of StoredQuery objects. The mandatory fields are QueryName and Expression
	// .
	//
	// When you are creating a query, you must provide a query name and an expression.
	// When you are updating a query, you must provide a query name but updating the
	// description is optional.
	//
	// This member is required.
	StoredQuery *types.StoredQuery

	// A list of Tags object.
	Tags []types.Tag
	// contains filtered or unexported fields
}

type PutStoredQueryOutput added in v1.2.0

type PutStoredQueryOutput struct {

	// Amazon Resource Name (ARN) of the query. For example,
	// arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
	QueryArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type SelectAggregateResourceConfigAPIClient added in v0.30.0

type SelectAggregateResourceConfigAPIClient interface {
	SelectAggregateResourceConfig(context.Context, *SelectAggregateResourceConfigInput, ...func(*Options)) (*SelectAggregateResourceConfigOutput, error)
}

SelectAggregateResourceConfigAPIClient is a client that implements the SelectAggregateResourceConfig operation.

type SelectAggregateResourceConfigInput

type SelectAggregateResourceConfigInput struct {

	// The name of the configuration aggregator.
	//
	// This member is required.
	ConfigurationAggregatorName *string

	// The SQL query SELECT command.
	//
	// This member is required.
	Expression *string

	// The maximum number of query results returned on each page.
	Limit int32

	// The maximum number of query results returned on each page. Config also allows
	// the Limit request parameter.
	MaxResults 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
	// contains filtered or unexported fields
}

type SelectAggregateResourceConfigOutput

type SelectAggregateResourceConfigOutput 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

	// Details about the query.
	QueryInfo *types.QueryInfo

	// Returns the results for the SQL query.
	Results []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type SelectAggregateResourceConfigPaginator added in v0.30.0

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

SelectAggregateResourceConfigPaginator is a paginator for SelectAggregateResourceConfig

func NewSelectAggregateResourceConfigPaginator added in v0.30.0

NewSelectAggregateResourceConfigPaginator returns a new SelectAggregateResourceConfigPaginator

func (*SelectAggregateResourceConfigPaginator) HasMorePages added in v0.30.0

func (p *SelectAggregateResourceConfigPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*SelectAggregateResourceConfigPaginator) NextPage added in v0.30.0

NextPage retrieves the next SelectAggregateResourceConfig page.

type SelectAggregateResourceConfigPaginatorOptions added in v0.30.0

type SelectAggregateResourceConfigPaginatorOptions struct {
	// The maximum number of query results returned on each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

SelectAggregateResourceConfigPaginatorOptions is the paginator options for SelectAggregateResourceConfig

type SelectResourceConfigAPIClient added in v1.5.0

type SelectResourceConfigAPIClient interface {
	SelectResourceConfig(context.Context, *SelectResourceConfigInput, ...func(*Options)) (*SelectResourceConfigOutput, error)
}

SelectResourceConfigAPIClient is a client that implements the SelectResourceConfig operation.

type SelectResourceConfigInput

type SelectResourceConfigInput struct {

	// The SQL query SELECT command.
	//
	// This member is required.
	Expression *string

	// The maximum number of query results 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
	// contains filtered or unexported fields
}

type SelectResourceConfigOutput

type SelectResourceConfigOutput 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 the QueryInfo object.
	QueryInfo *types.QueryInfo

	// Returns the results for the SQL query.
	Results []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type SelectResourceConfigPaginator added in v1.5.0

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

SelectResourceConfigPaginator is a paginator for SelectResourceConfig

func NewSelectResourceConfigPaginator added in v1.5.0

NewSelectResourceConfigPaginator returns a new SelectResourceConfigPaginator

func (*SelectResourceConfigPaginator) HasMorePages added in v1.5.0

func (p *SelectResourceConfigPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*SelectResourceConfigPaginator) NextPage added in v1.5.0

NextPage retrieves the next SelectResourceConfig page.

type SelectResourceConfigPaginatorOptions added in v1.5.0

type SelectResourceConfigPaginatorOptions struct {
	// The maximum number of query results returned on each page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

SelectResourceConfigPaginatorOptions is the paginator options for SelectResourceConfig

type StartConfigRulesEvaluationInput

type StartConfigRulesEvaluationInput struct {

	// The list of names of Config rules that you want to run evaluations for.
	ConfigRuleNames []string
	// contains filtered or unexported fields
}

type StartConfigRulesEvaluationOutput

type StartConfigRulesEvaluationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

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

type StartConfigurationRecorderInput

type StartConfigurationRecorderInput struct {

	// The name of the customer managed configuration recorder that you want to start.
	//
	// This member is required.
	ConfigurationRecorderName *string
	// contains filtered or unexported fields
}

The input for the StartConfigurationRecorder operation.

type StartConfigurationRecorderOutput

type StartConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type StartRemediationExecutionInput

type StartRemediationExecutionInput struct {

	// The list of names of Config rules that you want to run remediation execution
	// for.
	//
	// This member is required.
	ConfigRuleName *string

	// 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.
	//
	// This member is required.
	ResourceKeys []types.ResourceKey
	// contains filtered or unexported fields
}

type StartRemediationExecutionOutput

type StartRemediationExecutionOutput struct {

	// For resources that have failed to start execution, the API returns a resource
	// key object.
	FailedItems []types.ResourceKey

	// Returns a failure message. For example, the resource is already compliant.
	FailureMessage *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type StartResourceEvaluationInput added in v1.28.0

type StartResourceEvaluationInput struct {

	// The mode of an evaluation. The valid values for this API are DETECTIVE and
	// PROACTIVE .
	//
	// This member is required.
	EvaluationMode types.EvaluationMode

	// Returns a ResourceDetails object.
	//
	// This member is required.
	ResourceDetails *types.ResourceDetails

	// A client token is a unique, case-sensitive string of up to 64 ASCII characters.
	// To make an idempotent API request using one of these actions, specify a client
	// token in the request.
	//
	// Avoid reusing the same client token for other API requests. If you retry a
	// request that completed successfully using the same client token and the same
	// parameters, the retry succeeds without performing any further actions. If you
	// retry a successful request using the same client token, but one or more of the
	// parameters are different, other than the Region or Availability Zone, the retry
	// fails with an IdempotentParameterMismatch error.
	ClientToken *string

	// Returns an EvaluationContext object.
	EvaluationContext *types.EvaluationContext

	// The timeout for an evaluation. The default is 900 seconds. You cannot specify a
	// number greater than 3600. If you specify 0, Config uses the default.
	EvaluationTimeout int32
	// contains filtered or unexported fields
}

type StartResourceEvaluationOutput added in v1.28.0

type StartResourceEvaluationOutput struct {

	// A unique ResourceEvaluationId that is associated with a single execution.
	ResourceEvaluationId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type StopConfigurationRecorderInput

type StopConfigurationRecorderInput struct {

	// The name of the customer managed configuration recorder that you want to stop.
	//
	// This member is required.
	ConfigurationRecorderName *string
	// contains filtered or unexported fields
}

The input for the StopConfigurationRecorder operation.

type StopConfigurationRecorderOutput

type StopConfigurationRecorderOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) that identifies the resource for which to list
	// the tags. The following resources are supported:
	//
	//   - ConfigurationRecorder
	//
	//   - ConfigRule
	//
	//   - OrganizationConfigRule
	//
	//   - ConformancePack
	//
	//   - OrganizationConformancePack
	//
	//   - ConfigurationAggregator
	//
	//   - AggregationAuthorization
	//
	//   - StoredQuery
	//
	// This member is required.
	ResourceArn *string

	// An array of tag object.
	//
	// This member is required.
	Tags []types.Tag
	// contains filtered or unexported fields
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) that identifies the resource for which to list
	// the tags. The following resources are supported:
	//
	//   - ConfigurationRecorder
	//
	//   - ConfigRule
	//
	//   - OrganizationConfigRule
	//
	//   - ConformancePack
	//
	//   - OrganizationConformancePack
	//
	//   - ConfigurationAggregator
	//
	//   - AggregationAuthorization
	//
	//   - StoredQuery
	//
	// This member is required.
	ResourceArn *string

	// The keys of the tags to be removed.
	//
	// This member is required.
	TagKeys []string
	// contains filtered or unexported fields
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Source Files

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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