AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ConfigService

import "github.com/aws/aws-sdk-go/service/configservice"

type ConfigService struct { *client.Client }

ConfigService provides the API operation methods for making requests to AWS Config. See this package's package overview docs for details on the service.

ConfigService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

BatchGetAggregateResourceConfig

func (c *ConfigService) BatchGetAggregateResourceConfig(input *BatchGetAggregateResourceConfigInput) (*BatchGetAggregateResourceConfigOutput, error)

BatchGetAggregateResourceConfig API operation for AWS Config.

Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list.

The API does not return results for deleted resources.

The API does not return tags and relationships.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation BatchGetAggregateResourceConfig for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetAggregateResourceConfig

BatchGetAggregateResourceConfigRequest

func (c *ConfigService) BatchGetAggregateResourceConfigRequest(input *BatchGetAggregateResourceConfigInput) (req *request.Request, output *BatchGetAggregateResourceConfigOutput)

BatchGetAggregateResourceConfigRequest generates a "aws/request.Request" representing the client's request for the BatchGetAggregateResourceConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetAggregateResourceConfig for more information on using the BatchGetAggregateResourceConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetAggregateResourceConfigRequest method. req, resp := client.BatchGetAggregateResourceConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetAggregateResourceConfig

BatchGetAggregateResourceConfigWithContext

func (c *ConfigService) BatchGetAggregateResourceConfigWithContext(ctx aws.Context, input *BatchGetAggregateResourceConfigInput, opts ...request.Option) (*BatchGetAggregateResourceConfigOutput, error)

BatchGetAggregateResourceConfigWithContext is the same as BatchGetAggregateResourceConfig with the addition of the ability to pass a context and additional request options.

See BatchGetAggregateResourceConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchGetResourceConfig

func (c *ConfigService) BatchGetResourceConfig(input *BatchGetResourceConfigInput) (*BatchGetResourceConfigOutput, error)

BatchGetResourceConfig API operation for AWS Config.

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

The API does not return results for deleted resources.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation BatchGetResourceConfig for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException" There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfig

BatchGetResourceConfigRequest

func (c *ConfigService) BatchGetResourceConfigRequest(input *BatchGetResourceConfigInput) (req *request.Request, output *BatchGetResourceConfigOutput)

BatchGetResourceConfigRequest generates a "aws/request.Request" representing the client's request for the BatchGetResourceConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetResourceConfig for more information on using the BatchGetResourceConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetResourceConfigRequest method. req, resp := client.BatchGetResourceConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfig

BatchGetResourceConfigWithContext

func (c *ConfigService) BatchGetResourceConfigWithContext(ctx aws.Context, input *BatchGetResourceConfigInput, opts ...request.Option) (*BatchGetResourceConfigOutput, error)

BatchGetResourceConfigWithContext is the same as BatchGetResourceConfig with the addition of the ability to pass a context and additional request options.

See BatchGetResourceConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteAggregationAuthorization

func (c *ConfigService) DeleteAggregationAuthorization(input *DeleteAggregationAuthorizationInput) (*DeleteAggregationAuthorizationOutput, error)

DeleteAggregationAuthorization API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteAggregationAuthorization for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteAggregationAuthorization

DeleteAggregationAuthorizationRequest

func (c *ConfigService) DeleteAggregationAuthorizationRequest(input *DeleteAggregationAuthorizationInput) (req *request.Request, output *DeleteAggregationAuthorizationOutput)

DeleteAggregationAuthorizationRequest generates a "aws/request.Request" representing the client's request for the DeleteAggregationAuthorization operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAggregationAuthorization for more information on using the DeleteAggregationAuthorization API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAggregationAuthorizationRequest method. req, resp := client.DeleteAggregationAuthorizationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteAggregationAuthorization

DeleteAggregationAuthorizationWithContext

func (c *ConfigService) DeleteAggregationAuthorizationWithContext(ctx aws.Context, input *DeleteAggregationAuthorizationInput, opts ...request.Option) (*DeleteAggregationAuthorizationOutput, error)

DeleteAggregationAuthorizationWithContext is the same as DeleteAggregationAuthorization with the addition of the ability to pass a context and additional request options.

See DeleteAggregationAuthorization for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteConfigRule

func (c *ConfigService) DeleteConfigRule(input *DeleteConfigRuleInput) (*DeleteConfigRuleOutput, error)

DeleteConfigRule API operation for AWS Config.

Deletes the specified AWS Config rule and all of its evaluation results.

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

You can check the state of a rule by using the DescribeConfigRules request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteConfigRule for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

  • ErrCodeResourceInUseException "ResourceInUseException" The rule is currently being deleted or the rule is deleting your evaluation results. Try your request again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule

DeleteConfigRuleRequest

func (c *ConfigService) DeleteConfigRuleRequest(input *DeleteConfigRuleInput) (req *request.Request, output *DeleteConfigRuleOutput)

DeleteConfigRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigRule for more information on using the DeleteConfigRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigRuleRequest method. req, resp := client.DeleteConfigRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule

DeleteConfigRuleWithContext

func (c *ConfigService) DeleteConfigRuleWithContext(ctx aws.Context, input *DeleteConfigRuleInput, opts ...request.Option) (*DeleteConfigRuleOutput, error)

DeleteConfigRuleWithContext is the same as DeleteConfigRule with the addition of the ability to pass a context and additional request options.

See DeleteConfigRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteConfigurationAggregator

func (c *ConfigService) DeleteConfigurationAggregator(input *DeleteConfigurationAggregatorInput) (*DeleteConfigurationAggregatorOutput, error)

DeleteConfigurationAggregator API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteConfigurationAggregator for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationAggregator

DeleteConfigurationAggregatorRequest

func (c *ConfigService) DeleteConfigurationAggregatorRequest(input *DeleteConfigurationAggregatorInput) (req *request.Request, output *DeleteConfigurationAggregatorOutput)

DeleteConfigurationAggregatorRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationAggregator operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationAggregator for more information on using the DeleteConfigurationAggregator API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigurationAggregatorRequest method. req, resp := client.DeleteConfigurationAggregatorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationAggregator

DeleteConfigurationAggregatorWithContext

func (c *ConfigService) DeleteConfigurationAggregatorWithContext(ctx aws.Context, input *DeleteConfigurationAggregatorInput, opts ...request.Option) (*DeleteConfigurationAggregatorOutput, error)

DeleteConfigurationAggregatorWithContext is the same as DeleteConfigurationAggregator with the addition of the ability to pass a context and additional request options.

See DeleteConfigurationAggregator for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteConfigurationRecorder

func (c *ConfigService) DeleteConfigurationRecorder(input *DeleteConfigurationRecorderInput) (*DeleteConfigurationRecorderOutput, error)

DeleteConfigurationRecorder API operation for AWS Config.

Deletes the configuration recorder.

After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder.

This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteConfigurationRecorder for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" You have specified a configuration recorder that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder

DeleteConfigurationRecorderRequest

func (c *ConfigService) DeleteConfigurationRecorderRequest(input *DeleteConfigurationRecorderInput) (req *request.Request, output *DeleteConfigurationRecorderOutput)

DeleteConfigurationRecorderRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationRecorder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationRecorder for more information on using the DeleteConfigurationRecorder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigurationRecorderRequest method. req, resp := client.DeleteConfigurationRecorderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder

DeleteConfigurationRecorderWithContext

func (c *ConfigService) DeleteConfigurationRecorderWithContext(ctx aws.Context, input *DeleteConfigurationRecorderInput, opts ...request.Option) (*DeleteConfigurationRecorderOutput, error)

DeleteConfigurationRecorderWithContext is the same as DeleteConfigurationRecorder with the addition of the ability to pass a context and additional request options.

See DeleteConfigurationRecorder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDeliveryChannel

func (c *ConfigService) DeleteDeliveryChannel(input *DeleteDeliveryChannelInput) (*DeleteDeliveryChannelOutput, error)

DeleteDeliveryChannel API operation for AWS Config.

Deletes the delivery channel.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteDeliveryChannel for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException" You have specified a delivery channel that does not exist.

  • ErrCodeLastDeliveryChannelDeleteFailedException "LastDeliveryChannelDeleteFailedException" You cannot delete the delivery channel you specified because the configuration recorder is running.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel

