Documentation ¶
Overview ¶
Package configservice provides the API client, operations, and parameter types for AWS Config.
AWS Config AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see Supported AWS Resources (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources). You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config. This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config. The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see What Is AWS Config (https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html) in the AWS Config Developer Guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- type BatchGetAggregateResourceConfigInput
- type BatchGetAggregateResourceConfigOutput
- type BatchGetResourceConfigInput
- type BatchGetResourceConfigOutput
- type Client
- func (c *Client) BatchGetAggregateResourceConfig(ctx context.Context, params *BatchGetAggregateResourceConfigInput, ...) (*BatchGetAggregateResourceConfigOutput, error)
- func (c *Client) BatchGetResourceConfig(ctx context.Context, params *BatchGetResourceConfigInput, ...) (*BatchGetResourceConfigOutput, error)
- func (c *Client) DeleteAggregationAuthorization(ctx context.Context, params *DeleteAggregationAuthorizationInput, ...) (*DeleteAggregationAuthorizationOutput, error)
- func (c *Client) DeleteConfigRule(ctx context.Context, params *DeleteConfigRuleInput, optFns ...func(*Options)) (*DeleteConfigRuleOutput, error)
- func (c *Client) DeleteConfigurationAggregator(ctx context.Context, params *DeleteConfigurationAggregatorInput, ...) (*DeleteConfigurationAggregatorOutput, error)
- func (c *Client) DeleteConfigurationRecorder(ctx context.Context, params *DeleteConfigurationRecorderInput, ...) (*DeleteConfigurationRecorderOutput, error)
- func (c *Client) DeleteConformancePack(ctx context.Context, params *DeleteConformancePackInput, ...) (*DeleteConformancePackOutput, error)
- func (c *Client) DeleteDeliveryChannel(ctx context.Context, params *DeleteDeliveryChannelInput, ...) (*DeleteDeliveryChannelOutput, error)
- func (c *Client) DeleteEvaluationResults(ctx context.Context, params *DeleteEvaluationResultsInput, ...) (*DeleteEvaluationResultsOutput, error)
- func (c *Client) DeleteOrganizationConfigRule(ctx context.Context, params *DeleteOrganizationConfigRuleInput, ...) (*DeleteOrganizationConfigRuleOutput, error)
- func (c *Client) DeleteOrganizationConformancePack(ctx context.Context, params *DeleteOrganizationConformancePackInput, ...) (*DeleteOrganizationConformancePackOutput, error)
- func (c *Client) DeletePendingAggregationRequest(ctx context.Context, params *DeletePendingAggregationRequestInput, ...) (*DeletePendingAggregationRequestOutput, error)
- func (c *Client) DeleteRemediationConfiguration(ctx context.Context, params *DeleteRemediationConfigurationInput, ...) (*DeleteRemediationConfigurationOutput, error)
- func (c *Client) DeleteRemediationExceptions(ctx context.Context, params *DeleteRemediationExceptionsInput, ...) (*DeleteRemediationExceptionsOutput, error)
- func (c *Client) DeleteResourceConfig(ctx context.Context, params *DeleteResourceConfigInput, ...) (*DeleteResourceConfigOutput, error)
- func (c *Client) DeleteRetentionConfiguration(ctx context.Context, params *DeleteRetentionConfigurationInput, ...) (*DeleteRetentionConfigurationOutput, error)
- func (c *Client) DeliverConfigSnapshot(ctx context.Context, params *DeliverConfigSnapshotInput, ...) (*DeliverConfigSnapshotOutput, error)
- func (c *Client) DescribeAggregateComplianceByConfigRules(ctx context.Context, params *DescribeAggregateComplianceByConfigRulesInput, ...) (*DescribeAggregateComplianceByConfigRulesOutput, error)
- func (c *Client) DescribeAggregationAuthorizations(ctx context.Context, params *DescribeAggregationAuthorizationsInput, ...) (*DescribeAggregationAuthorizationsOutput, error)
- func (c *Client) DescribeComplianceByConfigRule(ctx context.Context, params *DescribeComplianceByConfigRuleInput, ...) (*DescribeComplianceByConfigRuleOutput, error)
- func (c *Client) DescribeComplianceByResource(ctx context.Context, params *DescribeComplianceByResourceInput, ...) (*DescribeComplianceByResourceOutput, error)
- func (c *Client) DescribeConfigRuleEvaluationStatus(ctx context.Context, params *DescribeConfigRuleEvaluationStatusInput, ...) (*DescribeConfigRuleEvaluationStatusOutput, error)
- func (c *Client) DescribeConfigRules(ctx context.Context, params *DescribeConfigRulesInput, ...) (*DescribeConfigRulesOutput, error)
- func (c *Client) DescribeConfigurationAggregatorSourcesStatus(ctx context.Context, params *DescribeConfigurationAggregatorSourcesStatusInput, ...) (*DescribeConfigurationAggregatorSourcesStatusOutput, error)
- func (c *Client) DescribeConfigurationAggregators(ctx context.Context, params *DescribeConfigurationAggregatorsInput, ...) (*DescribeConfigurationAggregatorsOutput, error)
- func (c *Client) DescribeConfigurationRecorderStatus(ctx context.Context, params *DescribeConfigurationRecorderStatusInput, ...) (*DescribeConfigurationRecorderStatusOutput, error)
- func (c *Client) DescribeConfigurationRecorders(ctx context.Context, params *DescribeConfigurationRecordersInput, ...) (*DescribeConfigurationRecordersOutput, error)
- func (c *Client) DescribeConformancePackCompliance(ctx context.Context, params *DescribeConformancePackComplianceInput, ...) (*DescribeConformancePackComplianceOutput, error)
- func (c *Client) DescribeConformancePackStatus(ctx context.Context, params *DescribeConformancePackStatusInput, ...) (*DescribeConformancePackStatusOutput, error)
- func (c *Client) DescribeConformancePacks(ctx context.Context, params *DescribeConformancePacksInput, ...) (*DescribeConformancePacksOutput, error)
- func (c *Client) DescribeDeliveryChannelStatus(ctx context.Context, params *DescribeDeliveryChannelStatusInput, ...) (*DescribeDeliveryChannelStatusOutput, error)
- func (c *Client) DescribeDeliveryChannels(ctx context.Context, params *DescribeDeliveryChannelsInput, ...) (*DescribeDeliveryChannelsOutput, error)
- func (c *Client) DescribeOrganizationConfigRuleStatuses(ctx context.Context, params *DescribeOrganizationConfigRuleStatusesInput, ...) (*DescribeOrganizationConfigRuleStatusesOutput, error)
- func (c *Client) DescribeOrganizationConfigRules(ctx context.Context, params *DescribeOrganizationConfigRulesInput, ...) (*DescribeOrganizationConfigRulesOutput, error)
- func (c *Client) DescribeOrganizationConformancePackStatuses(ctx context.Context, params *DescribeOrganizationConformancePackStatusesInput, ...) (*DescribeOrganizationConformancePackStatusesOutput, error)
- func (c *Client) DescribeOrganizationConformancePacks(ctx context.Context, params *DescribeOrganizationConformancePacksInput, ...) (*DescribeOrganizationConformancePacksOutput, error)
- func (c *Client) DescribePendingAggregationRequests(ctx context.Context, params *DescribePendingAggregationRequestsInput, ...) (*DescribePendingAggregationRequestsOutput, error)
- func (c *Client) DescribeRemediationConfigurations(ctx context.Context, params *DescribeRemediationConfigurationsInput, ...) (*DescribeRemediationConfigurationsOutput, error)
- func (c *Client) DescribeRemediationExceptions(ctx context.Context, params *DescribeRemediationExceptionsInput, ...) (*DescribeRemediationExceptionsOutput, error)
- func (c *Client) DescribeRemediationExecutionStatus(ctx context.Context, params *DescribeRemediationExecutionStatusInput, ...) (*DescribeRemediationExecutionStatusOutput, error)
- func (c *Client) DescribeRetentionConfigurations(ctx context.Context, params *DescribeRetentionConfigurationsInput, ...) (*DescribeRetentionConfigurationsOutput, error)
- func (c *Client) GetAggregateComplianceDetailsByConfigRule(ctx context.Context, params *GetAggregateComplianceDetailsByConfigRuleInput, ...) (*GetAggregateComplianceDetailsByConfigRuleOutput, error)
- func (c *Client) GetAggregateConfigRuleComplianceSummary(ctx context.Context, params *GetAggregateConfigRuleComplianceSummaryInput, ...) (*GetAggregateConfigRuleComplianceSummaryOutput, error)
- func (c *Client) GetAggregateDiscoveredResourceCounts(ctx context.Context, params *GetAggregateDiscoveredResourceCountsInput, ...) (*GetAggregateDiscoveredResourceCountsOutput, error)
- func (c *Client) GetAggregateResourceConfig(ctx context.Context, params *GetAggregateResourceConfigInput, ...) (*GetAggregateResourceConfigOutput, error)
- func (c *Client) GetComplianceDetailsByConfigRule(ctx context.Context, params *GetComplianceDetailsByConfigRuleInput, ...) (*GetComplianceDetailsByConfigRuleOutput, error)
- func (c *Client) GetComplianceDetailsByResource(ctx context.Context, params *GetComplianceDetailsByResourceInput, ...) (*GetComplianceDetailsByResourceOutput, error)
- func (c *Client) GetComplianceSummaryByConfigRule(ctx context.Context, params *GetComplianceSummaryByConfigRuleInput, ...) (*GetComplianceSummaryByConfigRuleOutput, error)
- func (c *Client) GetComplianceSummaryByResourceType(ctx context.Context, params *GetComplianceSummaryByResourceTypeInput, ...) (*GetComplianceSummaryByResourceTypeOutput, error)
- func (c *Client) GetConformancePackComplianceDetails(ctx context.Context, params *GetConformancePackComplianceDetailsInput, ...) (*GetConformancePackComplianceDetailsOutput, error)
- func (c *Client) GetConformancePackComplianceSummary(ctx context.Context, params *GetConformancePackComplianceSummaryInput, ...) (*GetConformancePackComplianceSummaryOutput, error)
- func (c *Client) GetDiscoveredResourceCounts(ctx context.Context, params *GetDiscoveredResourceCountsInput, ...) (*GetDiscoveredResourceCountsOutput, error)
- func (c *Client) GetOrganizationConfigRuleDetailedStatus(ctx context.Context, params *GetOrganizationConfigRuleDetailedStatusInput, ...) (*GetOrganizationConfigRuleDetailedStatusOutput, error)
- func (c *Client) GetOrganizationConformancePackDetailedStatus(ctx context.Context, params *GetOrganizationConformancePackDetailedStatusInput, ...) (*GetOrganizationConformancePackDetailedStatusOutput, error)
- func (c *Client) GetResourceConfigHistory(ctx context.Context, params *GetResourceConfigHistoryInput, ...) (*GetResourceConfigHistoryOutput, error)
- func (c *Client) ListAggregateDiscoveredResources(ctx context.Context, params *ListAggregateDiscoveredResourcesInput, ...) (*ListAggregateDiscoveredResourcesOutput, error)
- func (c *Client) ListDiscoveredResources(ctx context.Context, params *ListDiscoveredResourcesInput, ...) (*ListDiscoveredResourcesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) PutAggregationAuthorization(ctx context.Context, params *PutAggregationAuthorizationInput, ...) (*PutAggregationAuthorizationOutput, error)
- func (c *Client) PutConfigRule(ctx context.Context, params *PutConfigRuleInput, optFns ...func(*Options)) (*PutConfigRuleOutput, error)
- func (c *Client) PutConfigurationAggregator(ctx context.Context, params *PutConfigurationAggregatorInput, ...) (*PutConfigurationAggregatorOutput, error)
- func (c *Client) PutConfigurationRecorder(ctx context.Context, params *PutConfigurationRecorderInput, ...) (*PutConfigurationRecorderOutput, error)
- func (c *Client) PutConformancePack(ctx context.Context, params *PutConformancePackInput, optFns ...func(*Options)) (*PutConformancePackOutput, error)
- func (c *Client) PutDeliveryChannel(ctx context.Context, params *PutDeliveryChannelInput, optFns ...func(*Options)) (*PutDeliveryChannelOutput, error)
- func (c *Client) PutEvaluations(ctx context.Context, params *PutEvaluationsInput, optFns ...func(*Options)) (*PutEvaluationsOutput, error)
- func (c *Client) PutOrganizationConfigRule(ctx context.Context, params *PutOrganizationConfigRuleInput, ...) (*PutOrganizationConfigRuleOutput, error)
- func (c *Client) PutOrganizationConformancePack(ctx context.Context, params *PutOrganizationConformancePackInput, ...) (*PutOrganizationConformancePackOutput, error)
- func (c *Client) PutRemediationConfigurations(ctx context.Context, params *PutRemediationConfigurationsInput, ...) (*PutRemediationConfigurationsOutput, error)
- func (c *Client) PutRemediationExceptions(ctx context.Context, params *PutRemediationExceptionsInput, ...) (*PutRemediationExceptionsOutput, error)
- func (c *Client) PutResourceConfig(ctx context.Context, params *PutResourceConfigInput, optFns ...func(*Options)) (*PutResourceConfigOutput, error)
- func (c *Client) PutRetentionConfiguration(ctx context.Context, params *PutRetentionConfigurationInput, ...) (*PutRetentionConfigurationOutput, error)
- func (c *Client) SelectAggregateResourceConfig(ctx context.Context, params *SelectAggregateResourceConfigInput, ...) (*SelectAggregateResourceConfigOutput, error)
- func (c *Client) SelectResourceConfig(ctx context.Context, params *SelectResourceConfigInput, ...) (*SelectResourceConfigOutput, error)
- func (c *Client) StartConfigRulesEvaluation(ctx context.Context, params *StartConfigRulesEvaluationInput, ...) (*StartConfigRulesEvaluationOutput, error)
- func (c *Client) StartConfigurationRecorder(ctx context.Context, params *StartConfigurationRecorderInput, ...) (*StartConfigurationRecorderOutput, error)
- func (c *Client) StartRemediationExecution(ctx context.Context, params *StartRemediationExecutionInput, ...) (*StartRemediationExecutionOutput, error)
- func (c *Client) StopConfigurationRecorder(ctx context.Context, params *StopConfigurationRecorderInput, ...) (*StopConfigurationRecorderOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- type DeleteAggregationAuthorizationInput
- type DeleteAggregationAuthorizationOutput
- type DeleteConfigRuleInput
- type DeleteConfigRuleOutput
- type DeleteConfigurationAggregatorInput
- type DeleteConfigurationAggregatorOutput
- type DeleteConfigurationRecorderInput
- type DeleteConfigurationRecorderOutput
- type DeleteConformancePackInput
- type DeleteConformancePackOutput
- type DeleteDeliveryChannelInput
- type DeleteDeliveryChannelOutput
- type DeleteEvaluationResultsInput
- type DeleteEvaluationResultsOutput
- type DeleteOrganizationConfigRuleInput
- type DeleteOrganizationConfigRuleOutput
- type DeleteOrganizationConformancePackInput
- type DeleteOrganizationConformancePackOutput
- type DeletePendingAggregationRequestInput
- type DeletePendingAggregationRequestOutput
- type DeleteRemediationConfigurationInput
- type DeleteRemediationConfigurationOutput
- type DeleteRemediationExceptionsInput
- type DeleteRemediationExceptionsOutput
- type DeleteResourceConfigInput
- type DeleteResourceConfigOutput
- type DeleteRetentionConfigurationInput
- type DeleteRetentionConfigurationOutput
- type DeliverConfigSnapshotInput
- type DeliverConfigSnapshotOutput
- type DescribeAggregateComplianceByConfigRulesInput
- type DescribeAggregateComplianceByConfigRulesOutput
- type DescribeAggregationAuthorizationsInput
- type DescribeAggregationAuthorizationsOutput
- type DescribeComplianceByConfigRuleInput
- type DescribeComplianceByConfigRuleOutput
- type DescribeComplianceByResourceInput
- type DescribeComplianceByResourceOutput
- type DescribeConfigRuleEvaluationStatusInput
- type DescribeConfigRuleEvaluationStatusOutput
- type DescribeConfigRulesInput
- type DescribeConfigRulesOutput
- type DescribeConfigurationAggregatorSourcesStatusInput
- type DescribeConfigurationAggregatorSourcesStatusOutput
- type DescribeConfigurationAggregatorsInput
- type DescribeConfigurationAggregatorsOutput
- type DescribeConfigurationRecorderStatusInput
- type DescribeConfigurationRecorderStatusOutput
- type DescribeConfigurationRecordersInput
- type DescribeConfigurationRecordersOutput
- type DescribeConformancePackComplianceInput
- type DescribeConformancePackComplianceOutput
- type DescribeConformancePackStatusInput
- type DescribeConformancePackStatusOutput
- type DescribeConformancePacksInput
- type DescribeConformancePacksOutput
- type DescribeDeliveryChannelStatusInput
- type DescribeDeliveryChannelStatusOutput
- type DescribeDeliveryChannelsInput
- type DescribeDeliveryChannelsOutput
- type DescribeOrganizationConfigRuleStatusesInput
- type DescribeOrganizationConfigRuleStatusesOutput
- type DescribeOrganizationConfigRulesInput
- type DescribeOrganizationConfigRulesOutput
- type DescribeOrganizationConformancePackStatusesInput
- type DescribeOrganizationConformancePackStatusesOutput
- type DescribeOrganizationConformancePacksInput
- type DescribeOrganizationConformancePacksOutput
- type DescribePendingAggregationRequestsInput
- type DescribePendingAggregationRequestsOutput
- type DescribeRemediationConfigurationsInput
- type DescribeRemediationConfigurationsOutput
- type DescribeRemediationExceptionsAPIClient
- type DescribeRemediationExceptionsInput
- type DescribeRemediationExceptionsOutput
- type DescribeRemediationExceptionsPaginator
- type DescribeRemediationExceptionsPaginatorOptions
- type DescribeRemediationExecutionStatusAPIClient
- type DescribeRemediationExecutionStatusInput
- type DescribeRemediationExecutionStatusOutput
- type DescribeRemediationExecutionStatusPaginator
- type DescribeRemediationExecutionStatusPaginatorOptions
- type DescribeRetentionConfigurationsInput
- type DescribeRetentionConfigurationsOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAggregateComplianceDetailsByConfigRuleInput
- type GetAggregateComplianceDetailsByConfigRuleOutput
- type GetAggregateConfigRuleComplianceSummaryInput
- type GetAggregateConfigRuleComplianceSummaryOutput
- type GetAggregateDiscoveredResourceCountsInput
- type GetAggregateDiscoveredResourceCountsOutput
- type GetAggregateResourceConfigInput
- type GetAggregateResourceConfigOutput
- type GetComplianceDetailsByConfigRuleInput
- type GetComplianceDetailsByConfigRuleOutput
- type GetComplianceDetailsByResourceInput
- type GetComplianceDetailsByResourceOutput
- type GetComplianceSummaryByConfigRuleInput
- type GetComplianceSummaryByConfigRuleOutput
- type GetComplianceSummaryByResourceTypeInput
- type GetComplianceSummaryByResourceTypeOutput
- type GetConformancePackComplianceDetailsInput
- type GetConformancePackComplianceDetailsOutput
- type GetConformancePackComplianceSummaryInput
- type GetConformancePackComplianceSummaryOutput
- type GetDiscoveredResourceCountsInput
- type GetDiscoveredResourceCountsOutput
- type GetOrganizationConfigRuleDetailedStatusInput
- type GetOrganizationConfigRuleDetailedStatusOutput
- type GetOrganizationConformancePackDetailedStatusInput
- type GetOrganizationConformancePackDetailedStatusOutput
- type GetResourceConfigHistoryAPIClient
- type GetResourceConfigHistoryInput
- type GetResourceConfigHistoryOutput
- type GetResourceConfigHistoryPaginator
- type GetResourceConfigHistoryPaginatorOptions
- type HTTPClient
- type HTTPSignerV4
- type ListAggregateDiscoveredResourcesInput
- type ListAggregateDiscoveredResourcesOutput
- type ListDiscoveredResourcesInput
- type ListDiscoveredResourcesOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type PutAggregationAuthorizationInput
- type PutAggregationAuthorizationOutput
- type PutConfigRuleInput
- type PutConfigRuleOutput
- type PutConfigurationAggregatorInput
- type PutConfigurationAggregatorOutput
- type PutConfigurationRecorderInput
- type PutConfigurationRecorderOutput
- type PutConformancePackInput
- type PutConformancePackOutput
- type PutDeliveryChannelInput
- type PutDeliveryChannelOutput
- type PutEvaluationsInput
- type PutEvaluationsOutput
- type PutOrganizationConfigRuleInput
- type PutOrganizationConfigRuleOutput
- type PutOrganizationConformancePackInput
- type PutOrganizationConformancePackOutput
- type PutRemediationConfigurationsInput
- type PutRemediationConfigurationsOutput
- type PutRemediationExceptionsInput
- type PutRemediationExceptionsOutput
- type PutResourceConfigInput
- type PutResourceConfigOutput
- type PutRetentionConfigurationInput
- type PutRetentionConfigurationOutput
- type ResolveEndpoint
- type SelectAggregateResourceConfigAPIClient
- type SelectAggregateResourceConfigInput
- type SelectAggregateResourceConfigOutput
- type SelectAggregateResourceConfigPaginator
- type SelectAggregateResourceConfigPaginatorOptions
- type SelectResourceConfigInput
- type SelectResourceConfigOutput
- type StartConfigRulesEvaluationInput
- type StartConfigRulesEvaluationOutput
- type StartConfigurationRecorderInput
- type StartConfigurationRecorderOutput
- type StartRemediationExecutionInput
- type StartRemediationExecutionOutput
- type StopConfigurationRecorderInput
- type StopConfigurationRecorderOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
Constants ¶
const ServiceAPIVersion = "2014-11-12"
const ServiceID = "Config Service"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
Types ¶
type BatchGetAggregateResourceConfigInput ¶
type BatchGetAggregateResourceConfigInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // A list of aggregate ResourceIdentifiers objects. // // This member is required. ResourceIdentifiers []types.AggregateResourceIdentifier }
type BatchGetAggregateResourceConfigOutput ¶
type BatchGetAggregateResourceConfigOutput struct { // A list that contains the current configuration of one or more resources. BaseConfigurationItems []types.BaseConfigurationItem // A list of resource identifiers that were not processed with current scope. The // list is empty if all the resources are processed. UnprocessedResourceIdentifiers []types.AggregateResourceIdentifier // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type BatchGetResourceConfigInput ¶
type BatchGetResourceConfigInput struct { // A list of resource keys to be processed with the current request. Each element // in the list consists of the resource type and resource ID. // // This member is required. ResourceKeys []types.ResourceKey }
type BatchGetResourceConfigOutput ¶
type BatchGetResourceConfigOutput struct { // A list that contains the current configuration of one or more resources. BaseConfigurationItems []types.BaseConfigurationItem // A list of resource keys that were not processed with the current response. The // unprocessesResourceKeys value is in the same form as ResourceKeys, so the value // can be directly provided to a subsequent BatchGetResourceConfig operation. If // there are no unprocessed resource keys, the response contains an empty // unprocessedResourceKeys list. UnprocessedResourceKeys []types.ResourceKey // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Config.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) BatchGetAggregateResourceConfig ¶
func (c *Client) BatchGetAggregateResourceConfig(ctx context.Context, params *BatchGetAggregateResourceConfigInput, optFns ...func(*Options)) (*BatchGetAggregateResourceConfigOutput, error)
Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list.
* The API does not return results for deleted resources.
* The API does not return tags and relationships.
func (*Client) BatchGetResourceConfig ¶
func (c *Client) BatchGetResourceConfig(ctx context.Context, params *BatchGetResourceConfigInput, optFns ...func(*Options)) (*BatchGetResourceConfigOutput, error)
Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list.
* The API does not return results for deleted resources.
* The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
func (*Client) DeleteAggregationAuthorization ¶
func (c *Client) DeleteAggregationAuthorization(ctx context.Context, params *DeleteAggregationAuthorizationInput, optFns ...func(*Options)) (*DeleteAggregationAuthorizationOutput, error)
Deletes the authorization granted to the specified configuration aggregator account in a specified region.
func (*Client) DeleteConfigRule ¶
func (c *Client) DeleteConfigRule(ctx context.Context, params *DeleteConfigRuleInput, optFns ...func(*Options)) (*DeleteConfigRuleOutput, error)
Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request.
func (*Client) DeleteConfigurationAggregator ¶
func (c *Client) DeleteConfigurationAggregator(ctx context.Context, params *DeleteConfigurationAggregatorInput, optFns ...func(*Options)) (*DeleteConfigurationAggregatorOutput, error)
Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
func (*Client) DeleteConfigurationRecorder ¶
func (c *Client) DeleteConfigurationRecorder(ctx context.Context, params *DeleteConfigurationRecorderInput, optFns ...func(*Options)) (*DeleteConfigurationRecorderOutput, error)
Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder.
func (*Client) DeleteConformancePack ¶
func (c *Client) DeleteConformancePack(ctx context.Context, params *DeleteConformancePackInput, optFns ...func(*Options)) (*DeleteConformancePackOutput, error)
Deletes the specified conformance pack and all the AWS Config rules, remediation actions, and all evaluation results within that conformance pack. AWS Config sets the conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
func (*Client) DeleteDeliveryChannel ¶
func (c *Client) DeleteDeliveryChannel(ctx context.Context, params *DeleteDeliveryChannelInput, optFns ...func(*Options)) (*DeleteDeliveryChannelOutput, error)
Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
func (*Client) DeleteEvaluationResults ¶
func (c *Client) DeleteEvaluationResults(ctx context.Context, params *DeleteEvaluationResultsInput, optFns ...func(*Options)) (*DeleteEvaluationResultsOutput, error)
Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
func (*Client) DeleteOrganizationConfigRule ¶
func (c *Client) DeleteOrganizationConfigRule(ctx context.Context, params *DeleteOrganizationConfigRuleInput, optFns ...func(*Options)) (*DeleteOrganizationConfigRuleOutput, error)
Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account and a delegated administrator account can delete an organization config rule. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
func (*Client) DeleteOrganizationConformancePack ¶
func (c *Client) DeleteOrganizationConformancePack(ctx context.Context, params *DeleteOrganizationConformancePackInput, optFns ...func(*Options)) (*DeleteOrganizationConformancePackOutput, error)
Deletes the specified organization conformance pack and all of the config rules and remediation actions from all member accounts in that organization. Only a master account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. AWS Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
func (*Client) DeletePendingAggregationRequest ¶
func (c *Client) DeletePendingAggregationRequest(ctx context.Context, params *DeletePendingAggregationRequestInput, optFns ...func(*Options)) (*DeletePendingAggregationRequestOutput, error)
Deletes pending authorization requests for a specified aggregator account in a specified region.
func (*Client) DeleteRemediationConfiguration ¶
func (c *Client) DeleteRemediationConfiguration(ctx context.Context, params *DeleteRemediationConfigurationInput, optFns ...func(*Options)) (*DeleteRemediationConfigurationOutput, error)
Deletes the remediation configuration.
func (*Client) DeleteRemediationExceptions ¶
func (c *Client) DeleteRemediationExceptions(ctx context.Context, params *DeleteRemediationExceptionsInput, optFns ...func(*Options)) (*DeleteRemediationExceptionsOutput, error)
Deletes one or more remediation exceptions mentioned in the resource keys. AWS Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.
func (*Client) DeleteResourceConfig ¶
func (c *Client) DeleteResourceConfig(ctx context.Context, params *DeleteResourceConfigInput, optFns ...func(*Options)) (*DeleteResourceConfigOutput, error)
Records the configuration state for a custom resource that has been deleted. This API records a new ConfigurationItem with a ResourceDeleted status. You can retrieve the ConfigurationItems recorded for this resource in your AWS Config History.
func (*Client) DeleteRetentionConfiguration ¶
func (c *Client) DeleteRetentionConfiguration(ctx context.Context, params *DeleteRetentionConfigurationInput, optFns ...func(*Options)) (*DeleteRetentionConfigurationOutput, error)
Deletes the retention configuration.
func (*Client) DeliverConfigSnapshot ¶
func (c *Client) DeliverConfigSnapshot(ctx context.Context, params *DeliverConfigSnapshotInput, optFns ...func(*Options)) (*DeliverConfigSnapshotOutput, error)
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified.
* Notification of the start of the delivery.
* Notification of the completion of the delivery, if the delivery was successfully completed.
* Notification of delivery failure, if the delivery failed.
func (*Client) DescribeAggregateComplianceByConfigRules ¶
func (c *Client) DescribeAggregateComplianceByConfigRules(ctx context.Context, params *DescribeAggregateComplianceByConfigRulesInput, optFns ...func(*Options)) (*DescribeAggregateComplianceByConfigRulesOutput, error)
Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
func (*Client) DescribeAggregationAuthorizations ¶
func (c *Client) DescribeAggregationAuthorizations(ctx context.Context, params *DescribeAggregationAuthorizationsInput, optFns ...func(*Options)) (*DescribeAggregationAuthorizationsOutput, error)
Returns a list of authorizations granted to various aggregator accounts and regions.
func (*Client) DescribeComplianceByConfigRule ¶
func (c *Client) DescribeComplianceByConfigRule(ctx context.Context, params *DescribeComplianceByConfigRuleInput, optFns ...func(*Options)) (*DescribeComplianceByConfigRuleOutput, error)
Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it. It is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions:
* AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime.
* The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission.
* The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
func (*Client) DescribeComplianceByResource ¶
func (c *Client) DescribeComplianceByResource(ctx context.Context, params *DescribeComplianceByResourceInput, optFns ...func(*Options)) (*DescribeComplianceByResourceOutput, error)
Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource:
* AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime.
* The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission.
* The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
func (*Client) DescribeConfigRuleEvaluationStatus ¶
func (c *Client) DescribeConfigRuleEvaluationStatus(ctx context.Context, params *DescribeConfigRuleEvaluationStatusInput, optFns ...func(*Options)) (*DescribeConfigRuleEvaluationStatusOutput, error)
Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
func (*Client) DescribeConfigRules ¶
func (c *Client) DescribeConfigRules(ctx context.Context, params *DescribeConfigRulesInput, optFns ...func(*Options)) (*DescribeConfigRulesOutput, error)
Returns details about your AWS Config rules.
func (*Client) DescribeConfigurationAggregatorSourcesStatus ¶
func (c *Client) DescribeConfigurationAggregatorSourcesStatus(ctx context.Context, params *DescribeConfigurationAggregatorSourcesStatusInput, optFns ...func(*Options)) (*DescribeConfigurationAggregatorSourcesStatusOutput, error)
Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message.
func (*Client) DescribeConfigurationAggregators ¶
func (c *Client) DescribeConfigurationAggregators(ctx context.Context, params *DescribeConfigurationAggregatorsInput, optFns ...func(*Options)) (*DescribeConfigurationAggregatorsOutput, error)
Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
func (*Client) DescribeConfigurationRecorderStatus ¶
func (c *Client) DescribeConfigurationRecorderStatus(ctx context.Context, params *DescribeConfigurationRecorderStatusInput, optFns ...func(*Options)) (*DescribeConfigurationRecorderStatusOutput, error)
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
func (*Client) DescribeConfigurationRecorders ¶
func (c *Client) DescribeConfigurationRecorders(ctx context.Context, params *DescribeConfigurationRecordersInput, optFns ...func(*Options)) (*DescribeConfigurationRecordersOutput, error)
Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
func (*Client) DescribeConformancePackCompliance ¶
func (c *Client) DescribeConformancePackCompliance(ctx context.Context, params *DescribeConformancePackComplianceInput, optFns ...func(*Options)) (*DescribeConformancePackComplianceOutput, error)
Returns compliance details for each rule in that conformance pack. You must provide exact rule names.
func (*Client) DescribeConformancePackStatus ¶
func (c *Client) DescribeConformancePackStatus(ctx context.Context, params *DescribeConformancePackStatusInput, optFns ...func(*Options)) (*DescribeConformancePackStatusOutput, error)
Provides one or more conformance packs deployment status. If there are no conformance packs then you will see an empty result.
func (*Client) DescribeConformancePacks ¶
func (c *Client) DescribeConformancePacks(ctx context.Context, params *DescribeConformancePacksInput, optFns ...func(*Options)) (*DescribeConformancePacksOutput, error)
Returns a list of one or more conformance packs.
func (*Client) DescribeDeliveryChannelStatus ¶
func (c *Client) DescribeDeliveryChannelStatus(ctx context.Context, params *DescribeDeliveryChannelStatusInput, optFns ...func(*Options)) (*DescribeDeliveryChannelStatusOutput, error)
Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
func (*Client) DescribeDeliveryChannels ¶
func (c *Client) DescribeDeliveryChannels(ctx context.Context, params *DescribeDeliveryChannelsInput, optFns ...func(*Options)) (*DescribeDeliveryChannelsOutput, error)
Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
func (*Client) DescribeOrganizationConfigRuleStatuses ¶
func (c *Client) DescribeOrganizationConfigRuleStatuses(ctx context.Context, params *DescribeOrganizationConfigRuleStatusesInput, optFns ...func(*Options)) (*DescribeOrganizationConfigRuleStatusesOutput, error)
Provides organization config rule deployment status for an organization. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.
func (*Client) DescribeOrganizationConfigRules ¶
func (c *Client) DescribeOrganizationConfigRules(ctx context.Context, params *DescribeOrganizationConfigRulesInput, optFns ...func(*Options)) (*DescribeOrganizationConfigRulesOutput, error)
Returns a list of organization config rules. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.
func (*Client) DescribeOrganizationConformancePackStatuses ¶
func (c *Client) DescribeOrganizationConformancePackStatuses(ctx context.Context, params *DescribeOrganizationConformancePackStatusesInput, optFns ...func(*Options)) (*DescribeOrganizationConformancePackStatusesOutput, error)
Provides organization conformance pack deployment status for an organization. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. The status is not considered successful until organization conformance pack is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization conformance pack names. They are only applicable, when you request all the organization conformance packs.
func (*Client) DescribeOrganizationConformancePacks ¶
func (c *Client) DescribeOrganizationConformancePacks(ctx context.Context, params *DescribeOrganizationConformancePacksInput, optFns ...func(*Options)) (*DescribeOrganizationConformancePacksOutput, error)
Returns a list of organization conformance packs. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable, when you request all the organization conformance packs.
func (*Client) DescribePendingAggregationRequests ¶
func (c *Client) DescribePendingAggregationRequests(ctx context.Context, params *DescribePendingAggregationRequestsInput, optFns ...func(*Options)) (*DescribePendingAggregationRequestsOutput, error)
Returns a list of all pending aggregation requests.
func (*Client) DescribeRemediationConfigurations ¶
func (c *Client) DescribeRemediationConfigurations(ctx context.Context, params *DescribeRemediationConfigurationsInput, optFns ...func(*Options)) (*DescribeRemediationConfigurationsOutput, error)
Returns the details of one or more remediation configurations.
func (*Client) DescribeRemediationExceptions ¶
func (c *Client) DescribeRemediationExceptions(ctx context.Context, params *DescribeRemediationExceptionsInput, optFns ...func(*Options)) (*DescribeRemediationExceptionsOutput, error)
Returns the details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response. AWS Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.
func (*Client) DescribeRemediationExecutionStatus ¶
func (c *Client) DescribeRemediationExecutionStatus(ctx context.Context, params *DescribeRemediationExecutionStatusInput, optFns ...func(*Options)) (*DescribeRemediationExecutionStatusOutput, error)
Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.
func (*Client) DescribeRetentionConfigurations ¶
func (c *Client) DescribeRetentionConfigurations(ctx context.Context, params *DescribeRetentionConfigurationsInput, optFns ...func(*Options)) (*DescribeRetentionConfigurationsOutput, error)
Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
func (*Client) GetAggregateComplianceDetailsByConfigRule ¶
func (c *Client) GetAggregateComplianceDetailsByConfigRule(ctx context.Context, params *GetAggregateComplianceDetailsByConfigRuleInput, optFns ...func(*Options)) (*GetAggregateComplianceDetailsByConfigRuleOutput, error)
Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
func (*Client) GetAggregateConfigRuleComplianceSummary ¶
func (c *Client) GetAggregateConfigRuleComplianceSummary(ctx context.Context, params *GetAggregateConfigRuleComplianceSummaryInput, optFns ...func(*Options)) (*GetAggregateConfigRuleComplianceSummaryOutput, error)
Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
func (*Client) GetAggregateDiscoveredResourceCounts ¶
func (c *Client) GetAggregateDiscoveredResourceCounts(ctx context.Context, params *GetAggregateDiscoveredResourceCountsInput, optFns ...func(*Options)) (*GetAggregateDiscoveredResourceCountsOutput, error)
Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey. For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
func (*Client) GetAggregateResourceConfig ¶
func (c *Client) GetAggregateResourceConfig(ctx context.Context, params *GetAggregateResourceConfigInput, optFns ...func(*Options)) (*GetAggregateResourceConfigOutput, error)
Returns configuration item that is aggregated for your specific resource in a specific source account and region.
func (*Client) GetComplianceDetailsByConfigRule ¶
func (c *Client) GetComplianceDetailsByConfigRule(ctx context.Context, params *GetComplianceDetailsByConfigRuleInput, optFns ...func(*Options)) (*GetComplianceDetailsByConfigRuleOutput, error)
Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
func (*Client) GetComplianceDetailsByResource ¶
func (c *Client) GetComplianceDetailsByResource(ctx context.Context, params *GetComplianceDetailsByResourceInput, optFns ...func(*Options)) (*GetComplianceDetailsByResourceOutput, error)
Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
func (*Client) GetComplianceSummaryByConfigRule ¶
func (c *Client) GetComplianceSummaryByConfigRule(ctx context.Context, params *GetComplianceSummaryByConfigRuleInput, optFns ...func(*Options)) (*GetComplianceSummaryByConfigRuleOutput, error)
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
func (*Client) GetComplianceSummaryByResourceType ¶
func (c *Client) GetComplianceSummaryByResourceType(ctx context.Context, params *GetComplianceSummaryByResourceTypeInput, optFns ...func(*Options)) (*GetComplianceSummaryByResourceTypeOutput, error)
Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
func (*Client) GetConformancePackComplianceDetails ¶
func (c *Client) GetConformancePackComplianceDetails(ctx context.Context, params *GetConformancePackComplianceDetailsInput, optFns ...func(*Options)) (*GetConformancePackComplianceDetailsOutput, error)
Returns compliance details of a conformance pack for all AWS resources that are monitered by conformance pack.
func (*Client) GetConformancePackComplianceSummary ¶
func (c *Client) GetConformancePackComplianceSummary(ctx context.Context, params *GetConformancePackComplianceSummaryInput, optFns ...func(*Options)) (*GetConformancePackComplianceSummaryOutput, error)
Returns compliance details for the conformance pack based on the cumulative compliance results of all the rules in that conformance pack.
func (*Client) GetDiscoveredResourceCounts ¶
func (c *Client) GetDiscoveredResourceCounts(ctx context.Context, params *GetDiscoveredResourceCountsInput, optFns ...func(*Options)) (*GetDiscoveredResourceCountsOutput, error)
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example
* AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets.
* You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types.
* AWS Config returns the following:
* 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.
func (*Client) GetOrganizationConfigRuleDetailedStatus ¶
func (c *Client) GetOrganizationConfigRuleDetailedStatus(ctx context.Context, params *GetOrganizationConfigRuleDetailedStatusInput, optFns ...func(*Options)) (*GetOrganizationConfigRuleDetailedStatusOutput, error)
Returns detailed status for each member account within an organization for a given organization config rule. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added.
func (*Client) GetOrganizationConformancePackDetailedStatus ¶
func (c *Client) GetOrganizationConformancePackDetailedStatus(ctx context.Context, params *GetOrganizationConformancePackDetailedStatusInput, optFns ...func(*Options)) (*GetOrganizationConformancePackDetailedStatusOutput, error)
Returns detailed status for each member account within an organization for a given organization conformance pack. Only a master account and a delegated administrator account can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added.
func (*Client) GetResourceConfigHistory ¶
func (c *Client) GetResourceConfigHistory(ctx context.Context, params *GetResourceConfigHistoryInput, optFns ...func(*Options)) (*GetResourceConfigHistoryOutput, error)
Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
func (*Client) ListAggregateDiscoveredResources ¶
func (c *Client) ListAggregateDiscoveredResources(ctx context.Context, params *ListAggregateDiscoveredResourcesInput, optFns ...func(*Options)) (*ListAggregateDiscoveredResourcesOutput, error)
Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region. For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.
func (*Client) ListDiscoveredResources ¶
func (c *Client) ListDiscoveredResources(ctx context.Context, params *ListDiscoveredResourcesInput, optFns ...func(*Options)) (*ListDiscoveredResourcesOutput, error)
Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name, but not both, in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
List the tags for AWS Config resource.
func (*Client) PutAggregationAuthorization ¶
func (c *Client) PutAggregationAuthorization(ctx context.Context, params *PutAggregationAuthorizationInput, optFns ...func(*Options)) (*PutAggregationAuthorizationOutput, error)
Authorizes the aggregator account and region to collect data from the source account and region.
func (*Client) PutConfigRule ¶
func (c *Client) PutConfigRule(ctx context.Context, params *PutConfigRuleInput, optFns ...func(*Options)) (*PutConfigRuleOutput, error)
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom AWS Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html). For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 150. For information about requesting a rule limit increase, see AWS Config Limits (http://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.
func (*Client) PutConfigurationAggregator ¶
func (c *Client) PutConfigurationAggregator(ctx context.Context, params *PutConfigurationAggregatorInput, optFns ...func(*Options)) (*PutConfigurationAggregatorOutput, error)
Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization. AWS Config should be enabled in source accounts and regions you want to aggregate. If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.
func (*Client) PutConfigurationRecorder ¶
func (c *Client) PutConfigurationRecorder(ctx context.Context, params *PutConfigurationRecorderInput, optFns ...func(*Options)) (*PutConfigurationRecorderOutput, error)
Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
func (*Client) PutConformancePack ¶
func (c *Client) PutConformancePack(ctx context.Context, params *PutConformancePackInput, optFns ...func(*Options)) (*PutConformancePackOutput, error)
Creates or updates a conformance pack. A conformance pack is a collection of AWS Config rules that can be easily deployed in an account and a region and across AWS Organization. This API creates a service linked role AWSServiceRoleForConfigConforms in your account. The service linked role is created only when the role does not exist in your account. You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both AWS Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter.
func (*Client) PutDeliveryChannel ¶
func (c *Client) PutDeliveryChannel(ctx context.Context, params *PutDeliveryChannelInput, optFns ...func(*Options)) (*PutDeliveryChannelOutput, error)
Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account.
func (*Client) PutEvaluations ¶
func (c *Client) PutEvaluations(ctx context.Context, params *PutEvaluationsInput, optFns ...func(*Options)) (*PutEvaluationsOutput, error)
Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
func (*Client) PutOrganizationConfigRule ¶
func (c *Client) PutOrganizationConfigRule(ctx context.Context, params *PutOrganizationConfigRuleInput, optFns ...func(*Options)) (*PutOrganizationConfigRuleOutput, error)
Adds or updates organization config rule for your entire organization evaluating whether your AWS resources comply with your desired configurations. Only a master account and a delegated administrator can create or update an organization config rule. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. AWS Config verifies the existence of role with GetRole action. To use this API with delegated administrator, register a delegated administrator by calling AWS Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com. You can use this action to create both custom AWS Config rules and AWS managed Config rules. If you are adding a new custom AWS Config rule, you must first create AWS Lambda function in the master account or a delegated administrator that the rule invokes to evaluate your resources. When you use the PutOrganizationConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. If you are adding an AWS managed Config rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that AWS Config supports is 150 and 3 delegated administrator per organization. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
func (*Client) PutOrganizationConformancePack ¶
func (c *Client) PutOrganizationConformancePack(ctx context.Context, params *PutOrganizationConformancePackInput, optFns ...func(*Options)) (*PutOrganizationConformancePackOutput, error)
Deploys conformance packs across member accounts in an AWS Organization. Only a master account and a delegated administrator can call this API. When calling this API with a delegated administrator, you must ensure AWS Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. To use this API with delegated administrator, register a delegated administrator by calling AWS Organization register-delegate-admin for config-multiaccountsetup.amazonaws.com. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both AWS Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter. AWS Config sets the state of a conformance pack to CREATE_IN_PROGRESS and UPDATE_IN_PROGRESS until the conformance pack is created or updated.
You cannot update a conformance pack while it is in this state. You can create 6 conformance packs with 25 AWS Config rules in each pack and 3 delegated administrator per organization.
func (*Client) PutRemediationConfigurations ¶
func (c *Client) PutRemediationConfigurations(ctx context.Context, params *PutRemediationConfigurationsInput, optFns ...func(*Options)) (*PutRemediationConfigurationsOutput, error)
Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the RemediationConfiguration object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target. If you make backward incompatible changes to the SSM document, you must call this again to ensure the remediations can run.
func (*Client) PutRemediationExceptions ¶
func (c *Client) PutRemediationExceptions(ctx context.Context, params *PutRemediationExceptionsInput, optFns ...func(*Options)) (*PutRemediationExceptionsOutput, error)
A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an exisiting exception for a specific resource with a specific AWS Config rule. AWS Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.
func (*Client) PutResourceConfig ¶
func (c *Client) PutResourceConfig(ctx context.Context, params *PutResourceConfigInput, optFns ...func(*Options)) (*PutResourceConfigOutput, error)
Records the configuration state for the resource provided in the request. The configuration state of a resource is represented in AWS Config as Configuration Items. Once this API records the configuration item, you can retrieve the list of configuration items for the custom resource type using existing AWS Config APIs. The custom resource type must be registered with AWS CloudFormation. This API accepts the configuration item registered with AWS CloudFormation. When you call this API, AWS Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource. Write-only schema properites are not recorded as part of the published configuration item.
func (*Client) PutRetentionConfiguration ¶
func (c *Client) PutRetentionConfiguration(ctx context.Context, params *PutRetentionConfigurationInput, optFns ...func(*Options)) (*PutRetentionConfigurationOutput, error)
Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object. Currently, AWS Config supports only one retention configuration per region in your account.
func (*Client) SelectAggregateResourceConfig ¶
func (c *Client) SelectAggregateResourceConfig(ctx context.Context, params *SelectAggregateResourceConfigInput, optFns ...func(*Options)) (*SelectAggregateResourceConfigOutput, error)
Accepts a structured query language (SQL) SELECT command and an aggregator to query configuration state of AWS resources across multiple accounts and regions, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components (https://docs.aws.amazon.com/config/latest/developerguide/query-components.html) section in the AWS Config Developer Guide.
func (*Client) SelectResourceConfig ¶
func (c *Client) SelectResourceConfig(ctx context.Context, params *SelectResourceConfigInput, optFns ...func(*Options)) (*SelectResourceConfigOutput, error)
Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components (https://docs.aws.amazon.com/config/latest/developerguide/query-components.html) section in the AWS Config Developer Guide.
func (*Client) StartConfigRulesEvaluation ¶
func (c *Client) StartConfigRulesEvaluation(ctx context.Context, params *StartConfigRulesEvaluationInput, optFns ...func(*Options)) (*StartConfigRulesEvaluationOutput, error)
Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. You can specify up to 25 AWS Config rules per request. 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.
func (*Client) StartConfigurationRecorder ¶
func (c *Client) StartConfigurationRecorder(ctx context.Context, params *StartConfigurationRecorderInput, optFns ...func(*Options)) (*StartConfigurationRecorderOutput, error)
Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder.
func (*Client) StartRemediationExecution ¶
func (c *Client) StartRemediationExecution(ctx context.Context, params *StartRemediationExecutionInput, optFns ...func(*Options)) (*StartRemediationExecutionOutput, error)
Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous. You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.
func (*Client) StopConfigurationRecorder ¶
func (c *Client) StopConfigurationRecorder(ctx context.Context, params *StopConfigurationRecorderInput, optFns ...func(*Options)) (*StopConfigurationRecorderOutput, error)
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes specified tags from a resource.
type DeleteAggregationAuthorizationOutput ¶
type DeleteAggregationAuthorizationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteConfigRuleInput ¶
type DeleteConfigRuleInput struct { // The name of the AWS Config rule that you want to delete. // // This member is required. ConfigRuleName *string }
type DeleteConfigRuleOutput ¶
type DeleteConfigRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteConfigurationAggregatorInput ¶
type DeleteConfigurationAggregatorInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string }
type DeleteConfigurationAggregatorOutput ¶
type DeleteConfigurationAggregatorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteConfigurationRecorderInput ¶
type DeleteConfigurationRecorderInput struct { // The name of the configuration recorder to be deleted. You can retrieve the name // of your configuration recorder by using the DescribeConfigurationRecorders // action. // // This member is required. ConfigurationRecorderName *string }
The request object for the DeleteConfigurationRecorder action.
type DeleteConfigurationRecorderOutput ¶
type DeleteConfigurationRecorderOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteConformancePackInput ¶
type DeleteConformancePackInput struct { // Name of the conformance pack you want to delete. // // This member is required. ConformancePackName *string }
type DeleteConformancePackOutput ¶
type DeleteConformancePackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDeliveryChannelInput ¶
type DeleteDeliveryChannelInput struct { // The name of the delivery channel to delete. // // This member is required. DeliveryChannelName *string }
The input for the DeleteDeliveryChannel action. The action accepts the following data, in JSON format.
type DeleteDeliveryChannelOutput ¶
type DeleteDeliveryChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteEvaluationResultsInput ¶
type DeleteEvaluationResultsInput struct { // The name of the AWS Config rule for which you want to delete the evaluation // results. // // This member is required. ConfigRuleName *string }
type DeleteEvaluationResultsOutput ¶
type DeleteEvaluationResultsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output when you delete the evaluation results for the specified AWS Config rule.
type DeleteOrganizationConfigRuleInput ¶
type DeleteOrganizationConfigRuleInput struct { // The name of organization config rule that you want to delete. // // This member is required. OrganizationConfigRuleName *string }
type DeleteOrganizationConfigRuleOutput ¶
type DeleteOrganizationConfigRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteOrganizationConformancePackInput ¶
type DeleteOrganizationConformancePackInput struct { // The name of organization conformance pack that you want to delete. // // This member is required. OrganizationConformancePackName *string }
type DeleteOrganizationConformancePackOutput ¶
type DeleteOrganizationConformancePackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeletePendingAggregationRequestOutput ¶
type DeletePendingAggregationRequestOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteRemediationConfigurationOutput ¶
type DeleteRemediationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteRemediationExceptionsInput ¶
type DeleteRemediationExceptionsInput struct { // The name of the AWS Config rule for which you want to delete remediation // exception configuration. // // This member is required. ConfigRuleName *string // An exception list of resource exception keys to be processed with the current // request. AWS Config adds exception for each resource key. For example, AWS // Config adds 3 exceptions for 3 resource keys. // // This member is required. ResourceKeys []types.RemediationExceptionResourceKey }
type DeleteRemediationExceptionsOutput ¶
type DeleteRemediationExceptionsOutput struct { // Returns a list of failed delete remediation exceptions batch objects. Each // object in the batch consists of a list of failed items and failure messages. FailedBatches []types.FailedDeleteRemediationExceptionsBatch // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteResourceConfigOutput ¶
type DeleteResourceConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteRetentionConfigurationInput ¶
type DeleteRetentionConfigurationInput struct { // The name of the retention configuration to delete. // // This member is required. RetentionConfigurationName *string }
type DeleteRetentionConfigurationOutput ¶
type DeleteRetentionConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeliverConfigSnapshotInput ¶
type DeliverConfigSnapshotInput struct { // The name of the delivery channel through which the snapshot is delivered. // // This member is required. DeliveryChannelName *string }
The input for the DeliverConfigSnapshot action.
type DeliverConfigSnapshotOutput ¶
type DeliverConfigSnapshotOutput struct { // The ID of the snapshot that is being created. ConfigSnapshotId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output for the DeliverConfigSnapshot action, in JSON format.
type DescribeAggregateComplianceByConfigRulesInput ¶
type DescribeAggregateComplianceByConfigRulesInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // Filters the results by ConfigRuleComplianceFilters object. Filters *types.ConfigRuleComplianceFilters // The maximum number of evaluation results returned on each page. The default is // maximum. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribeAggregateComplianceByConfigRulesOutput ¶
type DescribeAggregateComplianceByConfigRulesOutput struct { // Returns a list of AggregateComplianceByConfigRule object. AggregateComplianceByConfigRules []types.AggregateComplianceByConfigRule // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeAggregationAuthorizationsInput ¶
type DescribeAggregationAuthorizationsInput struct { // The maximum number of AggregationAuthorizations returned on each page. The // default is maximum. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribeAggregationAuthorizationsOutput ¶
type DescribeAggregationAuthorizationsOutput struct { // Returns a list of authorizations granted to various aggregator accounts and // regions. AggregationAuthorizations []types.AggregationAuthorization // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeComplianceByConfigRuleInput ¶
type DescribeComplianceByConfigRuleInput struct { // Filters the results by compliance. The allowed values are COMPLIANT and // NON_COMPLIANT. ComplianceTypes []types.ComplianceType // Specify one or more AWS Config rule names to filter the results by rule. ConfigRuleNames []string // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribeComplianceByConfigRuleOutput ¶
type DescribeComplianceByConfigRuleOutput struct { // Indicates whether each of the specified AWS Config rules is compliant. ComplianceByConfigRules []types.ComplianceByConfigRule // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeComplianceByResourceInput ¶
type DescribeComplianceByResourceInput struct { // Filters the results by compliance. The allowed values are COMPLIANT, // NON_COMPLIANT, and INSUFFICIENT_DATA. ComplianceTypes []types.ComplianceType // The maximum number of evaluation results returned on each page. The default is // 10. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The ID of the AWS resource for which you want compliance information. You can // specify only one resource ID. If you specify a resource ID, you must also // specify a type for ResourceType. ResourceId *string // The types of AWS resources for which you want compliance information (for // example, AWS::EC2::Instance). For this action, you can specify that the resource // type is an AWS account by specifying AWS::::Account. ResourceType *string }
type DescribeComplianceByResourceOutput ¶
type DescribeComplianceByResourceOutput struct { // Indicates whether the specified AWS resource complies with all of the AWS Config // rules that evaluate it. ComplianceByResources []types.ComplianceByResource // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConfigRuleEvaluationStatusInput ¶
type DescribeConfigRuleEvaluationStatusInput struct { // The name of the AWS managed Config rules for which you want status information. // If you do not specify any names, AWS Config returns status information for all // AWS managed Config rules that you use. ConfigRuleNames []string // The number of rule evaluation results that you want returned. This parameter is // required if the rule limit for your account is more than the default of 150 // rules. For information about requesting a rule limit increase, see AWS Config // Limits // (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_config) // in the AWS General Reference Guide. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribeConfigRuleEvaluationStatusOutput ¶
type DescribeConfigRuleEvaluationStatusOutput struct { // Status information about your AWS managed Config rules. ConfigRulesEvaluationStatus []types.ConfigRuleEvaluationStatus // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConfigRulesInput ¶
type DescribeConfigRulesInput struct { // The names of the AWS Config rules for which you want details. If you do not // specify any names, AWS Config returns details for all your rules. ConfigRuleNames []string // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribeConfigRulesOutput ¶
type DescribeConfigRulesOutput struct { // The details about your AWS Config rules. ConfigRules []types.ConfigRule // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConfigurationAggregatorSourcesStatusInput ¶
type DescribeConfigurationAggregatorSourcesStatusInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // The maximum number of AggregatorSourceStatus returned on each page. The default // is maximum. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Filters the status type. // // * Valid value FAILED indicates errors while moving // data. // // * Valid value SUCCEEDED indicates the data was successfully moved. // // * // Valid value OUTDATED indicates the data is not the most recent. UpdateStatus []types.AggregatedSourceStatusType }
type DescribeConfigurationAggregatorSourcesStatusOutput ¶
type DescribeConfigurationAggregatorSourcesStatusOutput struct { // Returns an AggregatedSourceStatus object. AggregatedSourceStatusList []types.AggregatedSourceStatus // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConfigurationAggregatorsInput ¶
type DescribeConfigurationAggregatorsInput struct { // The name of the configuration aggregators. ConfigurationAggregatorNames []string // The maximum number of configuration aggregators returned on each page. The // default is maximum. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribeConfigurationAggregatorsOutput ¶
type DescribeConfigurationAggregatorsOutput struct { // Returns a ConfigurationAggregators object. ConfigurationAggregators []types.ConfigurationAggregator // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConfigurationRecorderStatusInput ¶
type DescribeConfigurationRecorderStatusInput struct { // The name(s) of the configuration recorder. If the name is not specified, the // action returns the current status of all the configuration recorders associated // with the account. ConfigurationRecorderNames []string }
The input for the DescribeConfigurationRecorderStatus action.
type DescribeConfigurationRecorderStatusOutput ¶
type DescribeConfigurationRecorderStatusOutput struct { // A list that contains status of the specified recorders. ConfigurationRecordersStatus []types.ConfigurationRecorderStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output for the DescribeConfigurationRecorderStatus action, in JSON format.
type DescribeConfigurationRecordersInput ¶
type DescribeConfigurationRecordersInput struct { // A list of configuration recorder names. ConfigurationRecorderNames []string }
The input for the DescribeConfigurationRecorders action.
type DescribeConfigurationRecordersOutput ¶
type DescribeConfigurationRecordersOutput struct { // A list that contains the descriptions of the specified configuration recorders. ConfigurationRecorders []types.ConfigurationRecorder // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output for the DescribeConfigurationRecorders action.
type DescribeConformancePackComplianceInput ¶
type DescribeConformancePackComplianceInput struct { // Name of the conformance pack. // // This member is required. ConformancePackName *string // A ConformancePackComplianceFilters object. Filters *types.ConformancePackComplianceFilters // The maximum number of AWS Config rules within a conformance pack are returned on // each page. Limit int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string }
type DescribeConformancePackComplianceOutput ¶
type DescribeConformancePackComplianceOutput struct { // Name of the conformance pack. // // This member is required. ConformancePackName *string // Returns a list of ConformancePackRuleCompliance objects. // // This member is required. ConformancePackRuleComplianceList []types.ConformancePackRuleCompliance // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConformancePackStatusInput ¶
type DescribeConformancePackStatusInput struct { // Comma-separated list of conformance pack names. ConformancePackNames []string // The maximum number of conformance packs status returned on each page. Limit int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string }
type DescribeConformancePackStatusOutput ¶
type DescribeConformancePackStatusOutput struct { // A list of ConformancePackStatusDetail objects. ConformancePackStatusDetails []types.ConformancePackStatusDetail // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeConformancePacksInput ¶
type DescribeConformancePacksInput struct { // Comma-separated list of conformance pack names for which you want details. If // you do not specify any names, AWS Config returns details for all your // conformance packs. ConformancePackNames []string // The maximum number of conformance packs returned on each page. Limit int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string }
type DescribeConformancePacksOutput ¶
type DescribeConformancePacksOutput struct { // Returns a list of ConformancePackDetail objects. ConformancePackDetails []types.ConformancePackDetail // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDeliveryChannelStatusInput ¶
type DescribeDeliveryChannelStatusInput struct { // A list of delivery channel names. DeliveryChannelNames []string }
The input for the DeliveryChannelStatus action.
type DescribeDeliveryChannelStatusOutput ¶
type DescribeDeliveryChannelStatusOutput struct { // A list that contains the status of a specified delivery channel. DeliveryChannelsStatus []types.DeliveryChannelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output for the DescribeDeliveryChannelStatus action.
type DescribeDeliveryChannelsInput ¶
type DescribeDeliveryChannelsInput struct { // A list of delivery channel names. DeliveryChannelNames []string }
The input for the DescribeDeliveryChannels action.
type DescribeDeliveryChannelsOutput ¶
type DescribeDeliveryChannelsOutput struct { // A list that contains the descriptions of the specified delivery channel. DeliveryChannels []types.DeliveryChannel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output for the DescribeDeliveryChannels action.
type DescribeOrganizationConfigRuleStatusesInput ¶
type DescribeOrganizationConfigRuleStatusesInput struct { // The maximum number of OrganizationConfigRuleStatuses returned on each page. If // you do no specify a number, AWS Config uses the default. The default is 100. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The names of organization config rules for which you want status details. If you // do not specify any names, AWS Config returns details for all your organization // AWS Confg rules. OrganizationConfigRuleNames []string }
type DescribeOrganizationConfigRuleStatusesOutput ¶
type DescribeOrganizationConfigRuleStatusesOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // A list of OrganizationConfigRuleStatus objects. OrganizationConfigRuleStatuses []types.OrganizationConfigRuleStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeOrganizationConfigRulesInput ¶
type DescribeOrganizationConfigRulesInput struct { // The maximum number of organization config rules returned on each page. If you do // no specify a number, AWS Config uses the default. The default is 100. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The names of organization config rules for which you want details. If you do not // specify any names, AWS Config returns details for all your organization config // rules. OrganizationConfigRuleNames []string }
type DescribeOrganizationConfigRulesOutput ¶
type DescribeOrganizationConfigRulesOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Returns a list of OrganizationConfigRule objects. OrganizationConfigRules []types.OrganizationConfigRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeOrganizationConformancePackStatusesInput ¶
type DescribeOrganizationConformancePackStatusesInput struct { // The maximum number of OrganizationConformancePackStatuses returned on each page. // If you do no specify a number, AWS Config uses the default. The default is 100. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The names of organization conformance packs for which you want status details. // If you do not specify any names, AWS Config returns details for all your // organization conformance packs. OrganizationConformancePackNames []string }
type DescribeOrganizationConformancePackStatusesOutput ¶
type DescribeOrganizationConformancePackStatusesOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // A list of OrganizationConformancePackStatus objects. OrganizationConformancePackStatuses []types.OrganizationConformancePackStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeOrganizationConformancePacksInput ¶
type DescribeOrganizationConformancePacksInput struct { // The maximum number of organization config packs returned on each page. If you do // no specify a number, AWS Config uses the default. The default is 100. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The name that you assign to an organization conformance pack. OrganizationConformancePackNames []string }
type DescribeOrganizationConformancePacksOutput ¶
type DescribeOrganizationConformancePacksOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Returns a list of OrganizationConformancePacks objects. OrganizationConformancePacks []types.OrganizationConformancePack // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribePendingAggregationRequestsInput ¶
type DescribePendingAggregationRequestsInput struct { // The maximum number of evaluation results returned on each page. The default is // maximum. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type DescribePendingAggregationRequestsOutput ¶
type DescribePendingAggregationRequestsOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Returns a PendingAggregationRequests object. PendingAggregationRequests []types.PendingAggregationRequest // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeRemediationConfigurationsInput ¶
type DescribeRemediationConfigurationsInput struct { // A list of AWS Config rule names of remediation configurations for which you want // details. // // This member is required. ConfigRuleNames []string }
type DescribeRemediationConfigurationsOutput ¶
type DescribeRemediationConfigurationsOutput struct { // Returns a remediation configuration object. RemediationConfigurations []types.RemediationConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeRemediationExceptionsAPIClient ¶ added in v0.30.0
type DescribeRemediationExceptionsAPIClient interface {
DescribeRemediationExceptions(context.Context, *DescribeRemediationExceptionsInput, ...func(*Options)) (*DescribeRemediationExceptionsOutput, error)
}
DescribeRemediationExceptionsAPIClient is a client that implements the DescribeRemediationExceptions operation.
type DescribeRemediationExceptionsInput ¶
type DescribeRemediationExceptionsInput struct { // The name of the AWS Config rule. // // This member is required. ConfigRuleName *string // The maximum number of RemediationExceptionResourceKey returned on each page. The // default is 25. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // An exception list of resource exception keys to be processed with the current // request. AWS Config adds exception for each resource key. For example, AWS // Config adds 3 exceptions for 3 resource keys. ResourceKeys []types.RemediationExceptionResourceKey }
type DescribeRemediationExceptionsOutput ¶
type DescribeRemediationExceptionsOutput struct { // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Returns a list of remediation exception objects. RemediationExceptions []types.RemediationException // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeRemediationExceptionsPaginator ¶ added in v0.30.0
type DescribeRemediationExceptionsPaginator struct {
// contains filtered or unexported fields
}
DescribeRemediationExceptionsPaginator is a paginator for DescribeRemediationExceptions
func NewDescribeRemediationExceptionsPaginator ¶ added in v0.30.0
func NewDescribeRemediationExceptionsPaginator(client DescribeRemediationExceptionsAPIClient, params *DescribeRemediationExceptionsInput, optFns ...func(*DescribeRemediationExceptionsPaginatorOptions)) *DescribeRemediationExceptionsPaginator
NewDescribeRemediationExceptionsPaginator returns a new DescribeRemediationExceptionsPaginator
func (*DescribeRemediationExceptionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeRemediationExceptionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeRemediationExceptionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeRemediationExceptionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeRemediationExceptionsOutput, error)
NextPage retrieves the next DescribeRemediationExceptions page.
type DescribeRemediationExceptionsPaginatorOptions ¶ added in v0.30.0
type DescribeRemediationExceptionsPaginatorOptions struct { // The maximum number of RemediationExceptionResourceKey returned on each page. The // default is 25. If you specify 0, AWS Config uses the default. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeRemediationExceptionsPaginatorOptions is the paginator options for DescribeRemediationExceptions
type DescribeRemediationExecutionStatusAPIClient ¶ added in v0.30.0
type DescribeRemediationExecutionStatusAPIClient interface {
DescribeRemediationExecutionStatus(context.Context, *DescribeRemediationExecutionStatusInput, ...func(*Options)) (*DescribeRemediationExecutionStatusOutput, error)
}
DescribeRemediationExecutionStatusAPIClient is a client that implements the DescribeRemediationExecutionStatus operation.
type DescribeRemediationExecutionStatusInput ¶
type DescribeRemediationExecutionStatusInput struct { // A list of AWS Config rule names. // // This member is required. ConfigRuleName *string // The maximum number of RemediationExecutionStatuses returned on each page. The // default is maximum. If you specify 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // A list of resource keys to be processed with the current request. Each element // in the list consists of the resource type and resource ID. ResourceKeys []types.ResourceKey }
type DescribeRemediationExecutionStatusOutput ¶
type DescribeRemediationExecutionStatusOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Returns a list of remediation execution statuses objects. RemediationExecutionStatuses []types.RemediationExecutionStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeRemediationExecutionStatusPaginator ¶ added in v0.30.0
type DescribeRemediationExecutionStatusPaginator struct {
// contains filtered or unexported fields
}
DescribeRemediationExecutionStatusPaginator is a paginator for DescribeRemediationExecutionStatus
func NewDescribeRemediationExecutionStatusPaginator ¶ added in v0.30.0
func NewDescribeRemediationExecutionStatusPaginator(client DescribeRemediationExecutionStatusAPIClient, params *DescribeRemediationExecutionStatusInput, optFns ...func(*DescribeRemediationExecutionStatusPaginatorOptions)) *DescribeRemediationExecutionStatusPaginator
NewDescribeRemediationExecutionStatusPaginator returns a new DescribeRemediationExecutionStatusPaginator
func (*DescribeRemediationExecutionStatusPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeRemediationExecutionStatusPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeRemediationExecutionStatusPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeRemediationExecutionStatusPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeRemediationExecutionStatusOutput, error)
NextPage retrieves the next DescribeRemediationExecutionStatus page.
type DescribeRemediationExecutionStatusPaginatorOptions ¶ added in v0.30.0
type DescribeRemediationExecutionStatusPaginatorOptions struct { // The maximum number of RemediationExecutionStatuses returned on each page. The // default is maximum. If you specify 0, AWS Config uses the default. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeRemediationExecutionStatusPaginatorOptions is the paginator options for DescribeRemediationExecutionStatus
type DescribeRetentionConfigurationsInput ¶
type DescribeRetentionConfigurationsInput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // A list of names of retention configurations for which you want details. If you // do not specify a name, AWS Config returns details for all the retention // configurations for that account. Currently, AWS Config supports only one // retention configuration per region in your account. RetentionConfigurationNames []string }
type DescribeRetentionConfigurationsOutput ¶
type DescribeRetentionConfigurationsOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Returns a retention configuration object. RetentionConfigurations []types.RetentionConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetAggregateComplianceDetailsByConfigRuleInput ¶
type GetAggregateComplianceDetailsByConfigRuleInput struct { // The 12-digit account ID of the source account. // // This member is required. AccountId *string // The source region from where the data is aggregated. // // This member is required. AwsRegion *string // The name of the AWS Config rule for which you want compliance information. // // This member is required. ConfigRuleName *string // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // The resource compliance status. For the // GetAggregateComplianceDetailsByConfigRuleRequest data type, AWS Config supports // only the COMPLIANT and NON_COMPLIANT. AWS Config does not support the // NOT_APPLICABLE and INSUFFICIENT_DATA values. ComplianceType types.ComplianceType // The maximum number of evaluation results returned on each page. The default is // 50. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetAggregateComplianceDetailsByConfigRuleOutput ¶
type GetAggregateComplianceDetailsByConfigRuleOutput struct { // Returns an AggregateEvaluationResults object. AggregateEvaluationResults []types.AggregateEvaluationResult // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAggregateConfigRuleComplianceSummaryInput ¶
type GetAggregateConfigRuleComplianceSummaryInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // Filters the results based on the ConfigRuleComplianceSummaryFilters object. Filters *types.ConfigRuleComplianceSummaryFilters // Groups the result based on ACCOUNT_ID or AWS_REGION. GroupByKey types.ConfigRuleComplianceSummaryGroupKey // The maximum number of evaluation results returned on each page. The default is // 1000. You cannot specify a number greater than 1000. If you specify 0, AWS // Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetAggregateConfigRuleComplianceSummaryOutput ¶
type GetAggregateConfigRuleComplianceSummaryOutput struct { // Returns a list of AggregateComplianceCounts object. AggregateComplianceCounts []types.AggregateComplianceCount // Groups the result based on ACCOUNT_ID or AWS_REGION. GroupByKey *string // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAggregateDiscoveredResourceCountsInput ¶
type GetAggregateDiscoveredResourceCountsInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // Filters the results based on the ResourceCountFilters object. Filters *types.ResourceCountFilters // The key to group the resource counts. GroupByKey types.ResourceCountGroupKey // The maximum number of GroupedResourceCount objects returned on each page. The // default is 1000. You cannot specify a number greater than 1000. If you specify // 0, AWS Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetAggregateDiscoveredResourceCountsOutput ¶
type GetAggregateDiscoveredResourceCountsOutput struct { // The total number of resources that are present in an aggregator with the filters // that you provide. // // This member is required. TotalDiscoveredResources int64 // The key passed into the request object. If GroupByKey is not provided, the // result will be empty. GroupByKey *string // Returns a list of GroupedResourceCount objects. GroupedResourceCounts []types.GroupedResourceCount // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAggregateResourceConfigInput ¶
type GetAggregateResourceConfigInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // An object that identifies aggregate resource. // // This member is required. ResourceIdentifier *types.AggregateResourceIdentifier }
type GetAggregateResourceConfigOutput ¶
type GetAggregateResourceConfigOutput struct { // Returns a ConfigurationItem object. ConfigurationItem *types.ConfigurationItem // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetComplianceDetailsByConfigRuleInput ¶
type GetComplianceDetailsByConfigRuleInput struct { // The name of the AWS Config rule for which you want compliance information. // // This member is required. ConfigRuleName *string // Filters the results by compliance. The allowed values are COMPLIANT, // NON_COMPLIANT, and NOT_APPLICABLE. ComplianceTypes []types.ComplianceType // The maximum number of evaluation results returned on each page. The default is // 10. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetComplianceDetailsByConfigRuleOutput ¶
type GetComplianceDetailsByConfigRuleOutput struct { // Indicates whether the AWS resource complies with the specified AWS Config rule. EvaluationResults []types.EvaluationResult // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetComplianceDetailsByResourceInput ¶
type GetComplianceDetailsByResourceInput struct { // The ID of the AWS resource for which you want compliance information. // // This member is required. ResourceId *string // The type of the AWS resource for which you want compliance information. // // This member is required. ResourceType *string // Filters the results by compliance. The allowed values are COMPLIANT, // NON_COMPLIANT, and NOT_APPLICABLE. ComplianceTypes []types.ComplianceType // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetComplianceDetailsByResourceOutput ¶
type GetComplianceDetailsByResourceOutput struct { // Indicates whether the specified AWS resource complies each AWS Config rule. EvaluationResults []types.EvaluationResult // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetComplianceSummaryByConfigRuleInput ¶
type GetComplianceSummaryByConfigRuleInput struct { }
type GetComplianceSummaryByConfigRuleOutput ¶
type GetComplianceSummaryByConfigRuleOutput struct { // The number of AWS Config rules that are compliant and the number that are // noncompliant, up to a maximum of 25 for each. ComplianceSummary *types.ComplianceSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetComplianceSummaryByResourceTypeInput ¶
type GetComplianceSummaryByResourceTypeInput struct { // Specify one or more resource types to get the number of resources that are // compliant and the number that are noncompliant for each resource type. For this // request, you can specify an AWS resource type such as AWS::EC2::Instance. You // can specify that the resource type is an AWS account by specifying // AWS::::Account. ResourceTypes []string }
type GetComplianceSummaryByResourceTypeOutput ¶
type GetComplianceSummaryByResourceTypeOutput struct { // The number of resources that are compliant and the number that are noncompliant. // If one or more resource types were provided with the request, the numbers are // returned for each resource type. The maximum number returned is 100. ComplianceSummariesByResourceType []types.ComplianceSummaryByResourceType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetConformancePackComplianceDetailsInput ¶
type GetConformancePackComplianceDetailsInput struct { // Name of the conformance pack. // // This member is required. ConformancePackName *string // A ConformancePackEvaluationFilters object. Filters *types.ConformancePackEvaluationFilters // The maximum number of evaluation results returned on each page. If you do no // specify a number, AWS Config uses the default. The default is 100. Limit int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string }
type GetConformancePackComplianceDetailsOutput ¶
type GetConformancePackComplianceDetailsOutput struct { // Name of the conformance pack. // // This member is required. ConformancePackName *string // Returns a list of ConformancePackEvaluationResult objects. ConformancePackRuleEvaluationResults []types.ConformancePackEvaluationResult // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetConformancePackComplianceSummaryInput ¶
type GetConformancePackComplianceSummaryInput struct { // Names of conformance packs. // // This member is required. ConformancePackNames []string // The maximum number of conformance packs returned on each page. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetConformancePackComplianceSummaryOutput ¶
type GetConformancePackComplianceSummaryOutput struct { // A list of ConformancePackComplianceSummary objects. ConformancePackComplianceSummaryList []types.ConformancePackComplianceSummary // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetDiscoveredResourceCountsInput ¶
type GetDiscoveredResourceCountsInput struct { // The maximum number of ResourceCount objects returned on each page. The default // is 100. You cannot specify a number greater than 100. If you specify 0, AWS // Config uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The comma-separated list that specifies the resource types that you want AWS // Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User"). If a // value for resourceTypes is not specified, AWS Config returns all resource types // that AWS Config is recording in the region for your account. If the // configuration recorder is turned off, AWS Config returns an empty list of // ResourceCount objects. If the configuration recorder is not recording a specific // resource type (for example, S3 buckets), that resource type is not returned in // the list of ResourceCount objects. ResourceTypes []string }
type GetDiscoveredResourceCountsOutput ¶
type GetDiscoveredResourceCountsOutput struct { // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // The list of ResourceCount objects. Each object is listed in descending order by // the number of resources. ResourceCounts []types.ResourceCount // The total number of resources that AWS Config is recording in the region for // your account. If you specify resource types in the request, AWS Config returns // only the total number of resources for those resource types. 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, for a total of 60 // resources. // // * You make a call to the GetDiscoveredResourceCounts action and // specify the resource type, "AWS::EC2::Instances", in the request. // // * AWS Config // returns 25 for totalDiscoveredResources. TotalDiscoveredResources int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetOrganizationConfigRuleDetailedStatusInput ¶
type GetOrganizationConfigRuleDetailedStatusInput struct { // The name of organization config rule for which you want status details for // member accounts. // // This member is required. OrganizationConfigRuleName *string // A StatusDetailFilters object. Filters *types.StatusDetailFilters // The maximum number of OrganizationConfigRuleDetailedStatus returned on each // page. If you do not specify a number, AWS Config uses the default. The default // is 100. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetOrganizationConfigRuleDetailedStatusOutput ¶
type GetOrganizationConfigRuleDetailedStatusOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // A list of MemberAccountStatus objects. OrganizationConfigRuleDetailedStatus []types.MemberAccountStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetOrganizationConformancePackDetailedStatusInput ¶
type GetOrganizationConformancePackDetailedStatusInput struct { // The name of organization conformance pack for which you want status details for // member accounts. // // This member is required. OrganizationConformancePackName *string // An OrganizationResourceDetailedStatusFilters object. Filters *types.OrganizationResourceDetailedStatusFilters // The maximum number of OrganizationConformancePackDetailedStatuses returned on // each page. If you do not specify a number, AWS Config uses the default. The // default is 100. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type GetOrganizationConformancePackDetailedStatusOutput ¶
type GetOrganizationConformancePackDetailedStatusOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // A list of OrganizationConformancePackDetailedStatus objects. OrganizationConformancePackDetailedStatuses []types.OrganizationConformancePackDetailedStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetResourceConfigHistoryAPIClient ¶ added in v0.30.0
type GetResourceConfigHistoryAPIClient interface {
GetResourceConfigHistory(context.Context, *GetResourceConfigHistoryInput, ...func(*Options)) (*GetResourceConfigHistoryOutput, error)
}
GetResourceConfigHistoryAPIClient is a client that implements the GetResourceConfigHistory operation.
type GetResourceConfigHistoryInput ¶
type GetResourceConfigHistoryInput struct { // The ID of the resource (for example., sg-xxxxxx). // // This member is required. ResourceId *string // The resource type. // // This member is required. ResourceType types.ResourceType // The chronological order for configuration items listed. By default, the results // are listed in reverse chronological order. ChronologicalOrder types.ChronologicalOrder // The time stamp that indicates an earlier time. If not specified, the action // returns paginated results that contain configuration items that start when the // first configuration item was recorded. EarlierTime *time.Time // The time stamp that indicates a later time. If not specified, current time is // taken. LaterTime *time.Time // The maximum number of configuration items returned on each page. The default is // 10. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
The input for the GetResourceConfigHistory action.
type GetResourceConfigHistoryOutput ¶
type GetResourceConfigHistoryOutput struct { // A list that contains the configuration history of one or more resources. ConfigurationItems []types.ConfigurationItem // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output for the GetResourceConfigHistory action.
type GetResourceConfigHistoryPaginator ¶ added in v0.30.0
type GetResourceConfigHistoryPaginator struct {
// contains filtered or unexported fields
}
GetResourceConfigHistoryPaginator is a paginator for GetResourceConfigHistory
func NewGetResourceConfigHistoryPaginator ¶ added in v0.30.0
func NewGetResourceConfigHistoryPaginator(client GetResourceConfigHistoryAPIClient, params *GetResourceConfigHistoryInput, optFns ...func(*GetResourceConfigHistoryPaginatorOptions)) *GetResourceConfigHistoryPaginator
NewGetResourceConfigHistoryPaginator returns a new GetResourceConfigHistoryPaginator
func (*GetResourceConfigHistoryPaginator) HasMorePages ¶ added in v0.30.0
func (p *GetResourceConfigHistoryPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetResourceConfigHistoryPaginator) NextPage ¶ added in v0.30.0
func (p *GetResourceConfigHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetResourceConfigHistoryOutput, error)
NextPage retrieves the next GetResourceConfigHistory page.
type GetResourceConfigHistoryPaginatorOptions ¶ added in v0.30.0
type GetResourceConfigHistoryPaginatorOptions struct { // The maximum number of configuration items returned on each page. The default is // 10. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetResourceConfigHistoryPaginatorOptions is the paginator options for GetResourceConfigHistory
type HTTPSignerV4 ¶
type ListAggregateDiscoveredResourcesInput ¶
type ListAggregateDiscoveredResourcesInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // The type of resources that you want AWS Config to list in the response. // // This member is required. ResourceType types.ResourceType // Filters the results based on the ResourceFilters object. Filters *types.ResourceFilters // The maximum number of resource identifiers returned on each page. The default is // 100. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type ListAggregateDiscoveredResourcesOutput ¶
type ListAggregateDiscoveredResourcesOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // Returns a list of ResourceIdentifiers objects. ResourceIdentifiers []types.AggregateResourceIdentifier // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListDiscoveredResourcesInput ¶
type ListDiscoveredResourcesInput struct { // The type of resources that you want AWS Config to list in the response. // // This member is required. ResourceType types.ResourceType // Specifies whether AWS Config includes deleted resources in the results. By // default, deleted resources are not included. IncludeDeletedResources bool // The maximum number of resource identifiers returned on each page. The default is // 100. You cannot specify a number greater than 100. If you specify 0, AWS Config // uses the default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The IDs of only those resources that you want AWS Config to list in the // response. If you do not specify this parameter, AWS Config lists all resources // of the specified type that it has discovered. ResourceIds []string // The custom name of only those resources that you want AWS Config to list in the // response. If you do not specify this parameter, AWS Config lists all resources // of the specified type that it has discovered. ResourceName *string }
type ListDiscoveredResourcesOutput ¶
type ListDiscoveredResourcesOutput struct { // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string // The details that identify a resource that is discovered by AWS Config, including // the resource type, ID, and (if available) the custom resource name. ResourceIdentifiers []types.ResourceIdentifier // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) that identifies the resource for which to list // the tags. Currently, the supported resources are ConfigRule, // ConfigurationAggregator and AggregatorAuthorization. // // This member is required. ResourceArn *string // The maximum number of tags returned on each page. The limit maximum is 50. You // cannot specify a number greater than 50. If you specify 0, AWS Config uses the // default. Limit int32 // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The nextToken string returned on a previous page that you use to get the next // page of results in a paginated response. NextToken *string // The tags for the resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type PutAggregationAuthorizationInput ¶
type PutAggregationAuthorizationInput struct { // The 12-digit account ID of the account authorized to aggregate data. // // This member is required. AuthorizedAccountId *string // The region authorized to collect aggregated data. // // This member is required. AuthorizedAwsRegion *string // An array of tag object. Tags []types.Tag }
type PutAggregationAuthorizationOutput ¶
type PutAggregationAuthorizationOutput struct { // Returns an AggregationAuthorization object. AggregationAuthorization *types.AggregationAuthorization // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutConfigRuleInput ¶
type PutConfigRuleInput struct { // The rule that you want to add to your account. // // This member is required. ConfigRule *types.ConfigRule // An array of tag object. Tags []types.Tag }
type PutConfigRuleOutput ¶
type PutConfigRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutConfigurationAggregatorInput ¶
type PutConfigurationAggregatorInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // A list of AccountAggregationSource object. AccountAggregationSources []types.AccountAggregationSource // An OrganizationAggregationSource object. OrganizationAggregationSource *types.OrganizationAggregationSource // An array of tag object. Tags []types.Tag }
type PutConfigurationAggregatorOutput ¶
type PutConfigurationAggregatorOutput struct { // Returns a ConfigurationAggregator object. ConfigurationAggregator *types.ConfigurationAggregator // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutConfigurationRecorderInput ¶
type PutConfigurationRecorderInput struct { // The configuration recorder object that records each configuration change made to // the resources. // // This member is required. ConfigurationRecorder *types.ConfigurationRecorder }
The input for the PutConfigurationRecorder action.
type PutConfigurationRecorderOutput ¶
type PutConfigurationRecorderOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutConformancePackInput ¶
type PutConformancePackInput struct { // Name of the conformance pack you want to create. // // This member is required. ConformancePackName *string // A list of ConformancePackInputParameter objects. ConformancePackInputParameters []types.ConformancePackInputParameter // AWS Config stores intermediate files while processing conformance pack template. DeliveryS3Bucket *string // The prefix for the Amazon S3 bucket. DeliveryS3KeyPrefix *string // A string containing full conformance pack template body. Structure containing // the template body with a minimum length of 1 byte and a maximum length of 51,200 // bytes. You can only use a YAML template with one resource type, that is, config // rule and a remediation action. TemplateBody *string // Location of file containing the template body (s3://bucketname/prefix). The uri // must point to the conformance pack template (max size: 300 KB) that is located // in an Amazon S3 bucket in the same region as the conformance pack. You must have // access to read Amazon S3 bucket. TemplateS3Uri *string }
type PutConformancePackOutput ¶
type PutConformancePackOutput struct { // ARN of the conformance pack. ConformancePackArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutDeliveryChannelInput ¶
type PutDeliveryChannelInput struct { // The configuration delivery channel object that delivers the configuration // information to an Amazon S3 bucket and to an Amazon SNS topic. // // This member is required. DeliveryChannel *types.DeliveryChannel }
The input for the PutDeliveryChannel action.
type PutDeliveryChannelOutput ¶
type PutDeliveryChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutEvaluationsInput ¶
type PutEvaluationsInput struct { // An encrypted token that associates an evaluation with an AWS Config rule. // Identifies the rule and the event that triggered the evaluation. // // This member is required. ResultToken *string // The assessments that the AWS Lambda function performs. Each evaluation // identifies an AWS resource and indicates whether it complies with the AWS Config // rule that invokes the AWS Lambda function. Evaluations []types.Evaluation // Use this parameter to specify a test run for PutEvaluations. You can verify // whether your AWS Lambda function will deliver evaluation results to AWS Config. // No updates occur to your existing evaluations, and evaluation results are not // sent to AWS Config. When TestMode is true, PutEvaluations doesn't require a // valid value for the ResultToken parameter, but the value cannot be null. TestMode bool }
type PutEvaluationsOutput ¶
type PutEvaluationsOutput struct { // Requests that failed because of a client or server error. FailedEvaluations []types.Evaluation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutOrganizationConfigRuleInput ¶
type PutOrganizationConfigRuleInput struct { // The name that you assign to an organization config rule. // // This member is required. OrganizationConfigRuleName *string // A comma-separated list of accounts that you want to exclude from an organization // config rule. ExcludedAccounts []string // An OrganizationCustomRuleMetadata object. OrganizationCustomRuleMetadata *types.OrganizationCustomRuleMetadata // An OrganizationManagedRuleMetadata object. OrganizationManagedRuleMetadata *types.OrganizationManagedRuleMetadata }
type PutOrganizationConfigRuleOutput ¶
type PutOrganizationConfigRuleOutput struct { // The Amazon Resource Name (ARN) of an organization config rule. OrganizationConfigRuleArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutOrganizationConformancePackInput ¶
type PutOrganizationConformancePackInput struct { // Name of the organization conformance pack you want to create. // // This member is required. OrganizationConformancePackName *string // A list of ConformancePackInputParameter objects. ConformancePackInputParameters []types.ConformancePackInputParameter // Location of an Amazon S3 bucket where AWS Config can deliver evaluation results. // AWS Config stores intermediate files while processing conformance pack template. // The delivery bucket name should start with awsconfigconforms. For example: // "Resource": "arn:aws:s3:::your_bucket_name/*". For more information, see // Permissions for cross account bucket access // (https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html). DeliveryS3Bucket *string // The prefix for the Amazon S3 bucket. DeliveryS3KeyPrefix *string // A list of AWS accounts to be excluded from an organization conformance pack // while deploying a conformance pack. ExcludedAccounts []string // A string containing full conformance pack template body. Structure containing // the template body with a minimum length of 1 byte and a maximum length of 51,200 // bytes. TemplateBody *string // Location of file containing the template body. The uri must point to the // conformance pack template (max size: 300 KB). You must have access to read // Amazon S3 bucket. TemplateS3Uri *string }
type PutOrganizationConformancePackOutput ¶
type PutOrganizationConformancePackOutput struct { // ARN of the organization conformance pack. OrganizationConformancePackArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutRemediationConfigurationsInput ¶
type PutRemediationConfigurationsInput struct { // A list of remediation configuration objects. // // This member is required. RemediationConfigurations []types.RemediationConfiguration }
type PutRemediationConfigurationsOutput ¶
type PutRemediationConfigurationsOutput struct { // Returns a list of failed remediation batch objects. FailedBatches []types.FailedRemediationBatch // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutRemediationExceptionsInput ¶
type PutRemediationExceptionsInput struct { // The name of the AWS Config rule for which you want to create remediation // exception. // // This member is required. ConfigRuleName *string // An exception list of resource exception keys to be processed with the current // request. AWS Config adds exception for each resource key. For example, AWS // Config adds 3 exceptions for 3 resource keys. // // This member is required. ResourceKeys []types.RemediationExceptionResourceKey // The exception is automatically deleted after the expiration date. ExpirationTime *time.Time // The message contains an explanation of the exception. Message *string }
type PutRemediationExceptionsOutput ¶
type PutRemediationExceptionsOutput struct { // Returns a list of failed remediation exceptions batch objects. Each object in // the batch consists of a list of failed items and failure messages. FailedBatches []types.FailedRemediationExceptionBatch // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutResourceConfigInput ¶
type PutResourceConfigInput struct { // The configuration object of the resource in valid JSON format. It must match the // schema registered with AWS CloudFormation. The configuration JSON must not // exceed 64 KB. // // This member is required. Configuration *string // Unique identifier of the resource. // // This member is required. ResourceId *string // The type of the resource. The custom resource type must be registered with AWS // CloudFormation. You cannot use the organization names “aws”, “amzn”, “amazon”, // “alexa”, “custom” with custom resource types. It is the first part of the // ResourceType up to the first ::. // // This member is required. ResourceType *string // Version of the schema registered for the ResourceType in AWS CloudFormation. // // This member is required. SchemaVersionId *string // Name of the resource. ResourceName *string // Tags associated with the resource. Tags map[string]string }
type PutResourceConfigOutput ¶
type PutResourceConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutRetentionConfigurationInput ¶
type PutRetentionConfigurationInput struct { // Number of days AWS Config stores your historical information. Currently, only // applicable to the configuration item history. // // This member is required. RetentionPeriodInDays int32 }
type PutRetentionConfigurationOutput ¶
type PutRetentionConfigurationOutput struct { // Returns a retention configuration object. RetentionConfiguration *types.RetentionConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type SelectAggregateResourceConfigAPIClient ¶ added in v0.30.0
type SelectAggregateResourceConfigAPIClient interface {
SelectAggregateResourceConfig(context.Context, *SelectAggregateResourceConfigInput, ...func(*Options)) (*SelectAggregateResourceConfigOutput, error)
}
SelectAggregateResourceConfigAPIClient is a client that implements the SelectAggregateResourceConfig operation.
type SelectAggregateResourceConfigInput ¶
type SelectAggregateResourceConfigInput struct { // The name of the configuration aggregator. // // This member is required. ConfigurationAggregatorName *string // The SQL query SELECT command. // // This member is required. Expression *string // The maximum number of query results returned on each page. Limit int32 // The maximum number of query results returned on each page. AWS Config also // allows the Limit request parameter. MaxResults int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string }
type SelectAggregateResourceConfigOutput ¶
type SelectAggregateResourceConfigOutput struct { // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Details about the query. QueryInfo *types.QueryInfo // Returns the results for the SQL query. Results []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type SelectAggregateResourceConfigPaginator ¶ added in v0.30.0
type SelectAggregateResourceConfigPaginator struct {
// contains filtered or unexported fields
}
SelectAggregateResourceConfigPaginator is a paginator for SelectAggregateResourceConfig
func NewSelectAggregateResourceConfigPaginator ¶ added in v0.30.0
func NewSelectAggregateResourceConfigPaginator(client SelectAggregateResourceConfigAPIClient, params *SelectAggregateResourceConfigInput, optFns ...func(*SelectAggregateResourceConfigPaginatorOptions)) *SelectAggregateResourceConfigPaginator
NewSelectAggregateResourceConfigPaginator returns a new SelectAggregateResourceConfigPaginator
func (*SelectAggregateResourceConfigPaginator) HasMorePages ¶ added in v0.30.0
func (p *SelectAggregateResourceConfigPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*SelectAggregateResourceConfigPaginator) NextPage ¶ added in v0.30.0
func (p *SelectAggregateResourceConfigPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*SelectAggregateResourceConfigOutput, error)
NextPage retrieves the next SelectAggregateResourceConfig page.
type SelectAggregateResourceConfigPaginatorOptions ¶ added in v0.30.0
type SelectAggregateResourceConfigPaginatorOptions struct { // The maximum number of query results returned on each page. AWS Config also // allows the Limit request parameter. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
SelectAggregateResourceConfigPaginatorOptions is the paginator options for SelectAggregateResourceConfig
type SelectResourceConfigInput ¶
type SelectResourceConfigInput struct { // The SQL query SELECT command. // // This member is required. Expression *string // The maximum number of query results returned on each page. Limit int32 // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string }
type SelectResourceConfigOutput ¶
type SelectResourceConfigOutput struct { // The nextToken string returned in a previous request that you use to request the // next page of results in a paginated response. NextToken *string // Returns the QueryInfo object. QueryInfo *types.QueryInfo // Returns the results for the SQL query. Results []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StartConfigRulesEvaluationInput ¶
type StartConfigRulesEvaluationInput struct { // The list of names of AWS Config rules that you want to run evaluations for. ConfigRuleNames []string }
type StartConfigRulesEvaluationOutput ¶
type StartConfigRulesEvaluationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The output when you start the evaluation for the specified AWS Config rule.
type StartConfigurationRecorderInput ¶
type StartConfigurationRecorderInput struct { // The name of the recorder object that records each configuration change made to // the resources. // // This member is required. ConfigurationRecorderName *string }
The input for the StartConfigurationRecorder action.
type StartConfigurationRecorderOutput ¶
type StartConfigurationRecorderOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StartRemediationExecutionInput ¶
type StartRemediationExecutionInput struct { // The list of names of AWS Config rules that you want to run remediation execution // for. // // This member is required. ConfigRuleName *string // A list of resource keys to be processed with the current request. Each element // in the list consists of the resource type and resource ID. // // This member is required. ResourceKeys []types.ResourceKey }
type StartRemediationExecutionOutput ¶
type StartRemediationExecutionOutput struct { // For resources that have failed to start execution, the API returns a resource // key object. FailedItems []types.ResourceKey // Returns a failure message. For example, the resource is already compliant. FailureMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StopConfigurationRecorderInput ¶
type StopConfigurationRecorderInput struct { // The name of the recorder object that records each configuration change made to // the resources. // // This member is required. ConfigurationRecorderName *string }
The input for the StopConfigurationRecorder action.
type StopConfigurationRecorderOutput ¶
type StopConfigurationRecorderOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) that identifies the resource for which to list // the tags. Currently, the supported resources are ConfigRule, // ConfigurationAggregator and AggregatorAuthorization. // // This member is required. ResourceArn *string // An array of tag object. // // This member is required. Tags []types.Tag }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) that identifies the resource for which to list // the tags. Currently, the supported resources are ConfigRule, // ConfigurationAggregator and AggregatorAuthorization. // // This member is required. ResourceArn *string // The keys of the tags to be removed. // // This member is required. TagKeys []string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
- api_client.go
- api_op_BatchGetAggregateResourceConfig.go
- api_op_BatchGetResourceConfig.go
- api_op_DeleteAggregationAuthorization.go
- api_op_DeleteConfigRule.go
- api_op_DeleteConfigurationAggregator.go
- api_op_DeleteConfigurationRecorder.go
- api_op_DeleteConformancePack.go
- api_op_DeleteDeliveryChannel.go
- api_op_DeleteEvaluationResults.go
- api_op_DeleteOrganizationConfigRule.go
- api_op_DeleteOrganizationConformancePack.go
- api_op_DeletePendingAggregationRequest.go
- api_op_DeleteRemediationConfiguration.go
- api_op_DeleteRemediationExceptions.go
- api_op_DeleteResourceConfig.go
- api_op_DeleteRetentionConfiguration.go
- api_op_DeliverConfigSnapshot.go
- api_op_DescribeAggregateComplianceByConfigRules.go
- api_op_DescribeAggregationAuthorizations.go
- api_op_DescribeComplianceByConfigRule.go
- api_op_DescribeComplianceByResource.go
- api_op_DescribeConfigRuleEvaluationStatus.go
- api_op_DescribeConfigRules.go
- api_op_DescribeConfigurationAggregatorSourcesStatus.go
- api_op_DescribeConfigurationAggregators.go
- api_op_DescribeConfigurationRecorderStatus.go
- api_op_DescribeConfigurationRecorders.go
- api_op_DescribeConformancePackCompliance.go
- api_op_DescribeConformancePackStatus.go
- api_op_DescribeConformancePacks.go
- api_op_DescribeDeliveryChannelStatus.go
- api_op_DescribeDeliveryChannels.go
- api_op_DescribeOrganizationConfigRuleStatuses.go
- api_op_DescribeOrganizationConfigRules.go
- api_op_DescribeOrganizationConformancePackStatuses.go
- api_op_DescribeOrganizationConformancePacks.go
- api_op_DescribePendingAggregationRequests.go
- api_op_DescribeRemediationConfigurations.go
- api_op_DescribeRemediationExceptions.go
- api_op_DescribeRemediationExecutionStatus.go
- api_op_DescribeRetentionConfigurations.go
- api_op_GetAggregateComplianceDetailsByConfigRule.go
- api_op_GetAggregateConfigRuleComplianceSummary.go
- api_op_GetAggregateDiscoveredResourceCounts.go
- api_op_GetAggregateResourceConfig.go
- api_op_GetComplianceDetailsByConfigRule.go
- api_op_GetComplianceDetailsByResource.go
- api_op_GetComplianceSummaryByConfigRule.go
- api_op_GetComplianceSummaryByResourceType.go
- api_op_GetConformancePackComplianceDetails.go
- api_op_GetConformancePackComplianceSummary.go
- api_op_GetDiscoveredResourceCounts.go
- api_op_GetOrganizationConfigRuleDetailedStatus.go
- api_op_GetOrganizationConformancePackDetailedStatus.go
- api_op_GetResourceConfigHistory.go
- api_op_ListAggregateDiscoveredResources.go
- api_op_ListDiscoveredResources.go
- api_op_ListTagsForResource.go
- api_op_PutAggregationAuthorization.go
- api_op_PutConfigRule.go
- api_op_PutConfigurationAggregator.go
- api_op_PutConfigurationRecorder.go
- api_op_PutConformancePack.go
- api_op_PutDeliveryChannel.go
- api_op_PutEvaluations.go
- api_op_PutOrganizationConfigRule.go
- api_op_PutOrganizationConformancePack.go
- api_op_PutRemediationConfigurations.go
- api_op_PutRemediationExceptions.go
- api_op_PutResourceConfig.go
- api_op_PutRetentionConfiguration.go
- api_op_SelectAggregateResourceConfig.go
- api_op_SelectResourceConfig.go
- api_op_StartConfigRulesEvaluation.go
- api_op_StartConfigurationRecorder.go
- api_op_StartRemediationExecution.go
- api_op_StopConfigurationRecorder.go
- api_op_TagResource.go
- api_op_UntagResource.go
- deserializers.go
- doc.go
- endpoints.go
- serializers.go
- validators.go