DeleteDeliveryChannelRequest

func (c *ConfigService) DeleteDeliveryChannelRequest(input *DeleteDeliveryChannelInput) (req *request.Request, output *DeleteDeliveryChannelOutput)

DeleteDeliveryChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteDeliveryChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDeliveryChannel for more information on using the DeleteDeliveryChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDeliveryChannelRequest method. req, resp := client.DeleteDeliveryChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel

DeleteDeliveryChannelWithContext

func (c *ConfigService) DeleteDeliveryChannelWithContext(ctx aws.Context, input *DeleteDeliveryChannelInput, opts ...request.Option) (*DeleteDeliveryChannelOutput, error)

DeleteDeliveryChannelWithContext is the same as DeleteDeliveryChannel with the addition of the ability to pass a context and additional request options.

See DeleteDeliveryChannel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteEvaluationResults

func (c *ConfigService) DeleteEvaluationResults(input *DeleteEvaluationResultsInput) (*DeleteEvaluationResultsOutput, error)

DeleteEvaluationResults API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteEvaluationResults for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

  • ErrCodeResourceInUseException "ResourceInUseException" The rule is currently being deleted or the rule is deleting your evaluation results. Try your request again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults

DeleteEvaluationResultsRequest

func (c *ConfigService) DeleteEvaluationResultsRequest(input *DeleteEvaluationResultsInput) (req *request.Request, output *DeleteEvaluationResultsOutput)

DeleteEvaluationResultsRequest generates a "aws/request.Request" representing the client's request for the DeleteEvaluationResults operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEvaluationResults for more information on using the DeleteEvaluationResults API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteEvaluationResultsRequest method. req, resp := client.DeleteEvaluationResultsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults

DeleteEvaluationResultsWithContext

func (c *ConfigService) DeleteEvaluationResultsWithContext(ctx aws.Context, input *DeleteEvaluationResultsInput, opts ...request.Option) (*DeleteEvaluationResultsOutput, error)

DeleteEvaluationResultsWithContext is the same as DeleteEvaluationResults with the addition of the ability to pass a context and additional request options.

See DeleteEvaluationResults for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeletePendingAggregationRequest

func (c *ConfigService) DeletePendingAggregationRequest(input *DeletePendingAggregationRequestInput) (*DeletePendingAggregationRequestOutput, error)

DeletePendingAggregationRequest API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeletePendingAggregationRequest for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeletePendingAggregationRequest

DeletePendingAggregationRequestRequest

func (c *ConfigService) DeletePendingAggregationRequestRequest(input *DeletePendingAggregationRequestInput) (req *request.Request, output *DeletePendingAggregationRequestOutput)

DeletePendingAggregationRequestRequest generates a "aws/request.Request" representing the client's request for the DeletePendingAggregationRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePendingAggregationRequest for more information on using the DeletePendingAggregationRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePendingAggregationRequestRequest method. req, resp := client.DeletePendingAggregationRequestRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeletePendingAggregationRequest

DeletePendingAggregationRequestWithContext

func (c *ConfigService) DeletePendingAggregationRequestWithContext(ctx aws.Context, input *DeletePendingAggregationRequestInput, opts ...request.Option) (*DeletePendingAggregationRequestOutput, error)

DeletePendingAggregationRequestWithContext is the same as DeletePendingAggregationRequest with the addition of the ability to pass a context and additional request options.

See DeletePendingAggregationRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteRetentionConfiguration

func (c *ConfigService) DeleteRetentionConfiguration(input *DeleteRetentionConfigurationInput) (*DeleteRetentionConfigurationOutput, error)

DeleteRetentionConfiguration API operation for AWS Config.

Deletes the retention configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeleteRetentionConfiguration for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeNoSuchRetentionConfigurationException "NoSuchRetentionConfigurationException" You have specified a retention configuration that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration

DeleteRetentionConfigurationRequest

func (c *ConfigService) DeleteRetentionConfigurationRequest(input *DeleteRetentionConfigurationInput) (req *request.Request, output *DeleteRetentionConfigurationOutput)

DeleteRetentionConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteRetentionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRetentionConfiguration for more information on using the DeleteRetentionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRetentionConfigurationRequest method. req, resp := client.DeleteRetentionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration

DeleteRetentionConfigurationWithContext

func (c *ConfigService) DeleteRetentionConfigurationWithContext(ctx aws.Context, input *DeleteRetentionConfigurationInput, opts ...request.Option) (*DeleteRetentionConfigurationOutput, error)

DeleteRetentionConfigurationWithContext is the same as DeleteRetentionConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteRetentionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeliverConfigSnapshot

func (c *ConfigService) DeliverConfigSnapshot(input *DeliverConfigSnapshotInput) (*DeliverConfigSnapshotOutput, error)

DeliverConfigSnapshot API operation for AWS Config.

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

  • Notification of the start of the delivery.

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

  • Notification of delivery failure, if the delivery failed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DeliverConfigSnapshot for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException" You have specified a delivery channel that does not exist.

  • ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException" There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

  • ErrCodeNoRunningConfigurationRecorderException "NoRunningConfigurationRecorderException" There is no configuration recorder running.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot

DeliverConfigSnapshotRequest

func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapshotInput) (req *request.Request, output *DeliverConfigSnapshotOutput)

DeliverConfigSnapshotRequest generates a "aws/request.Request" representing the client's request for the DeliverConfigSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeliverConfigSnapshot for more information on using the DeliverConfigSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeliverConfigSnapshotRequest method. req, resp := client.DeliverConfigSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot

DeliverConfigSnapshotWithContext

func (c *ConfigService) DeliverConfigSnapshotWithContext(ctx aws.Context, input *DeliverConfigSnapshotInput, opts ...request.Option) (*DeliverConfigSnapshotOutput, error)

DeliverConfigSnapshotWithContext is the same as DeliverConfigSnapshot with the addition of the ability to pass a context and additional request options.

See DeliverConfigSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAggregateComplianceByConfigRules

func (c *ConfigService) DescribeAggregateComplianceByConfigRules(input *DescribeAggregateComplianceByConfigRulesInput) (*DescribeAggregateComplianceByConfigRulesOutput, error)

DescribeAggregateComplianceByConfigRules API operation for AWS Config.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeAggregateComplianceByConfigRules for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConfigRules

DescribeAggregateComplianceByConfigRulesRequest

func (c *ConfigService) DescribeAggregateComplianceByConfigRulesRequest(input *DescribeAggregateComplianceByConfigRulesInput) (req *request.Request, output *DescribeAggregateComplianceByConfigRulesOutput)

DescribeAggregateComplianceByConfigRulesRequest generates a "aws/request.Request" representing the client's request for the DescribeAggregateComplianceByConfigRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAggregateComplianceByConfigRules for more information on using the DescribeAggregateComplianceByConfigRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAggregateComplianceByConfigRulesRequest method. req, resp := client.DescribeAggregateComplianceByConfigRulesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConfigRules

DescribeAggregateComplianceByConfigRulesWithContext

func (c *ConfigService) DescribeAggregateComplianceByConfigRulesWithContext(ctx aws.Context, input *DescribeAggregateComplianceByConfigRulesInput, opts ...request.Option) (*DescribeAggregateComplianceByConfigRulesOutput, error)

DescribeAggregateComplianceByConfigRulesWithContext is the same as DescribeAggregateComplianceByConfigRules with the addition of the ability to pass a context and additional request options.

See DescribeAggregateComplianceByConfigRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAggregationAuthorizations

func (c *ConfigService) DescribeAggregationAuthorizations(input *DescribeAggregationAuthorizationsInput) (*DescribeAggregationAuthorizationsOutput, error)

DescribeAggregationAuthorizations API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeAggregationAuthorizations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregationAuthorizations

DescribeAggregationAuthorizationsRequest

func (c *ConfigService) DescribeAggregationAuthorizationsRequest(input *DescribeAggregationAuthorizationsInput) (req *request.Request, output *DescribeAggregationAuthorizationsOutput)

DescribeAggregationAuthorizationsRequest generates a "aws/request.Request" representing the client's request for the DescribeAggregationAuthorizations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAggregationAuthorizations for more information on using the DescribeAggregationAuthorizations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAggregationAuthorizationsRequest method. req, resp := client.DescribeAggregationAuthorizationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregationAuthorizations

DescribeAggregationAuthorizationsWithContext

func (c *ConfigService) DescribeAggregationAuthorizationsWithContext(ctx aws.Context, input *DescribeAggregationAuthorizationsInput, opts ...request.Option) (*DescribeAggregationAuthorizationsOutput, error)

DescribeAggregationAuthorizationsWithContext is the same as DescribeAggregationAuthorizations with the addition of the ability to pass a context and additional request options.

See DescribeAggregationAuthorizations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeComplianceByConfigRule

func (c *ConfigService) DescribeComplianceByConfigRule(input *DescribeComplianceByConfigRuleInput) (*DescribeComplianceByConfigRuleOutput, error)

DescribeComplianceByConfigRule API operation for AWS Config.

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

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

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

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

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeComplianceByConfigRule for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule

DescribeComplianceByConfigRuleRequest

func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeComplianceByConfigRuleInput) (req *request.Request, output *DescribeComplianceByConfigRuleOutput)

DescribeComplianceByConfigRuleRequest generates a "aws/request.Request" representing the client's request for the DescribeComplianceByConfigRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeComplianceByConfigRule for more information on using the DescribeComplianceByConfigRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeComplianceByConfigRuleRequest method. req, resp := client.DescribeComplianceByConfigRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule

DescribeComplianceByConfigRuleWithContext

func (c *ConfigService) DescribeComplianceByConfigRuleWithContext(ctx aws.Context, input *DescribeComplianceByConfigRuleInput, opts ...request.Option) (*DescribeComplianceByConfigRuleOutput, error)

DescribeComplianceByConfigRuleWithContext is the same as DescribeComplianceByConfigRule with the addition of the ability to pass a context and additional request options.

See DescribeComplianceByConfigRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeComplianceByResource

func (c *ConfigService) DescribeComplianceByResource(input *DescribeComplianceByResourceInput) (*DescribeComplianceByResourceOutput, error)

DescribeComplianceByResource API operation for AWS Config.

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

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

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

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

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeComplianceByResource for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource

DescribeComplianceByResourceRequest

func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeComplianceByResourceInput) (req *request.Request, output *DescribeComplianceByResourceOutput)

DescribeComplianceByResourceRequest generates a "aws/request.Request" representing the client's request for the DescribeComplianceByResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeComplianceByResource for more information on using the DescribeComplianceByResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeComplianceByResourceRequest method. req, resp := client.DescribeComplianceByResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource

DescribeComplianceByResourceWithContext

func (c *ConfigService) DescribeComplianceByResourceWithContext(ctx aws.Context, input *DescribeComplianceByResourceInput, opts ...request.Option) (*DescribeComplianceByResourceOutput, error)

DescribeComplianceByResourceWithContext is the same as DescribeComplianceByResource with the addition of the ability to pass a context and additional request options.

See DescribeComplianceByResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigRuleEvaluationStatus

func (c *ConfigService) DescribeConfigRuleEvaluationStatus(input *DescribeConfigRuleEvaluationStatusInput) (*DescribeConfigRuleEvaluationStatusOutput, error)

DescribeConfigRuleEvaluationStatus API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeConfigRuleEvaluationStatus for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus

DescribeConfigRuleEvaluationStatusRequest

func (c *ConfigService) DescribeConfigRuleEvaluationStatusRequest(input *DescribeConfigRuleEvaluationStatusInput) (req *request.Request, output *DescribeConfigRuleEvaluationStatusOutput)

DescribeConfigRuleEvaluationStatusRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigRuleEvaluationStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigRuleEvaluationStatus for more information on using the DescribeConfigRuleEvaluationStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigRuleEvaluationStatusRequest method. req, resp := client.DescribeConfigRuleEvaluationStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus

DescribeConfigRuleEvaluationStatusWithContext

func (c *ConfigService) DescribeConfigRuleEvaluationStatusWithContext(ctx aws.Context, input *DescribeConfigRuleEvaluationStatusInput, opts ...request.Option) (*DescribeConfigRuleEvaluationStatusOutput, error)

DescribeConfigRuleEvaluationStatusWithContext is the same as DescribeConfigRuleEvaluationStatus with the addition of the ability to pass a context and additional request options.

See DescribeConfigRuleEvaluationStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigRules

func (c *ConfigService) DescribeConfigRules(input *DescribeConfigRulesInput) (*DescribeConfigRulesOutput, error)

DescribeConfigRules API operation for AWS Config.

Returns details about your AWS Config rules.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeConfigRules for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules

DescribeConfigRulesRequest

func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInput) (req *request.Request, output *DescribeConfigRulesOutput)

DescribeConfigRulesRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigRules for more information on using the DescribeConfigRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigRulesRequest method. req, resp := client.DescribeConfigRulesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules

DescribeConfigRulesWithContext

func (c *ConfigService) DescribeConfigRulesWithContext(ctx aws.Context, input *DescribeConfigRulesInput, opts ...request.Option) (*DescribeConfigRulesOutput, error)

DescribeConfigRulesWithContext is the same as DescribeConfigRules with the addition of the ability to pass a context and additional request options.

See DescribeConfigRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigurationAggregatorSourcesStatus

func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatus(input *DescribeConfigurationAggregatorSourcesStatusInput) (*DescribeConfigurationAggregatorSourcesStatusOutput, error)

DescribeConfigurationAggregatorSourcesStatus API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeConfigurationAggregatorSourcesStatus for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregatorSourcesStatus

DescribeConfigurationAggregatorSourcesStatusRequest

func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatusRequest(input *DescribeConfigurationAggregatorSourcesStatusInput) (req *request.Request, output *DescribeConfigurationAggregatorSourcesStatusOutput)

DescribeConfigurationAggregatorSourcesStatusRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurationAggregatorSourcesStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurationAggregatorSourcesStatus for more information on using the DescribeConfigurationAggregatorSourcesStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationAggregatorSourcesStatusRequest method. req, resp := client.DescribeConfigurationAggregatorSourcesStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregatorSourcesStatus

DescribeConfigurationAggregatorSourcesStatusWithContext

func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatusWithContext(ctx aws.Context, input *DescribeConfigurationAggregatorSourcesStatusInput, opts ...request.Option) (*DescribeConfigurationAggregatorSourcesStatusOutput, error)

DescribeConfigurationAggregatorSourcesStatusWithContext is the same as DescribeConfigurationAggregatorSourcesStatus with the addition of the ability to pass a context and additional request options.

See DescribeConfigurationAggregatorSourcesStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigurationAggregators

func (c *ConfigService) DescribeConfigurationAggregators(input *DescribeConfigurationAggregatorsInput) (*DescribeConfigurationAggregatorsOutput, error)

DescribeConfigurationAggregators API operation for AWS Config.

Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeConfigurationAggregators for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregators

DescribeConfigurationAggregatorsRequest

func (c *ConfigService) DescribeConfigurationAggregatorsRequest(input *DescribeConfigurationAggregatorsInput) (req *request.Request, output *DescribeConfigurationAggregatorsOutput)

DescribeConfigurationAggregatorsRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurationAggregators operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurationAggregators for more information on using the DescribeConfigurationAggregators API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationAggregatorsRequest method. req, resp := client.DescribeConfigurationAggregatorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregators

DescribeConfigurationAggregatorsWithContext

func (c *ConfigService) DescribeConfigurationAggregatorsWithContext(ctx aws.Context, input *DescribeConfigurationAggregatorsInput, opts ...request.Option) (*DescribeConfigurationAggregatorsOutput, error)

DescribeConfigurationAggregatorsWithContext is the same as DescribeConfigurationAggregators with the addition of the ability to pass a context and additional request options.

See DescribeConfigurationAggregators for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigurationRecorderStatus

func (c *ConfigService) DescribeConfigurationRecorderStatus(input *DescribeConfigurationRecorderStatusInput) (*DescribeConfigurationRecorderStatusOutput, error)

DescribeConfigurationRecorderStatus API operation for AWS Config.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeConfigurationRecorderStatus for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" You have specified a configuration recorder that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus

DescribeConfigurationRecorderStatusRequest

func (c *ConfigService) DescribeConfigurationRecorderStatusRequest(input *DescribeConfigurationRecorderStatusInput) (req *request.Request, output *DescribeConfigurationRecorderStatusOutput)

DescribeConfigurationRecorderStatusRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurationRecorderStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurationRecorderStatus for more information on using the DescribeConfigurationRecorderStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationRecorderStatusRequest method. req, resp := client.DescribeConfigurationRecorderStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus

DescribeConfigurationRecorderStatusWithContext

func (c *ConfigService) DescribeConfigurationRecorderStatusWithContext(ctx aws.Context, input *DescribeConfigurationRecorderStatusInput, opts ...request.Option) (*DescribeConfigurationRecorderStatusOutput, error)

DescribeConfigurationRecorderStatusWithContext is the same as DescribeConfigurationRecorderStatus with the addition of the ability to pass a context and additional request options.

See DescribeConfigurationRecorderStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConfigurationRecorders

func (c *ConfigService) DescribeConfigurationRecorders(input *DescribeConfigurationRecordersInput) (*DescribeConfigurationRecordersOutput, error)

DescribeConfigurationRecorders API operation for AWS Config.

Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeConfigurationRecorders for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" You have specified a configuration recorder that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders

DescribeConfigurationRecordersRequest

func (c *ConfigService) DescribeConfigurationRecordersRequest(input *DescribeConfigurationRecordersInput) (req *request.Request, output *DescribeConfigurationRecordersOutput)

DescribeConfigurationRecordersRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurationRecorders operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurationRecorders for more information on using the DescribeConfigurationRecorders API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationRecordersRequest method. req, resp := client.DescribeConfigurationRecordersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders

DescribeConfigurationRecordersWithContext

func (c *ConfigService) DescribeConfigurationRecordersWithContext(ctx aws.Context, input *DescribeConfigurationRecordersInput, opts ...request.Option) (*DescribeConfigurationRecordersOutput, error)

DescribeConfigurationRecordersWithContext is the same as DescribeConfigurationRecorders with the addition of the ability to pass a context and additional request options.

See DescribeConfigurationRecorders for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDeliveryChannelStatus

func (c *ConfigService) DescribeDeliveryChannelStatus(input *DescribeDeliveryChannelStatusInput) (*DescribeDeliveryChannelStatusOutput, error)

DescribeDeliveryChannelStatus API operation for AWS Config.

Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeDeliveryChannelStatus for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException" You have specified a delivery channel that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus

DescribeDeliveryChannelStatusRequest

func (c *ConfigService) DescribeDeliveryChannelStatusRequest(input *DescribeDeliveryChannelStatusInput) (req *request.Request, output *DescribeDeliveryChannelStatusOutput)

DescribeDeliveryChannelStatusRequest generates a "aws/request.Request" representing the client's request for the DescribeDeliveryChannelStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDeliveryChannelStatus for more information on using the DescribeDeliveryChannelStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDeliveryChannelStatusRequest method. req, resp := client.DescribeDeliveryChannelStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus

DescribeDeliveryChannelStatusWithContext

func (c *ConfigService) DescribeDeliveryChannelStatusWithContext(ctx aws.Context, input *DescribeDeliveryChannelStatusInput, opts ...request.Option) (*DescribeDeliveryChannelStatusOutput, error)

DescribeDeliveryChannelStatusWithContext is the same as DescribeDeliveryChannelStatus with the addition of the ability to pass a context and additional request options.

See DescribeDeliveryChannelStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDeliveryChannels

func (c *ConfigService) DescribeDeliveryChannels(input *DescribeDeliveryChannelsInput) (*DescribeDeliveryChannelsOutput, error)

DescribeDeliveryChannels API operation for AWS Config.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeDeliveryChannels for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException" You have specified a delivery channel that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels

DescribeDeliveryChannelsRequest

func (c *ConfigService) DescribeDeliveryChannelsRequest(input *DescribeDeliveryChannelsInput) (req *request.Request, output *DescribeDeliveryChannelsOutput)

DescribeDeliveryChannelsRequest generates a "aws/request.Request" representing the client's request for the DescribeDeliveryChannels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDeliveryChannels for more information on using the DescribeDeliveryChannels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDeliveryChannelsRequest method. req, resp := client.DescribeDeliveryChannelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels

DescribeDeliveryChannelsWithContext

func (c *ConfigService) DescribeDeliveryChannelsWithContext(ctx aws.Context, input *DescribeDeliveryChannelsInput, opts ...request.Option) (*DescribeDeliveryChannelsOutput, error)

DescribeDeliveryChannelsWithContext is the same as DescribeDeliveryChannels with the addition of the ability to pass a context and additional request options.

See DescribeDeliveryChannels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribePendingAggregationRequests

func (c *ConfigService) DescribePendingAggregationRequests(input *DescribePendingAggregationRequestsInput) (*DescribePendingAggregationRequestsOutput, error)

DescribePendingAggregationRequests API operation for AWS Config.

Returns a list of all pending aggregation requests.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribePendingAggregationRequests for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribePendingAggregationRequests

DescribePendingAggregationRequestsRequest

func (c *ConfigService) DescribePendingAggregationRequestsRequest(input *DescribePendingAggregationRequestsInput) (req *request.Request, output *DescribePendingAggregationRequestsOutput)

DescribePendingAggregationRequestsRequest generates a "aws/request.Request" representing the client's request for the DescribePendingAggregationRequests operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePendingAggregationRequests for more information on using the DescribePendingAggregationRequests API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePendingAggregationRequestsRequest method. req, resp := client.DescribePendingAggregationRequestsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribePendingAggregationRequests

DescribePendingAggregationRequestsWithContext

func (c *ConfigService) DescribePendingAggregationRequestsWithContext(ctx aws.Context, input *DescribePendingAggregationRequestsInput, opts ...request.Option) (*DescribePendingAggregationRequestsOutput, error)

DescribePendingAggregationRequestsWithContext is the same as DescribePendingAggregationRequests with the addition of the ability to pass a context and additional request options.

See DescribePendingAggregationRequests for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeRetentionConfigurations

func (c *ConfigService) DescribeRetentionConfigurations(input *DescribeRetentionConfigurationsInput) (*DescribeRetentionConfigurationsOutput, error)

DescribeRetentionConfigurations API operation for AWS Config.

Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation DescribeRetentionConfigurations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeNoSuchRetentionConfigurationException "NoSuchRetentionConfigurationException" You have specified a retention configuration that does not exist.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations

DescribeRetentionConfigurationsRequest

func (c *ConfigService) DescribeRetentionConfigurationsRequest(input *DescribeRetentionConfigurationsInput) (req *request.Request, output *DescribeRetentionConfigurationsOutput)

DescribeRetentionConfigurationsRequest generates a "aws/request.Request" representing the client's request for the DescribeRetentionConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRetentionConfigurations for more information on using the DescribeRetentionConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRetentionConfigurationsRequest method. req, resp := client.DescribeRetentionConfigurationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations

DescribeRetentionConfigurationsWithContext

func (c *ConfigService) DescribeRetentionConfigurationsWithContext(ctx aws.Context, input *DescribeRetentionConfigurationsInput, opts ...request.Option) (*DescribeRetentionConfigurationsOutput, error)

DescribeRetentionConfigurationsWithContext is the same as DescribeRetentionConfigurations with the addition of the ability to pass a context and additional request options.

See DescribeRetentionConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAggregateComplianceDetailsByConfigRule

func (c *ConfigService) GetAggregateComplianceDetailsByConfigRule(input *GetAggregateComplianceDetailsByConfigRuleInput) (*GetAggregateComplianceDetailsByConfigRuleOutput, error)

GetAggregateComplianceDetailsByConfigRule API operation for AWS Config.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetAggregateComplianceDetailsByConfigRule for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateComplianceDetailsByConfigRule

GetAggregateComplianceDetailsByConfigRuleRequest

func (c *ConfigService) GetAggregateComplianceDetailsByConfigRuleRequest(input *GetAggregateComplianceDetailsByConfigRuleInput) (req *request.Request, output *GetAggregateComplianceDetailsByConfigRuleOutput)

GetAggregateComplianceDetailsByConfigRuleRequest generates a "aws/request.Request" representing the client's request for the GetAggregateComplianceDetailsByConfigRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAggregateComplianceDetailsByConfigRule for more information on using the GetAggregateComplianceDetailsByConfigRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAggregateComplianceDetailsByConfigRuleRequest method. req, resp := client.GetAggregateComplianceDetailsByConfigRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateComplianceDetailsByConfigRule

GetAggregateComplianceDetailsByConfigRuleWithContext

func (c *ConfigService) GetAggregateComplianceDetailsByConfigRuleWithContext(ctx aws.Context, input *GetAggregateComplianceDetailsByConfigRuleInput, opts ...request.Option) (*GetAggregateComplianceDetailsByConfigRuleOutput, error)

GetAggregateComplianceDetailsByConfigRuleWithContext is the same as GetAggregateComplianceDetailsByConfigRule with the addition of the ability to pass a context and additional request options.

See GetAggregateComplianceDetailsByConfigRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAggregateConfigRuleComplianceSummary

func (c *ConfigService) GetAggregateConfigRuleComplianceSummary(input *GetAggregateConfigRuleComplianceSummaryInput) (*GetAggregateConfigRuleComplianceSummaryOutput, error)

GetAggregateConfigRuleComplianceSummary API operation for AWS Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetAggregateConfigRuleComplianceSummary for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConfigRuleComplianceSummary

GetAggregateConfigRuleComplianceSummaryRequest

func (c *ConfigService) GetAggregateConfigRuleComplianceSummaryRequest(input *GetAggregateConfigRuleComplianceSummaryInput) (req *request.Request, output *GetAggregateConfigRuleComplianceSummaryOutput)

GetAggregateConfigRuleComplianceSummaryRequest generates a "aws/request.Request" representing the client's request for the GetAggregateConfigRuleComplianceSummary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAggregateConfigRuleComplianceSummary for more information on using the GetAggregateConfigRuleComplianceSummary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAggregateConfigRuleComplianceSummaryRequest method. req, resp := client.GetAggregateConfigRuleComplianceSummaryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConfigRuleComplianceSummary

GetAggregateConfigRuleComplianceSummaryWithContext

func (c *ConfigService) GetAggregateConfigRuleComplianceSummaryWithContext(ctx aws.Context, input *GetAggregateConfigRuleComplianceSummaryInput, opts ...request.Option) (*GetAggregateConfigRuleComplianceSummaryOutput, error)

GetAggregateConfigRuleComplianceSummaryWithContext is the same as GetAggregateConfigRuleComplianceSummary with the addition of the ability to pass a context and additional request options.

See GetAggregateConfigRuleComplianceSummary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAggregateDiscoveredResourceCounts

func (c *ConfigService) GetAggregateDiscoveredResourceCounts(input *GetAggregateDiscoveredResourceCountsInput) (*GetAggregateDiscoveredResourceCountsOutput, error)

GetAggregateDiscoveredResourceCounts API operation for AWS Config.

Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetAggregateDiscoveredResourceCounts for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateDiscoveredResourceCounts

GetAggregateDiscoveredResourceCountsRequest

func (c *ConfigService) GetAggregateDiscoveredResourceCountsRequest(input *GetAggregateDiscoveredResourceCountsInput) (req *request.Request, output *GetAggregateDiscoveredResourceCountsOutput)

GetAggregateDiscoveredResourceCountsRequest generates a "aws/request.Request" representing the client's request for the GetAggregateDiscoveredResourceCounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAggregateDiscoveredResourceCounts for more information on using the GetAggregateDiscoveredResourceCounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAggregateDiscoveredResourceCountsRequest method. req, resp := client.GetAggregateDiscoveredResourceCountsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateDiscoveredResourceCounts

GetAggregateDiscoveredResourceCountsWithContext

func (c *ConfigService) GetAggregateDiscoveredResourceCountsWithContext(ctx aws.Context, input *GetAggregateDiscoveredResourceCountsInput, opts ...request.Option) (*GetAggregateDiscoveredResourceCountsOutput, error)

GetAggregateDiscoveredResourceCountsWithContext is the same as GetAggregateDiscoveredResourceCounts with the addition of the ability to pass a context and additional request options.

See GetAggregateDiscoveredResourceCounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAggregateResourceConfig

func (c *ConfigService) GetAggregateResourceConfig(input *GetAggregateResourceConfigInput) (*GetAggregateResourceConfigOutput, error)

GetAggregateResourceConfig API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetAggregateResourceConfig for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

  • ErrCodeOversizedConfigurationItemException "OversizedConfigurationItemException" The configuration item size is outside the allowable range.

  • ErrCodeResourceNotDiscoveredException "ResourceNotDiscoveredException" You have specified a resource that is either unknown or has not been discovered.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateResourceConfig

GetAggregateResourceConfigRequest

func (c *ConfigService) GetAggregateResourceConfigRequest(input *GetAggregateResourceConfigInput) (req *request.Request, output *GetAggregateResourceConfigOutput)

GetAggregateResourceConfigRequest generates a "aws/request.Request" representing the client's request for the GetAggregateResourceConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAggregateResourceConfig for more information on using the GetAggregateResourceConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAggregateResourceConfigRequest method. req, resp := client.GetAggregateResourceConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateResourceConfig

GetAggregateResourceConfigWithContext

func (c *ConfigService) GetAggregateResourceConfigWithContext(ctx aws.Context, input *GetAggregateResourceConfigInput, opts ...request.Option) (*GetAggregateResourceConfigOutput, error)

GetAggregateResourceConfigWithContext is the same as GetAggregateResourceConfig with the addition of the ability to pass a context and additional request options.

See GetAggregateResourceConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetComplianceDetailsByConfigRule

func (c *ConfigService) GetComplianceDetailsByConfigRule(input *GetComplianceDetailsByConfigRuleInput) (*GetComplianceDetailsByConfigRuleOutput, error)

GetComplianceDetailsByConfigRule API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetComplianceDetailsByConfigRule for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule

GetComplianceDetailsByConfigRuleRequest

func (c *ConfigService) GetComplianceDetailsByConfigRuleRequest(input *GetComplianceDetailsByConfigRuleInput) (req *request.Request, output *GetComplianceDetailsByConfigRuleOutput)

GetComplianceDetailsByConfigRuleRequest generates a "aws/request.Request" representing the client's request for the GetComplianceDetailsByConfigRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComplianceDetailsByConfigRule for more information on using the GetComplianceDetailsByConfigRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComplianceDetailsByConfigRuleRequest method. req, resp := client.GetComplianceDetailsByConfigRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule

GetComplianceDetailsByConfigRuleWithContext

func (c *ConfigService) GetComplianceDetailsByConfigRuleWithContext(ctx aws.Context, input *GetComplianceDetailsByConfigRuleInput, opts ...request.Option) (*GetComplianceDetailsByConfigRuleOutput, error)

GetComplianceDetailsByConfigRuleWithContext is the same as GetComplianceDetailsByConfigRule with the addition of the ability to pass a context and additional request options.

See GetComplianceDetailsByConfigRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetComplianceDetailsByResource

func (c *ConfigService) GetComplianceDetailsByResource(input *GetComplianceDetailsByResourceInput) (*GetComplianceDetailsByResourceOutput, error)

GetComplianceDetailsByResource API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetComplianceDetailsByResource for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource

GetComplianceDetailsByResourceRequest

func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplianceDetailsByResourceInput) (req *request.Request, output *GetComplianceDetailsByResourceOutput)

GetComplianceDetailsByResourceRequest generates a "aws/request.Request" representing the client's request for the GetComplianceDetailsByResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComplianceDetailsByResource for more information on using the GetComplianceDetailsByResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComplianceDetailsByResourceRequest method. req, resp := client.GetComplianceDetailsByResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource

GetComplianceDetailsByResourceWithContext

func (c *ConfigService) GetComplianceDetailsByResourceWithContext(ctx aws.Context, input *GetComplianceDetailsByResourceInput, opts ...request.Option) (*GetComplianceDetailsByResourceOutput, error)

GetComplianceDetailsByResourceWithContext is the same as GetComplianceDetailsByResource with the addition of the ability to pass a context and additional request options.

See GetComplianceDetailsByResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetComplianceSummaryByConfigRule

func (c *ConfigService) GetComplianceSummaryByConfigRule(input *GetComplianceSummaryByConfigRuleInput) (*GetComplianceSummaryByConfigRuleOutput, error)

GetComplianceSummaryByConfigRule API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetComplianceSummaryByConfigRule for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule

GetComplianceSummaryByConfigRuleRequest

func (c *ConfigService) GetComplianceSummaryByConfigRuleRequest(input *GetComplianceSummaryByConfigRuleInput) (req *request.Request, output *GetComplianceSummaryByConfigRuleOutput)

GetComplianceSummaryByConfigRuleRequest generates a "aws/request.Request" representing the client's request for the GetComplianceSummaryByConfigRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComplianceSummaryByConfigRule for more information on using the GetComplianceSummaryByConfigRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComplianceSummaryByConfigRuleRequest method. req, resp := client.GetComplianceSummaryByConfigRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule

GetComplianceSummaryByConfigRuleWithContext

func (c *ConfigService) GetComplianceSummaryByConfigRuleWithContext(ctx aws.Context, input *GetComplianceSummaryByConfigRuleInput, opts ...request.Option) (*GetComplianceSummaryByConfigRuleOutput, error)

GetComplianceSummaryByConfigRuleWithContext is the same as GetComplianceSummaryByConfigRule with the addition of the ability to pass a context and additional request options.

See GetComplianceSummaryByConfigRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetComplianceSummaryByResourceType

func (c *ConfigService) GetComplianceSummaryByResourceType(input *GetComplianceSummaryByResourceTypeInput) (*GetComplianceSummaryByResourceTypeOutput, error)

GetComplianceSummaryByResourceType API operation for AWS Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetComplianceSummaryByResourceType for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType

GetComplianceSummaryByResourceTypeRequest

func (c *ConfigService) GetComplianceSummaryByResourceTypeRequest(input *GetComplianceSummaryByResourceTypeInput) (req *request.Request, output *GetComplianceSummaryByResourceTypeOutput)

GetComplianceSummaryByResourceTypeRequest generates a "aws/request.Request" representing the client's request for the GetComplianceSummaryByResourceType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComplianceSummaryByResourceType for more information on using the GetComplianceSummaryByResourceType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComplianceSummaryByResourceTypeRequest method. req, resp := client.GetComplianceSummaryByResourceTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType

GetComplianceSummaryByResourceTypeWithContext

func (c *ConfigService) GetComplianceSummaryByResourceTypeWithContext(ctx aws.Context, input *GetComplianceSummaryByResourceTypeInput, opts ...request.Option) (*GetComplianceSummaryByResourceTypeOutput, error)

GetComplianceSummaryByResourceTypeWithContext is the same as GetComplianceSummaryByResourceType with the addition of the ability to pass a context and additional request options.

See GetComplianceSummaryByResourceType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDiscoveredResourceCounts

func (c *ConfigService) GetDiscoveredResourceCounts(input *GetDiscoveredResourceCountsInput) (*GetDiscoveredResourceCountsOutput, error)

GetDiscoveredResourceCounts API operation for AWS Config.

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

Example

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

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

AWS Config returns the following:

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, AWS 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 AWS Config customer.

You just enabled resource recording.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetDiscoveredResourceCounts for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts

GetDiscoveredResourceCountsRequest

func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredResourceCountsInput) (req *request.Request, output *GetDiscoveredResourceCountsOutput)

GetDiscoveredResourceCountsRequest generates a "aws/request.Request" representing the client's request for the GetDiscoveredResourceCounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDiscoveredResourceCounts for more information on using the GetDiscoveredResourceCounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDiscoveredResourceCountsRequest method. req, resp := client.GetDiscoveredResourceCountsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts

GetDiscoveredResourceCountsWithContext

func (c *ConfigService) GetDiscoveredResourceCountsWithContext(ctx aws.Context, input *GetDiscoveredResourceCountsInput, opts ...request.Option) (*GetDiscoveredResourceCountsOutput, error)

GetDiscoveredResourceCountsWithContext is the same as GetDiscoveredResourceCounts with the addition of the ability to pass a context and additional request options.

See GetDiscoveredResourceCounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetResourceConfigHistory

func (c *ConfigService) GetResourceConfigHistory(input *GetResourceConfigHistoryInput) (*GetResourceConfigHistoryOutput, error)

GetResourceConfigHistory API operation for AWS Config.

Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation GetResourceConfigHistory for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidTimeRangeException "InvalidTimeRangeException" The specified time range is not valid. The earlier time is not chronologically before the later time.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException" There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

  • ErrCodeResourceNotDiscoveredException "ResourceNotDiscoveredException" You have specified a resource that is either unknown or has not been discovered.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory

GetResourceConfigHistoryPages

func (c *ConfigService) GetResourceConfigHistoryPages(input *GetResourceConfigHistoryInput, fn func(*GetResourceConfigHistoryOutput, bool) bool) error

GetResourceConfigHistoryPages iterates over the pages of a GetResourceConfigHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetResourceConfigHistory method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetResourceConfigHistory operation. pageNum := 0 err := client.GetResourceConfigHistoryPages(params, func(page *GetResourceConfigHistoryOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetResourceConfigHistoryPagesWithContext

func (c *ConfigService) GetResourceConfigHistoryPagesWithContext(ctx aws.Context, input *GetResourceConfigHistoryInput, fn func(*GetResourceConfigHistoryOutput, bool) bool, opts ...request.Option) error

GetResourceConfigHistoryPagesWithContext same as GetResourceConfigHistoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetResourceConfigHistoryRequest

func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfigHistoryInput) (req *request.Request, output *GetResourceConfigHistoryOutput)

GetResourceConfigHistoryRequest generates a "aws/request.Request" representing the client's request for the GetResourceConfigHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourceConfigHistory for more information on using the GetResourceConfigHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourceConfigHistoryRequest method. req, resp := client.GetResourceConfigHistoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory

GetResourceConfigHistoryWithContext

func (c *ConfigService) GetResourceConfigHistoryWithContext(ctx aws.Context, input *GetResourceConfigHistoryInput, opts ...request.Option) (*GetResourceConfigHistoryOutput, error)

GetResourceConfigHistoryWithContext is the same as GetResourceConfigHistory with the addition of the ability to pass a context and additional request options.

See GetResourceConfigHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAggregateDiscoveredResources

func (c *ConfigService) ListAggregateDiscoveredResources(input *ListAggregateDiscoveredResourcesInput) (*ListAggregateDiscoveredResourcesOutput, error)

ListAggregateDiscoveredResources API operation for AWS Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation ListAggregateDiscoveredResources for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoSuchConfigurationAggregatorException "NoSuchConfigurationAggregatorException" You have specified a configuration aggregator that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListAggregateDiscoveredResources

ListAggregateDiscoveredResourcesRequest

func (c *ConfigService) ListAggregateDiscoveredResourcesRequest(input *ListAggregateDiscoveredResourcesInput) (req *request.Request, output *ListAggregateDiscoveredResourcesOutput)

ListAggregateDiscoveredResourcesRequest generates a "aws/request.Request" representing the client's request for the ListAggregateDiscoveredResources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAggregateDiscoveredResources for more information on using the ListAggregateDiscoveredResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAggregateDiscoveredResourcesRequest method. req, resp := client.ListAggregateDiscoveredResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListAggregateDiscoveredResources

ListAggregateDiscoveredResourcesWithContext

func (c *ConfigService) ListAggregateDiscoveredResourcesWithContext(ctx aws.Context, input *ListAggregateDiscoveredResourcesInput, opts ...request.Option) (*ListAggregateDiscoveredResourcesOutput, error)

ListAggregateDiscoveredResourcesWithContext is the same as ListAggregateDiscoveredResources with the addition of the ability to pass a context and additional request options.

See ListAggregateDiscoveredResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDiscoveredResources

func (c *ConfigService) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error)

ListDiscoveredResources API operation for AWS Config.

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

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation ListDiscoveredResources for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The requested action is not valid.

  • ErrCodeInvalidLimitException "InvalidLimitException" The specified limit is outside the allowable range.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.

  • ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException" There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources

ListDiscoveredResourcesRequest

func (c *ConfigService) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput)

ListDiscoveredResourcesRequest generates a "aws/request.Request" representing the client's request for the ListDiscoveredResources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDiscoveredResources for more information on using the ListDiscoveredResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDiscoveredResourcesRequest method. req, resp := client.ListDiscoveredResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources

ListDiscoveredResourcesWithContext

func (c *ConfigService) ListDiscoveredResourcesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, opts ...request.Option) (*ListDiscoveredResourcesOutput, error)

ListDiscoveredResourcesWithContext is the same as ListDiscoveredResources with the addition of the ability to pass a context and additional request options.

See ListDiscoveredResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutAggregationAuthorization

func (c *ConfigService) PutAggregationAuthorization(input *PutAggregationAuthorizationInput) (*PutAggregationAuthorizationOutput, error)

PutAggregationAuthorization API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutAggregationAuthorization for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutAggregationAuthorization

PutAggregationAuthorizationRequest

func (c *ConfigService) PutAggregationAuthorizationRequest(input *PutAggregationAuthorizationInput) (req *request.Request, output *PutAggregationAuthorizationOutput)

PutAggregationAuthorizationRequest generates a "aws/request.Request" representing the client's request for the PutAggregationAuthorization operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAggregationAuthorization for more information on using the PutAggregationAuthorization API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAggregationAuthorizationRequest method. req, resp := client.PutAggregationAuthorizationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutAggregationAuthorization

PutAggregationAuthorizationWithContext

func (c *ConfigService) PutAggregationAuthorizationWithContext(ctx aws.Context, input *PutAggregationAuthorizationInput, opts ...request.Option) (*PutAggregationAuthorizationOutput, error)

PutAggregationAuthorizationWithContext is the same as PutAggregationAuthorization with the addition of the ability to pass a context and additional request options.

See PutAggregationAuthorization for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutConfigRule

func (c *ConfigService) PutConfigRule(input *PutConfigRuleInput) (*PutConfigRuleOutput, error)

PutConfigRule API operation for AWS Config.

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

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

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

If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html).

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

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

The maximum number of rules that AWS Config supports is 50.

For information about requesting a rule limit increase, see AWS Config Limits (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config) in the AWS General Reference Guide.

For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the AWS Config Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutConfigRule for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeMaxNumberOfConfigRulesExceededException "MaxNumberOfConfigRulesExceededException" Failed to add the AWS Config rule because the account already contains the maximum number of 50 rules. Consider deleting any deactivated rules before you add new rules.

  • ErrCodeResourceInUseException "ResourceInUseException" The rule is currently being deleted or the rule is deleting your evaluation results. Try your request again later.

  • ErrCodeInsufficientPermissionsException "InsufficientPermissionsException" Indicates one of the following errors:

  • The rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.

  • The AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.

  • ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException" There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule

PutConfigRuleRequest

func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *request.Request, output *PutConfigRuleOutput)

PutConfigRuleRequest generates a "aws/request.Request" representing the client's request for the PutConfigRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutConfigRule for more information on using the PutConfigRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutConfigRuleRequest method. req, resp := client.PutConfigRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule

PutConfigRuleWithContext

func (c *ConfigService) PutConfigRuleWithContext(ctx aws.Context, input *PutConfigRuleInput, opts ...request.Option) (*PutConfigRuleOutput, error)

PutConfigRuleWithContext is the same as PutConfigRule with the addition of the ability to pass a context and additional request options.

See PutConfigRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutConfigurationAggregator

func (c *ConfigService) PutConfigurationAggregator(input *PutConfigurationAggregatorInput) (*PutConfigurationAggregatorOutput, error)

PutConfigurationAggregator API operation for AWS Config.

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

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutConfigurationAggregator for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeLimitExceededException "LimitExceededException" For StartConfigRulesEvaluation API, this exception is thrown if an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per minute.

For PutConfigurationAggregator API, this exception is thrown if the number of accounts and aggregators exceeds the limit.
  • ErrCodeInvalidRoleException "InvalidRoleException" You have provided a null or empty role ARN.

  • ErrCodeOrganizationAccessDeniedException "OrganizationAccessDeniedException" No permission to call the EnableAWSServiceAccess API.

  • ErrCodeNoAvailableOrganizationException "NoAvailableOrganizationException" Organization does is no longer available.

  • ErrCodeOrganizationAllFeaturesNotEnabledException "OrganizationAllFeaturesNotEnabledException" The configuration aggregator cannot be created because organization does not have all features enabled.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationAggregator

PutConfigurationAggregatorRequest

func (c *ConfigService) PutConfigurationAggregatorRequest(input *PutConfigurationAggregatorInput) (req *request.Request, output *PutConfigurationAggregatorOutput)

PutConfigurationAggregatorRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationAggregator operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutConfigurationAggregator for more information on using the PutConfigurationAggregator API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutConfigurationAggregatorRequest method. req, resp := client.PutConfigurationAggregatorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationAggregator

PutConfigurationAggregatorWithContext

func (c *ConfigService) PutConfigurationAggregatorWithContext(ctx aws.Context, input *PutConfigurationAggregatorInput, opts ...request.Option) (*PutConfigurationAggregatorOutput, error)

PutConfigurationAggregatorWithContext is the same as PutConfigurationAggregator with the addition of the ability to pass a context and additional request options.

See PutConfigurationAggregator for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutConfigurationRecorder

func (c *ConfigService) PutConfigurationRecorder(input *PutConfigurationRecorderInput) (*PutConfigurationRecorderOutput, error)

PutConfigurationRecorder API operation for AWS Config.

Creates a new configuration recorder to record the selected resource configurations.

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

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

If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutConfigurationRecorder for usage and error information.

Returned Error Codes:

  • ErrCodeMaxNumberOfConfigurationRecordersExceededException "MaxNumberOfConfigurationRecordersExceededException" You have reached the limit of the number of recorders you can create.

  • ErrCodeInvalidConfigurationRecorderNameException "InvalidConfigurationRecorderNameException" You have provided a configuration recorder name that is not valid.

  • ErrCodeInvalidRoleException "InvalidRoleException" You have provided a null or empty role ARN.

  • ErrCodeInvalidRecordingGroupException "InvalidRecordingGroupException" AWS Config throws an exception if the recording group does not contain a valid list of resource types. Invalid values might also be incorrectly formatted.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder

PutConfigurationRecorderRequest

func (c *ConfigService) PutConfigurationRecorderRequest(input *PutConfigurationRecorderInput) (req *request.Request, output *PutConfigurationRecorderOutput)

PutConfigurationRecorderRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationRecorder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutConfigurationRecorder for more information on using the PutConfigurationRecorder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutConfigurationRecorderRequest method. req, resp := client.PutConfigurationRecorderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder

PutConfigurationRecorderWithContext

func (c *ConfigService) PutConfigurationRecorderWithContext(ctx aws.Context, input *PutConfigurationRecorderInput, opts ...request.Option) (*PutConfigurationRecorderOutput, error)

PutConfigurationRecorderWithContext is the same as PutConfigurationRecorder with the addition of the ability to pass a context and additional request options.

See PutConfigurationRecorder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutDeliveryChannel

func (c *ConfigService) PutDeliveryChannel(input *PutDeliveryChannelInput) (*PutDeliveryChannelOutput, error)

PutDeliveryChannel API operation for AWS Config.

Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic.

Before you can create a delivery channel, you must create a configuration recorder.

You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.

You can have only one delivery channel per region in your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutDeliveryChannel for usage and error information.

Returned Error Codes:

  • ErrCodeMaxNumberOfDeliveryChannelsExceededException "MaxNumberOfDeliveryChannelsExceededException" You have reached the limit of the number of delivery channels you can create.

  • ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException" There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

  • ErrCodeInvalidDeliveryChannelNameException "InvalidDeliveryChannelNameException" The specified delivery channel name is not valid.

  • ErrCodeNoSuchBucketException "NoSuchBucketException" The specified Amazon S3 bucket does not exist.

  • ErrCodeInvalidS3KeyPrefixException "InvalidS3KeyPrefixException" The specified Amazon S3 key prefix is not valid.

  • ErrCodeInvalidSNSTopicARNException "InvalidSNSTopicARNException" The specified Amazon SNS topic does not exist.

  • ErrCodeInsufficientDeliveryPolicyException "InsufficientDeliveryPolicyException" Your Amazon S3 bucket policy does not permit AWS Config to write to it.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel

PutDeliveryChannelRequest

func (c *ConfigService) PutDeliveryChannelRequest(input *PutDeliveryChannelInput) (req *request.Request, output *PutDeliveryChannelOutput)

PutDeliveryChannelRequest generates a "aws/request.Request" representing the client's request for the PutDeliveryChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutDeliveryChannel for more information on using the PutDeliveryChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutDeliveryChannelRequest method. req, resp := client.PutDeliveryChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel

PutDeliveryChannelWithContext

func (c *ConfigService) PutDeliveryChannelWithContext(ctx aws.Context, input *PutDeliveryChannelInput, opts ...request.Option) (*PutDeliveryChannelOutput, error)

PutDeliveryChannelWithContext is the same as PutDeliveryChannel with the addition of the ability to pass a context and additional request options.

See PutDeliveryChannel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutEvaluations

func (c *ConfigService) PutEvaluations(input *PutEvaluationsInput) (*PutEvaluationsOutput, error)

PutEvaluations API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutEvaluations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeInvalidResultTokenException "InvalidResultTokenException" The specified ResultToken is invalid.

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations

PutEvaluationsRequest

func (c *ConfigService) PutEvaluationsRequest(input *PutEvaluationsInput) (req *request.Request, output *PutEvaluationsOutput)

PutEvaluationsRequest generates a "aws/request.Request" representing the client's request for the PutEvaluations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutEvaluations for more information on using the PutEvaluations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutEvaluationsRequest method. req, resp := client.PutEvaluationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations

PutEvaluationsWithContext

func (c *ConfigService) PutEvaluationsWithContext(ctx aws.Context, input *PutEvaluationsInput, opts ...request.Option) (*PutEvaluationsOutput, error)

PutEvaluationsWithContext is the same as PutEvaluations with the addition of the ability to pass a context and additional request options.

See PutEvaluations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutRetentionConfiguration

func (c *ConfigService) PutRetentionConfiguration(input *PutRetentionConfigurationInput) (*PutRetentionConfigurationOutput, error)

PutRetentionConfiguration API operation for AWS Config.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation PutRetentionConfiguration for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

  • ErrCodeMaxNumberOfRetentionConfigurationsExceededException "MaxNumberOfRetentionConfigurationsExceededException" Failed to add the retention configuration because a retention configuration with that name already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration

PutRetentionConfigurationRequest

func (c *ConfigService) PutRetentionConfigurationRequest(input *PutRetentionConfigurationInput) (req *request.Request, output *PutRetentionConfigurationOutput)

PutRetentionConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutRetentionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRetentionConfiguration for more information on using the PutRetentionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRetentionConfigurationRequest method. req, resp := client.PutRetentionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration

PutRetentionConfigurationWithContext

func (c *ConfigService) PutRetentionConfigurationWithContext(ctx aws.Context, input *PutRetentionConfigurationInput, opts ...request.Option) (*PutRetentionConfigurationOutput, error)

PutRetentionConfigurationWithContext is the same as PutRetentionConfiguration with the addition of the ability to pass a context and additional request options.

See PutRetentionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartConfigRulesEvaluation

func (c *ConfigService) StartConfigRulesEvaluation(input *StartConfigRulesEvaluationInput) (*StartConfigRulesEvaluationOutput, error)

StartConfigRulesEvaluation API operation for AWS Config.

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

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

An existing StartConfigRulesEvaluation call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a 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, AWS 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.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation StartConfigRulesEvaluation for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException" One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.

  • ErrCodeLimitExceededException "LimitExceededException" For StartConfigRulesEvaluation API, this exception is thrown if an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per minute.

For PutConfigurationAggregator API, this exception is thrown if the number of accounts and aggregators exceeds the limit.
  • ErrCodeResourceInUseException "ResourceInUseException" The rule is currently being deleted or the rule is deleting your evaluation results. Try your request again later.

  • ErrCodeInvalidParameterValueException "InvalidParameterValueException" One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation

StartConfigRulesEvaluationRequest

func (c *ConfigService) StartConfigRulesEvaluationRequest(input *StartConfigRulesEvaluationInput) (req *request.Request, output *StartConfigRulesEvaluationOutput)

StartConfigRulesEvaluationRequest generates a "aws/request.Request" representing the client's request for the StartConfigRulesEvaluation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartConfigRulesEvaluation for more information on using the StartConfigRulesEvaluation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartConfigRulesEvaluationRequest method. req, resp := client.StartConfigRulesEvaluationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation

StartConfigRulesEvaluationWithContext

func (c *ConfigService) StartConfigRulesEvaluationWithContext(ctx aws.Context, input *StartConfigRulesEvaluationInput, opts ...request.Option) (*StartConfigRulesEvaluationOutput, error)

StartConfigRulesEvaluationWithContext is the same as StartConfigRulesEvaluation with the addition of the ability to pass a context and additional request options.

See StartConfigRulesEvaluation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartConfigurationRecorder

func (c *ConfigService) StartConfigurationRecorder(input *StartConfigurationRecorderInput) (*StartConfigurationRecorderOutput, error)

StartConfigurationRecorder API operation for AWS Config.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation StartConfigurationRecorder for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" You have specified a configuration recorder that does not exist.

  • ErrCodeNoAvailableDeliveryChannelException "NoAvailableDeliveryChannelException" There is no delivery channel available to record configurations.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder

StartConfigurationRecorderRequest

func (c *ConfigService) StartConfigurationRecorderRequest(input *StartConfigurationRecorderInput) (req *request.Request, output *StartConfigurationRecorderOutput)

StartConfigurationRecorderRequest generates a "aws/request.Request" representing the client's request for the StartConfigurationRecorder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartConfigurationRecorder for more information on using the StartConfigurationRecorder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartConfigurationRecorderRequest method. req, resp := client.StartConfigurationRecorderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder

StartConfigurationRecorderWithContext

func (c *ConfigService) StartConfigurationRecorderWithContext(ctx aws.Context, input *StartConfigurationRecorderInput, opts ...request.Option) (*StartConfigurationRecorderOutput, error)

StartConfigurationRecorderWithContext is the same as StartConfigurationRecorder with the addition of the ability to pass a context and additional request options.

See StartConfigurationRecorder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StopConfigurationRecorder

func (c *ConfigService) StopConfigurationRecorder(input *StopConfigurationRecorderInput) (*StopConfigurationRecorderOutput, error)

StopConfigurationRecorder API operation for AWS Config.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Config's API operation StopConfigurationRecorder for usage and error information.

Returned Error Codes:

  • ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" You have specified a configuration recorder that does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder

StopConfigurationRecorderRequest

func (c *ConfigService) StopConfigurationRecorderRequest(input *StopConfigurationRecorderInput) (req *request.Request, output *StopConfigurationRecorderOutput)

StopConfigurationRecorderRequest generates a "aws/request.Request" representing the client's request for the StopConfigurationRecorder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopConfigurationRecorder for more information on using the StopConfigurationRecorder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopConfigurationRecorderRequest method. req, resp := client.StopConfigurationRecorderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder

StopConfigurationRecorderWithContext

func (c *ConfigService) StopConfigurationRecorderWithContext(ctx aws.Context, input *StopConfigurationRecorderInput, opts ...request.Option) (*StopConfigurationRecorderOutput, error)

StopConfigurationRecorderWithContext is the same as StopConfigurationRecorder with the addition of the ability to pass a context and additional request options.

See StopConfigurationRecorder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

On this page: