aws-sdk-go: github.com/aws/aws-sdk-go/service/accessanalyzer Index | Files | Directories

package accessanalyzer

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

Package accessanalyzer provides the client and types for making API requests to Access Analyzer.

AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify any policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your AWS environment. An external principal can be another AWS account, a root user, an IAM user or role, a federated user, an AWS service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can call programmatically. For general information about Access Analyzer, see the AWS IAM Access Analyzer section of the IAM User Guide (https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html).

To start using Access Analyzer, you first need to create an analyzer.

See https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01 for more information on this service.

See accessanalyzer package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/accessanalyzer/

Using the Client

To contact Access Analyzer with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Access Analyzer client AccessAnalyzer for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/accessanalyzer/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // AnalyzerStatusActive is a AnalyzerStatus enum value
    AnalyzerStatusActive = "ACTIVE"

    // AnalyzerStatusCreating is a AnalyzerStatus enum value
    AnalyzerStatusCreating = "CREATING"

    // AnalyzerStatusDisabled is a AnalyzerStatus enum value
    AnalyzerStatusDisabled = "DISABLED"

    // AnalyzerStatusFailed is a AnalyzerStatus enum value
    AnalyzerStatusFailed = "FAILED"
)
const (
    // FindingStatusActive is a FindingStatus enum value
    FindingStatusActive = "ACTIVE"

    // FindingStatusArchived is a FindingStatus enum value
    FindingStatusArchived = "ARCHIVED"

    // FindingStatusResolved is a FindingStatus enum value
    FindingStatusResolved = "RESOLVED"
)
const (
    // FindingStatusUpdateActive is a FindingStatusUpdate enum value
    FindingStatusUpdateActive = "ACTIVE"

    // FindingStatusUpdateArchived is a FindingStatusUpdate enum value
    FindingStatusUpdateArchived = "ARCHIVED"
)
const (
    // OrderByAsc is a OrderBy enum value
    OrderByAsc = "ASC"

    // OrderByDesc is a OrderBy enum value
    OrderByDesc = "DESC"
)
const (
    // ReasonCodeAwsServiceAccessDisabled is a ReasonCode enum value
    ReasonCodeAwsServiceAccessDisabled = "AWS_SERVICE_ACCESS_DISABLED"

    // ReasonCodeDelegatedAdministratorDeregistered is a ReasonCode enum value
    ReasonCodeDelegatedAdministratorDeregistered = "DELEGATED_ADMINISTRATOR_DEREGISTERED"

    // ReasonCodeOrganizationDeleted is a ReasonCode enum value
    ReasonCodeOrganizationDeleted = "ORGANIZATION_DELETED"

    // ReasonCodeServiceLinkedRoleCreationFailed is a ReasonCode enum value
    ReasonCodeServiceLinkedRoleCreationFailed = "SERVICE_LINKED_ROLE_CREATION_FAILED"
)
const (
    // ResourceTypeAwsIamRole is a ResourceType enum value
    ResourceTypeAwsIamRole = "AWS::IAM::Role"

    // ResourceTypeAwsKmsKey is a ResourceType enum value
    ResourceTypeAwsKmsKey = "AWS::KMS::Key"

    // ResourceTypeAwsLambdaFunction is a ResourceType enum value
    ResourceTypeAwsLambdaFunction = "AWS::Lambda::Function"

    // ResourceTypeAwsLambdaLayerVersion is a ResourceType enum value
    ResourceTypeAwsLambdaLayerVersion = "AWS::Lambda::LayerVersion"

    // ResourceTypeAwsS3Bucket is a ResourceType enum value
    ResourceTypeAwsS3Bucket = "AWS::S3::Bucket"

    // ResourceTypeAwsSqsQueue is a ResourceType enum value
    ResourceTypeAwsSqsQueue = "AWS::SQS::Queue"
)
const (
    // TypeAccount is a Type enum value
    TypeAccount = "ACCOUNT"

    // TypeOrganization is a Type enum value
    TypeOrganization = "ORGANIZATION"
)
const (
    // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
    ValidationExceptionReasonCannotParse = "cannotParse"

    // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
    ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed"

    // ValidationExceptionReasonOther is a ValidationExceptionReason enum value
    ValidationExceptionReasonOther = "other"

    // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
    ValidationExceptionReasonUnknownOperation = "unknownOperation"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // You do not have sufficient access to perform this action.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeConflictException for service response error code
    // "ConflictException".
    //
    // A conflict exception error.
    ErrCodeConflictException = "ConflictException"

    // ErrCodeInternalServerException for service response error code
    // "InternalServerException".
    //
    // Internal server error.
    ErrCodeInternalServerException = "InternalServerException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The specified resource could not be found.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeServiceQuotaExceededException for service response error code
    // "ServiceQuotaExceededException".
    //
    // Service quote met error.
    ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

    // ErrCodeThrottlingException for service response error code
    // "ThrottlingException".
    //
    // Throttling limit exceeded error.
    ErrCodeThrottlingException = "ThrottlingException"

    // ErrCodeValidationException for service response error code
    // "ValidationException".
    //
    // Validation exception error.
    ErrCodeValidationException = "ValidationException"
)
const (
    ServiceName = "AccessAnalyzer"  // Name of service.
    EndpointsID = "access-analyzer" // ID to lookup a service endpoint with.
    ServiceID   = "AccessAnalyzer"  // ServiceID is a unique identifier of a specific service.
)

Service information constants

type AccessAnalyzer Uses

type AccessAnalyzer struct {
    *client.Client
}

AccessAnalyzer provides the API operation methods for making requests to Access Analyzer. See this package's package overview docs for details on the service.

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

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *AccessAnalyzer

New creates a new instance of the AccessAnalyzer client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a AccessAnalyzer client from just a session.
svc := accessanalyzer.New(mySession)

// Create a AccessAnalyzer client with additional configuration
svc := accessanalyzer.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*AccessAnalyzer) CreateAnalyzer Uses

func (c *AccessAnalyzer) CreateAnalyzer(input *CreateAnalyzerInput) (*CreateAnalyzerOutput, error)

CreateAnalyzer API operation for Access Analyzer.

Creates an analyzer for your account.

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

See the AWS API reference guide for Access Analyzer's API operation CreateAnalyzer for usage and error information.

Returned Error Types:

* ConflictException
A conflict exception error.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ServiceQuotaExceededException
Service quote met error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateAnalyzer

func (*AccessAnalyzer) CreateAnalyzerRequest Uses

func (c *AccessAnalyzer) CreateAnalyzerRequest(input *CreateAnalyzerInput) (req *request.Request, output *CreateAnalyzerOutput)

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

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

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

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

// Example sending a request using the CreateAnalyzerRequest method.
req, resp := client.CreateAnalyzerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateAnalyzer

func (*AccessAnalyzer) CreateAnalyzerWithContext Uses

func (c *AccessAnalyzer) CreateAnalyzerWithContext(ctx aws.Context, input *CreateAnalyzerInput, opts ...request.Option) (*CreateAnalyzerOutput, error)

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

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

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

func (*AccessAnalyzer) CreateArchiveRule Uses

func (c *AccessAnalyzer) CreateArchiveRule(input *CreateArchiveRuleInput) (*CreateArchiveRuleOutput, error)

CreateArchiveRule API operation for Access Analyzer.

Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the criteria you define when you create the rule.

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

See the AWS API reference guide for Access Analyzer's API operation CreateArchiveRule for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ConflictException
A conflict exception error.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ServiceQuotaExceededException
Service quote met error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateArchiveRule

func (*AccessAnalyzer) CreateArchiveRuleRequest Uses

func (c *AccessAnalyzer) CreateArchiveRuleRequest(input *CreateArchiveRuleInput) (req *request.Request, output *CreateArchiveRuleOutput)

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

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

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

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

// Example sending a request using the CreateArchiveRuleRequest method.
req, resp := client.CreateArchiveRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateArchiveRule

func (*AccessAnalyzer) CreateArchiveRuleWithContext Uses

func (c *AccessAnalyzer) CreateArchiveRuleWithContext(ctx aws.Context, input *CreateArchiveRuleInput, opts ...request.Option) (*CreateArchiveRuleOutput, error)

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

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

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

func (*AccessAnalyzer) DeleteAnalyzer Uses

func (c *AccessAnalyzer) DeleteAnalyzer(input *DeleteAnalyzerInput) (*DeleteAnalyzerOutput, error)

DeleteAnalyzer API operation for Access Analyzer.

Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the account in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action.

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

See the AWS API reference guide for Access Analyzer's API operation DeleteAnalyzer for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteAnalyzer

func (*AccessAnalyzer) DeleteAnalyzerRequest Uses

func (c *AccessAnalyzer) DeleteAnalyzerRequest(input *DeleteAnalyzerInput) (req *request.Request, output *DeleteAnalyzerOutput)

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

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

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

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

// Example sending a request using the DeleteAnalyzerRequest method.
req, resp := client.DeleteAnalyzerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteAnalyzer

func (*AccessAnalyzer) DeleteAnalyzerWithContext Uses

func (c *AccessAnalyzer) DeleteAnalyzerWithContext(ctx aws.Context, input *DeleteAnalyzerInput, opts ...request.Option) (*DeleteAnalyzerOutput, error)

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

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

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

func (*AccessAnalyzer) DeleteArchiveRule Uses

func (c *AccessAnalyzer) DeleteArchiveRule(input *DeleteArchiveRuleInput) (*DeleteArchiveRuleOutput, error)

DeleteArchiveRule API operation for Access Analyzer.

Deletes the specified archive rule.

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

See the AWS API reference guide for Access Analyzer's API operation DeleteArchiveRule for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteArchiveRule

func (*AccessAnalyzer) DeleteArchiveRuleRequest Uses

func (c *AccessAnalyzer) DeleteArchiveRuleRequest(input *DeleteArchiveRuleInput) (req *request.Request, output *DeleteArchiveRuleOutput)

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

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

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

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

// Example sending a request using the DeleteArchiveRuleRequest method.
req, resp := client.DeleteArchiveRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteArchiveRule

func (*AccessAnalyzer) DeleteArchiveRuleWithContext Uses

func (c *AccessAnalyzer) DeleteArchiveRuleWithContext(ctx aws.Context, input *DeleteArchiveRuleInput, opts ...request.Option) (*DeleteArchiveRuleOutput, error)

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

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

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

func (*AccessAnalyzer) GetAnalyzedResource Uses

func (c *AccessAnalyzer) GetAnalyzedResource(input *GetAnalyzedResourceInput) (*GetAnalyzedResourceOutput, error)

GetAnalyzedResource API operation for Access Analyzer.

Retrieves information about a resource that was analyzed.

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

See the AWS API reference guide for Access Analyzer's API operation GetAnalyzedResource for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzedResource

func (*AccessAnalyzer) GetAnalyzedResourceRequest Uses

func (c *AccessAnalyzer) GetAnalyzedResourceRequest(input *GetAnalyzedResourceInput) (req *request.Request, output *GetAnalyzedResourceOutput)

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

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

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

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

// Example sending a request using the GetAnalyzedResourceRequest method.
req, resp := client.GetAnalyzedResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzedResource

func (*AccessAnalyzer) GetAnalyzedResourceWithContext Uses

func (c *AccessAnalyzer) GetAnalyzedResourceWithContext(ctx aws.Context, input *GetAnalyzedResourceInput, opts ...request.Option) (*GetAnalyzedResourceOutput, error)

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

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

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

func (*AccessAnalyzer) GetAnalyzer Uses

func (c *AccessAnalyzer) GetAnalyzer(input *GetAnalyzerInput) (*GetAnalyzerOutput, error)

GetAnalyzer API operation for Access Analyzer.

Retrieves information about the specified analyzer.

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

See the AWS API reference guide for Access Analyzer's API operation GetAnalyzer for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzer

func (*AccessAnalyzer) GetAnalyzerRequest Uses

func (c *AccessAnalyzer) GetAnalyzerRequest(input *GetAnalyzerInput) (req *request.Request, output *GetAnalyzerOutput)

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

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

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

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

// Example sending a request using the GetAnalyzerRequest method.
req, resp := client.GetAnalyzerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzer

func (*AccessAnalyzer) GetAnalyzerWithContext Uses

func (c *AccessAnalyzer) GetAnalyzerWithContext(ctx aws.Context, input *GetAnalyzerInput, opts ...request.Option) (*GetAnalyzerOutput, error)

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

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

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

func (*AccessAnalyzer) GetArchiveRule Uses

func (c *AccessAnalyzer) GetArchiveRule(input *GetArchiveRuleInput) (*GetArchiveRuleOutput, error)

GetArchiveRule API operation for Access Analyzer.

Retrieves information about an archive rule.

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

See the AWS API reference guide for Access Analyzer's API operation GetArchiveRule for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetArchiveRule

func (*AccessAnalyzer) GetArchiveRuleRequest Uses

func (c *AccessAnalyzer) GetArchiveRuleRequest(input *GetArchiveRuleInput) (req *request.Request, output *GetArchiveRuleOutput)

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

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

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

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

// Example sending a request using the GetArchiveRuleRequest method.
req, resp := client.GetArchiveRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetArchiveRule

func (*AccessAnalyzer) GetArchiveRuleWithContext Uses

func (c *AccessAnalyzer) GetArchiveRuleWithContext(ctx aws.Context, input *GetArchiveRuleInput, opts ...request.Option) (*GetArchiveRuleOutput, error)

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

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

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

func (*AccessAnalyzer) GetFinding Uses

func (c *AccessAnalyzer) GetFinding(input *GetFindingInput) (*GetFindingOutput, error)

GetFinding API operation for Access Analyzer.

Retrieves information about the specified finding.

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

See the AWS API reference guide for Access Analyzer's API operation GetFinding for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetFinding

func (*AccessAnalyzer) GetFindingRequest Uses

func (c *AccessAnalyzer) GetFindingRequest(input *GetFindingInput) (req *request.Request, output *GetFindingOutput)

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

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

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

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

// Example sending a request using the GetFindingRequest method.
req, resp := client.GetFindingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetFinding

func (*AccessAnalyzer) GetFindingWithContext Uses

func (c *AccessAnalyzer) GetFindingWithContext(ctx aws.Context, input *GetFindingInput, opts ...request.Option) (*GetFindingOutput, error)

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

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

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

func (*AccessAnalyzer) ListAnalyzedResources Uses

func (c *AccessAnalyzer) ListAnalyzedResources(input *ListAnalyzedResourcesInput) (*ListAnalyzedResourcesOutput, error)

ListAnalyzedResources API operation for Access Analyzer.

Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..

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

See the AWS API reference guide for Access Analyzer's API operation ListAnalyzedResources for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzedResources

func (*AccessAnalyzer) ListAnalyzedResourcesPages Uses

func (c *AccessAnalyzer) ListAnalyzedResourcesPages(input *ListAnalyzedResourcesInput, fn func(*ListAnalyzedResourcesOutput, bool) bool) error

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

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

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

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

func (*AccessAnalyzer) ListAnalyzedResourcesPagesWithContext Uses

func (c *AccessAnalyzer) ListAnalyzedResourcesPagesWithContext(ctx aws.Context, input *ListAnalyzedResourcesInput, fn func(*ListAnalyzedResourcesOutput, bool) bool, opts ...request.Option) error

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

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

func (*AccessAnalyzer) ListAnalyzedResourcesRequest Uses

func (c *AccessAnalyzer) ListAnalyzedResourcesRequest(input *ListAnalyzedResourcesInput) (req *request.Request, output *ListAnalyzedResourcesOutput)

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

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

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

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

// Example sending a request using the ListAnalyzedResourcesRequest method.
req, resp := client.ListAnalyzedResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzedResources

func (*AccessAnalyzer) ListAnalyzedResourcesWithContext Uses

func (c *AccessAnalyzer) ListAnalyzedResourcesWithContext(ctx aws.Context, input *ListAnalyzedResourcesInput, opts ...request.Option) (*ListAnalyzedResourcesOutput, error)

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

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

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

func (*AccessAnalyzer) ListAnalyzers Uses

func (c *AccessAnalyzer) ListAnalyzers(input *ListAnalyzersInput) (*ListAnalyzersOutput, error)

ListAnalyzers API operation for Access Analyzer.

Retrieves a list of analyzers.

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

See the AWS API reference guide for Access Analyzer's API operation ListAnalyzers for usage and error information.

Returned Error Types:

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzers

func (*AccessAnalyzer) ListAnalyzersPages Uses

func (c *AccessAnalyzer) ListAnalyzersPages(input *ListAnalyzersInput, fn func(*ListAnalyzersOutput, bool) bool) error

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

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

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

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

func (*AccessAnalyzer) ListAnalyzersPagesWithContext Uses

func (c *AccessAnalyzer) ListAnalyzersPagesWithContext(ctx aws.Context, input *ListAnalyzersInput, fn func(*ListAnalyzersOutput, bool) bool, opts ...request.Option) error

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

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

func (*AccessAnalyzer) ListAnalyzersRequest Uses

func (c *AccessAnalyzer) ListAnalyzersRequest(input *ListAnalyzersInput) (req *request.Request, output *ListAnalyzersOutput)

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

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

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

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

// Example sending a request using the ListAnalyzersRequest method.
req, resp := client.ListAnalyzersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzers

func (*AccessAnalyzer) ListAnalyzersWithContext Uses

func (c *AccessAnalyzer) ListAnalyzersWithContext(ctx aws.Context, input *ListAnalyzersInput, opts ...request.Option) (*ListAnalyzersOutput, error)

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

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

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

func (*AccessAnalyzer) ListArchiveRules Uses

func (c *AccessAnalyzer) ListArchiveRules(input *ListArchiveRulesInput) (*ListArchiveRulesOutput, error)

ListArchiveRules API operation for Access Analyzer.

Retrieves a list of archive rules created for the specified analyzer.

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

See the AWS API reference guide for Access Analyzer's API operation ListArchiveRules for usage and error information.

Returned Error Types:

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListArchiveRules

func (*AccessAnalyzer) ListArchiveRulesPages Uses

func (c *AccessAnalyzer) ListArchiveRulesPages(input *ListArchiveRulesInput, fn func(*ListArchiveRulesOutput, bool) bool) error

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

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

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

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

func (*AccessAnalyzer) ListArchiveRulesPagesWithContext Uses

func (c *AccessAnalyzer) ListArchiveRulesPagesWithContext(ctx aws.Context, input *ListArchiveRulesInput, fn func(*ListArchiveRulesOutput, bool) bool, opts ...request.Option) error

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

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

func (*AccessAnalyzer) ListArchiveRulesRequest Uses

func (c *AccessAnalyzer) ListArchiveRulesRequest(input *ListArchiveRulesInput) (req *request.Request, output *ListArchiveRulesOutput)

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

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

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

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

// Example sending a request using the ListArchiveRulesRequest method.
req, resp := client.ListArchiveRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListArchiveRules

func (*AccessAnalyzer) ListArchiveRulesWithContext Uses

func (c *AccessAnalyzer) ListArchiveRulesWithContext(ctx aws.Context, input *ListArchiveRulesInput, opts ...request.Option) (*ListArchiveRulesOutput, error)

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

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

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

func (*AccessAnalyzer) ListFindings Uses

func (c *AccessAnalyzer) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)

ListFindings API operation for Access Analyzer.

Retrieves a list of findings generated by the specified analyzer.

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

See the AWS API reference guide for Access Analyzer's API operation ListFindings for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListFindings

func (*AccessAnalyzer) ListFindingsPages Uses

func (c *AccessAnalyzer) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error

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

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

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

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

func (*AccessAnalyzer) ListFindingsPagesWithContext Uses

func (c *AccessAnalyzer) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error

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

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

func (*AccessAnalyzer) ListFindingsRequest Uses

func (c *AccessAnalyzer) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)

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

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

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

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

// Example sending a request using the ListFindingsRequest method.
req, resp := client.ListFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListFindings

func (*AccessAnalyzer) ListFindingsWithContext Uses

func (c *AccessAnalyzer) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)

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

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

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

func (*AccessAnalyzer) ListTagsForResource Uses

func (c *AccessAnalyzer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Access Analyzer.

Retrieves a list of tags applied to the specified resource.

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

See the AWS API reference guide for Access Analyzer's API operation ListTagsForResource for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListTagsForResource

func (*AccessAnalyzer) ListTagsForResourceRequest Uses

func (c *AccessAnalyzer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

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

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

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListTagsForResource

func (*AccessAnalyzer) ListTagsForResourceWithContext Uses

func (c *AccessAnalyzer) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

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

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

func (*AccessAnalyzer) StartResourceScan Uses

func (c *AccessAnalyzer) StartResourceScan(input *StartResourceScanInput) (*StartResourceScanOutput, error)

StartResourceScan API operation for Access Analyzer.

Immediately starts a scan of the policies applied to the specified resource.

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

See the AWS API reference guide for Access Analyzer's API operation StartResourceScan for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartResourceScan

func (*AccessAnalyzer) StartResourceScanRequest Uses

func (c *AccessAnalyzer) StartResourceScanRequest(input *StartResourceScanInput) (req *request.Request, output *StartResourceScanOutput)

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

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

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

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

// Example sending a request using the StartResourceScanRequest method.
req, resp := client.StartResourceScanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartResourceScan

func (*AccessAnalyzer) StartResourceScanWithContext Uses

func (c *AccessAnalyzer) StartResourceScanWithContext(ctx aws.Context, input *StartResourceScanInput, opts ...request.Option) (*StartResourceScanOutput, error)

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

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

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

func (*AccessAnalyzer) TagResource Uses

func (c *AccessAnalyzer) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Access Analyzer.

Adds a tag to the specified resource.

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

See the AWS API reference guide for Access Analyzer's API operation TagResource for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/TagResource

func (*AccessAnalyzer) TagResourceRequest Uses

func (c *AccessAnalyzer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/TagResource

func (*AccessAnalyzer) TagResourceWithContext Uses

func (c *AccessAnalyzer) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

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

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

func (*AccessAnalyzer) UntagResource Uses

func (c *AccessAnalyzer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Access Analyzer.

Removes a tag from the specified resource.

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

See the AWS API reference guide for Access Analyzer's API operation UntagResource for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UntagResource

func (*AccessAnalyzer) UntagResourceRequest Uses

func (c *AccessAnalyzer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

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

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

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UntagResource

func (*AccessAnalyzer) UntagResourceWithContext Uses

func (c *AccessAnalyzer) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

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

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

func (*AccessAnalyzer) UpdateArchiveRule Uses

func (c *AccessAnalyzer) UpdateArchiveRule(input *UpdateArchiveRuleInput) (*UpdateArchiveRuleOutput, error)

UpdateArchiveRule API operation for Access Analyzer.

Updates the criteria and values for the specified archive rule.

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

See the AWS API reference guide for Access Analyzer's API operation UpdateArchiveRule for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateArchiveRule

func (*AccessAnalyzer) UpdateArchiveRuleRequest Uses

func (c *AccessAnalyzer) UpdateArchiveRuleRequest(input *UpdateArchiveRuleInput) (req *request.Request, output *UpdateArchiveRuleOutput)

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

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

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

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

// Example sending a request using the UpdateArchiveRuleRequest method.
req, resp := client.UpdateArchiveRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateArchiveRule

func (*AccessAnalyzer) UpdateArchiveRuleWithContext Uses

func (c *AccessAnalyzer) UpdateArchiveRuleWithContext(ctx aws.Context, input *UpdateArchiveRuleInput, opts ...request.Option) (*UpdateArchiveRuleOutput, error)

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

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

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

func (*AccessAnalyzer) UpdateFindings Uses

func (c *AccessAnalyzer) UpdateFindings(input *UpdateFindingsInput) (*UpdateFindingsOutput, error)

UpdateFindings API operation for Access Analyzer.

Updates the status for the specified findings.

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

See the AWS API reference guide for Access Analyzer's API operation UpdateFindings for usage and error information.

Returned Error Types:

* ResourceNotFoundException
The specified resource could not be found.

* ValidationException
Validation exception error.

* InternalServerException
Internal server error.

* ThrottlingException
Throttling limit exceeded error.

* AccessDeniedException
You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateFindings

func (*AccessAnalyzer) UpdateFindingsRequest Uses

func (c *AccessAnalyzer) UpdateFindingsRequest(input *UpdateFindingsInput) (req *request.Request, output *UpdateFindingsOutput)

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

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

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

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

// Example sending a request using the UpdateFindingsRequest method.
req, resp := client.UpdateFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateFindings

func (*AccessAnalyzer) UpdateFindingsWithContext Uses

func (c *AccessAnalyzer) UpdateFindingsWithContext(ctx aws.Context, input *UpdateFindingsInput, opts ...request.Option) (*UpdateFindingsOutput, error)

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

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

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

type AccessDeniedException Uses

type AccessDeniedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code Uses

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error Uses

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString Uses

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message Uses

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr Uses

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID Uses

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode Uses

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String Uses

func (s AccessDeniedException) String() string

String returns the string representation

type AnalyzedResource Uses

type AnalyzedResource struct {

    // The actions that an external principal is granted permission to use by the
    // policy that generated the finding.
    Actions []*string `locationName:"actions" type:"list"`

    // The time at which the resource was analyzed.
    //
    // AnalyzedAt is a required field
    AnalyzedAt *time.Time `locationName:"analyzedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The time at which the finding was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // An error message.
    Error *string `locationName:"error" type:"string"`

    // Indicates whether the policy that generated the finding grants public access
    // to the resource.
    //
    // IsPublic is a required field
    IsPublic *bool `locationName:"isPublic" type:"boolean" required:"true"`

    // The ARN of the resource that was analyzed.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

    // The AWS account ID that owns the resource.
    //
    // ResourceOwnerAccount is a required field
    ResourceOwnerAccount *string `locationName:"resourceOwnerAccount" type:"string" required:"true"`

    // The type of the resource that was analyzed.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

    // Indicates how the access that generated the finding is granted.
    SharedVia []*string `locationName:"sharedVia" type:"list"`

    // The current status of the finding generated from the analyzed resource.
    Status *string `locationName:"status" type:"string" enum:"FindingStatus"`

    // The time at which the finding was updated.
    //
    // UpdatedAt is a required field
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
    // contains filtered or unexported fields
}

Contains details about the analyzed resource.

func (AnalyzedResource) GoString Uses

func (s AnalyzedResource) GoString() string

GoString returns the string representation

func (*AnalyzedResource) SetActions Uses

func (s *AnalyzedResource) SetActions(v []*string) *AnalyzedResource

SetActions sets the Actions field's value.

func (*AnalyzedResource) SetAnalyzedAt Uses

func (s *AnalyzedResource) SetAnalyzedAt(v time.Time) *AnalyzedResource

SetAnalyzedAt sets the AnalyzedAt field's value.

func (*AnalyzedResource) SetCreatedAt Uses

func (s *AnalyzedResource) SetCreatedAt(v time.Time) *AnalyzedResource

SetCreatedAt sets the CreatedAt field's value.

func (*AnalyzedResource) SetError Uses

func (s *AnalyzedResource) SetError(v string) *AnalyzedResource

SetError sets the Error field's value.

func (*AnalyzedResource) SetIsPublic Uses

func (s *AnalyzedResource) SetIsPublic(v bool) *AnalyzedResource

SetIsPublic sets the IsPublic field's value.

func (*AnalyzedResource) SetResourceArn Uses

func (s *AnalyzedResource) SetResourceArn(v string) *AnalyzedResource

SetResourceArn sets the ResourceArn field's value.

func (*AnalyzedResource) SetResourceOwnerAccount Uses

func (s *AnalyzedResource) SetResourceOwnerAccount(v string) *AnalyzedResource

SetResourceOwnerAccount sets the ResourceOwnerAccount field's value.

func (*AnalyzedResource) SetResourceType Uses

func (s *AnalyzedResource) SetResourceType(v string) *AnalyzedResource

SetResourceType sets the ResourceType field's value.

func (*AnalyzedResource) SetSharedVia Uses

func (s *AnalyzedResource) SetSharedVia(v []*string) *AnalyzedResource

SetSharedVia sets the SharedVia field's value.

func (*AnalyzedResource) SetStatus Uses

func (s *AnalyzedResource) SetStatus(v string) *AnalyzedResource

SetStatus sets the Status field's value.

func (*AnalyzedResource) SetUpdatedAt Uses

func (s *AnalyzedResource) SetUpdatedAt(v time.Time) *AnalyzedResource

SetUpdatedAt sets the UpdatedAt field's value.

func (AnalyzedResource) String Uses

func (s AnalyzedResource) String() string

String returns the string representation

type AnalyzedResourceSummary Uses

type AnalyzedResourceSummary struct {

    // The ARN of the analyzed resource.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

    // The AWS account ID that owns the resource.
    //
    // ResourceOwnerAccount is a required field
    ResourceOwnerAccount *string `locationName:"resourceOwnerAccount" type:"string" required:"true"`

    // The type of resource that was analyzed.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Contains the ARN of the analyzed resource.

func (AnalyzedResourceSummary) GoString Uses

func (s AnalyzedResourceSummary) GoString() string

GoString returns the string representation

func (*AnalyzedResourceSummary) SetResourceArn Uses

func (s *AnalyzedResourceSummary) SetResourceArn(v string) *AnalyzedResourceSummary

SetResourceArn sets the ResourceArn field's value.

func (*AnalyzedResourceSummary) SetResourceOwnerAccount Uses

func (s *AnalyzedResourceSummary) SetResourceOwnerAccount(v string) *AnalyzedResourceSummary

SetResourceOwnerAccount sets the ResourceOwnerAccount field's value.

func (*AnalyzedResourceSummary) SetResourceType Uses

func (s *AnalyzedResourceSummary) SetResourceType(v string) *AnalyzedResourceSummary

SetResourceType sets the ResourceType field's value.

func (AnalyzedResourceSummary) String Uses

func (s AnalyzedResourceSummary) String() string

String returns the string representation

type AnalyzerSummary Uses

type AnalyzerSummary struct {

    // The ARN of the analyzer.
    //
    // Arn is a required field
    Arn *string `locationName:"arn" type:"string" required:"true"`

    // A timestamp for the time at which the analyzer was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The resource that was most recently analyzed by the analyzer.
    LastResourceAnalyzed *string `locationName:"lastResourceAnalyzed" type:"string"`

    // The time at which the most recently analyzed resource was analyzed.
    LastResourceAnalyzedAt *time.Time `locationName:"lastResourceAnalyzedAt" type:"timestamp" timestampFormat:"iso8601"`

    // The name of the analyzer.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The status of the analyzer. An Active analyzer successfully monitors supported
    // resources and generates new findings. The analyzer is Disabled when a user
    // action, such as removing trusted access for IAM Access Analyzer from AWS
    // Organizations, causes the analyzer to stop generating new findings. The status
    // is Creating when the analyzer creation is in progress and Failed when the
    // analyzer creation has failed.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"AnalyzerStatus"`

    // The statusReason provides more details about the current status of the analyzer.
    // For example, if the creation for the analyzer fails, a Failed status is displayed.
    // For an analyzer with organization as the type, this failure can be due to
    // an issue with creating the service-linked roles required in the member accounts
    // of the AWS organization.
    StatusReason *StatusReason `locationName:"statusReason" type:"structure"`

    // The tags added to the analyzer.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The type of analyzer, which corresponds to the zone of trust chosen for the
    // analyzer.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"Type"`
    // contains filtered or unexported fields
}

Contains information about the analyzer.

func (AnalyzerSummary) GoString Uses

func (s AnalyzerSummary) GoString() string

GoString returns the string representation

func (*AnalyzerSummary) SetArn Uses

func (s *AnalyzerSummary) SetArn(v string) *AnalyzerSummary

SetArn sets the Arn field's value.

func (*AnalyzerSummary) SetCreatedAt Uses

func (s *AnalyzerSummary) SetCreatedAt(v time.Time) *AnalyzerSummary

SetCreatedAt sets the CreatedAt field's value.

func (*AnalyzerSummary) SetLastResourceAnalyzed Uses

func (s *AnalyzerSummary) SetLastResourceAnalyzed(v string) *AnalyzerSummary

SetLastResourceAnalyzed sets the LastResourceAnalyzed field's value.

func (*AnalyzerSummary) SetLastResourceAnalyzedAt Uses

func (s *AnalyzerSummary) SetLastResourceAnalyzedAt(v time.Time) *AnalyzerSummary

SetLastResourceAnalyzedAt sets the LastResourceAnalyzedAt field's value.

func (*AnalyzerSummary) SetName Uses

func (s *AnalyzerSummary) SetName(v string) *AnalyzerSummary

SetName sets the Name field's value.

func (*AnalyzerSummary) SetStatus Uses

func (s *AnalyzerSummary) SetStatus(v string) *AnalyzerSummary

SetStatus sets the Status field's value.

func (*AnalyzerSummary) SetStatusReason Uses

func (s *AnalyzerSummary) SetStatusReason(v *StatusReason) *AnalyzerSummary

SetStatusReason sets the StatusReason field's value.

func (*AnalyzerSummary) SetTags Uses

func (s *AnalyzerSummary) SetTags(v map[string]*string) *AnalyzerSummary

SetTags sets the Tags field's value.

func (*AnalyzerSummary) SetType Uses

func (s *AnalyzerSummary) SetType(v string) *AnalyzerSummary

SetType sets the Type field's value.

func (AnalyzerSummary) String Uses

func (s AnalyzerSummary) String() string

String returns the string representation

type ArchiveRuleSummary Uses

type ArchiveRuleSummary struct {

    // The time at which the archive rule was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // A filter used to define the archive rule.
    //
    // Filter is a required field
    Filter map[string]*Criterion `locationName:"filter" type:"map" required:"true"`

    // The name of the archive rule.
    //
    // RuleName is a required field
    RuleName *string `locationName:"ruleName" min:"1" type:"string" required:"true"`

    // The time at which the archive rule was last updated.
    //
    // UpdatedAt is a required field
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
    // contains filtered or unexported fields
}

Contains information about an archive rule.

func (ArchiveRuleSummary) GoString Uses

func (s ArchiveRuleSummary) GoString() string

GoString returns the string representation

func (*ArchiveRuleSummary) SetCreatedAt Uses

func (s *ArchiveRuleSummary) SetCreatedAt(v time.Time) *ArchiveRuleSummary

SetCreatedAt sets the CreatedAt field's value.

func (*ArchiveRuleSummary) SetFilter Uses

func (s *ArchiveRuleSummary) SetFilter(v map[string]*Criterion) *ArchiveRuleSummary

SetFilter sets the Filter field's value.

func (*ArchiveRuleSummary) SetRuleName Uses

func (s *ArchiveRuleSummary) SetRuleName(v string) *ArchiveRuleSummary

SetRuleName sets the RuleName field's value.

func (*ArchiveRuleSummary) SetUpdatedAt Uses

func (s *ArchiveRuleSummary) SetUpdatedAt(v time.Time) *ArchiveRuleSummary

SetUpdatedAt sets the UpdatedAt field's value.

func (ArchiveRuleSummary) String Uses

func (s ArchiveRuleSummary) String() string

String returns the string representation

type ConflictException Uses

type ConflictException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    // The ID of the resource.
    //
    // ResourceId is a required field
    ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

    // The resource type.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A conflict exception error.

func (*ConflictException) Code Uses

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error Uses

func (s *ConflictException) Error() string

func (ConflictException) GoString Uses

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message Uses

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr Uses

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID Uses

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode Uses

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String Uses

func (s ConflictException) String() string

String returns the string representation

type CreateAnalyzerInput Uses

type CreateAnalyzerInput struct {

    // The name of the analyzer to create.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // Specifies the archive rules to add for the analyzer. Archive rules automatically
    // archive findings that meet the criteria you define for the rule.
    ArchiveRules []*InlineArchiveRule `locationName:"archiveRules" type:"list"`

    // A client token.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The tags to apply to the analyzer.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The type of analyzer to create. Only ACCOUNT analyzers are supported. You
    // can create only one analyzer per account per Region.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"Type"`
    // contains filtered or unexported fields
}

Creates an analyzer.

func (CreateAnalyzerInput) GoString Uses

func (s CreateAnalyzerInput) GoString() string

GoString returns the string representation

func (*CreateAnalyzerInput) SetAnalyzerName Uses

func (s *CreateAnalyzerInput) SetAnalyzerName(v string) *CreateAnalyzerInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*CreateAnalyzerInput) SetArchiveRules Uses

func (s *CreateAnalyzerInput) SetArchiveRules(v []*InlineArchiveRule) *CreateAnalyzerInput

SetArchiveRules sets the ArchiveRules field's value.

func (*CreateAnalyzerInput) SetClientToken Uses

func (s *CreateAnalyzerInput) SetClientToken(v string) *CreateAnalyzerInput

SetClientToken sets the ClientToken field's value.

func (*CreateAnalyzerInput) SetTags Uses

func (s *CreateAnalyzerInput) SetTags(v map[string]*string) *CreateAnalyzerInput

SetTags sets the Tags field's value.

func (*CreateAnalyzerInput) SetType Uses

func (s *CreateAnalyzerInput) SetType(v string) *CreateAnalyzerInput

SetType sets the Type field's value.

func (CreateAnalyzerInput) String Uses

func (s CreateAnalyzerInput) String() string

String returns the string representation

func (*CreateAnalyzerInput) Validate Uses

func (s *CreateAnalyzerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAnalyzerOutput Uses

type CreateAnalyzerOutput struct {

    // The ARN of the analyzer that was created by the request.
    Arn *string `locationName:"arn" type:"string"`
    // contains filtered or unexported fields
}

The response to the request to create an analyzer.

func (CreateAnalyzerOutput) GoString Uses

func (s CreateAnalyzerOutput) GoString() string

GoString returns the string representation

func (*CreateAnalyzerOutput) SetArn Uses

func (s *CreateAnalyzerOutput) SetArn(v string) *CreateAnalyzerOutput

SetArn sets the Arn field's value.

func (CreateAnalyzerOutput) String Uses

func (s CreateAnalyzerOutput) String() string

String returns the string representation

type CreateArchiveRuleInput Uses

type CreateArchiveRuleInput struct {

    // The name of the created analyzer.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // A client token.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The criteria for the rule.
    //
    // Filter is a required field
    Filter map[string]*Criterion `locationName:"filter" type:"map" required:"true"`

    // The name of the rule to create.
    //
    // RuleName is a required field
    RuleName *string `locationName:"ruleName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Creates an archive rule.

func (CreateArchiveRuleInput) GoString Uses

func (s CreateArchiveRuleInput) GoString() string

GoString returns the string representation

func (*CreateArchiveRuleInput) SetAnalyzerName Uses

func (s *CreateArchiveRuleInput) SetAnalyzerName(v string) *CreateArchiveRuleInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*CreateArchiveRuleInput) SetClientToken Uses

func (s *CreateArchiveRuleInput) SetClientToken(v string) *CreateArchiveRuleInput

SetClientToken sets the ClientToken field's value.

func (*CreateArchiveRuleInput) SetFilter Uses

func (s *CreateArchiveRuleInput) SetFilter(v map[string]*Criterion) *CreateArchiveRuleInput

SetFilter sets the Filter field's value.

func (*CreateArchiveRuleInput) SetRuleName Uses

func (s *CreateArchiveRuleInput) SetRuleName(v string) *CreateArchiveRuleInput

SetRuleName sets the RuleName field's value.

func (CreateArchiveRuleInput) String Uses

func (s CreateArchiveRuleInput) String() string

String returns the string representation

func (*CreateArchiveRuleInput) Validate Uses

func (s *CreateArchiveRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateArchiveRuleOutput Uses

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

func (CreateArchiveRuleOutput) GoString Uses

func (s CreateArchiveRuleOutput) GoString() string

GoString returns the string representation

func (CreateArchiveRuleOutput) String Uses

func (s CreateArchiveRuleOutput) String() string

String returns the string representation

type Criterion Uses

type Criterion struct {

    // A "contains" operator to match for the filter used to create the rule.
    Contains []*string `locationName:"contains" min:"1" type:"list"`

    // An "equals" operator to match for the filter used to create the rule.
    Eq  []*string `locationName:"eq" min:"1" type:"list"`

    // An "exists" operator to match for the filter used to create the rule.
    Exists *bool `locationName:"exists" type:"boolean"`

    // A "not equals" operator to match for the filter used to create the rule.
    Neq []*string `locationName:"neq" min:"1" type:"list"`
    // contains filtered or unexported fields
}

The criteria to use in the filter that defines the archive rule.

func (Criterion) GoString Uses

func (s Criterion) GoString() string

GoString returns the string representation

func (*Criterion) SetContains Uses

func (s *Criterion) SetContains(v []*string) *Criterion

SetContains sets the Contains field's value.

func (*Criterion) SetEq Uses

func (s *Criterion) SetEq(v []*string) *Criterion

SetEq sets the Eq field's value.

func (*Criterion) SetExists Uses

func (s *Criterion) SetExists(v bool) *Criterion

SetExists sets the Exists field's value.

func (*Criterion) SetNeq Uses

func (s *Criterion) SetNeq(v []*string) *Criterion

SetNeq sets the Neq field's value.

func (Criterion) String Uses

func (s Criterion) String() string

String returns the string representation

func (*Criterion) Validate Uses

func (s *Criterion) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAnalyzerInput Uses

type DeleteAnalyzerInput struct {

    // The name of the analyzer to delete.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // A client token.
    ClientToken *string `location:"querystring" locationName:"clientToken" type:"string" idempotencyToken:"true"`
    // contains filtered or unexported fields
}

Deletes an analyzer.

func (DeleteAnalyzerInput) GoString Uses

func (s DeleteAnalyzerInput) GoString() string

GoString returns the string representation

func (*DeleteAnalyzerInput) SetAnalyzerName Uses

func (s *DeleteAnalyzerInput) SetAnalyzerName(v string) *DeleteAnalyzerInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*DeleteAnalyzerInput) SetClientToken Uses

func (s *DeleteAnalyzerInput) SetClientToken(v string) *DeleteAnalyzerInput

SetClientToken sets the ClientToken field's value.

func (DeleteAnalyzerInput) String Uses

func (s DeleteAnalyzerInput) String() string

String returns the string representation

func (*DeleteAnalyzerInput) Validate Uses

func (s *DeleteAnalyzerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAnalyzerOutput Uses

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

func (DeleteAnalyzerOutput) GoString Uses

func (s DeleteAnalyzerOutput) GoString() string

GoString returns the string representation

func (DeleteAnalyzerOutput) String Uses

func (s DeleteAnalyzerOutput) String() string

String returns the string representation

type DeleteArchiveRuleInput Uses

type DeleteArchiveRuleInput struct {

    // The name of the analyzer that associated with the archive rule to delete.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // A client token.
    ClientToken *string `location:"querystring" locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The name of the rule to delete.
    //
    // RuleName is a required field
    RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Deletes an archive rule.

func (DeleteArchiveRuleInput) GoString Uses

func (s DeleteArchiveRuleInput) GoString() string

GoString returns the string representation

func (*DeleteArchiveRuleInput) SetAnalyzerName Uses

func (s *DeleteArchiveRuleInput) SetAnalyzerName(v string) *DeleteArchiveRuleInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*DeleteArchiveRuleInput) SetClientToken Uses

func (s *DeleteArchiveRuleInput) SetClientToken(v string) *DeleteArchiveRuleInput

SetClientToken sets the ClientToken field's value.

func (*DeleteArchiveRuleInput) SetRuleName Uses

func (s *DeleteArchiveRuleInput) SetRuleName(v string) *DeleteArchiveRuleInput

SetRuleName sets the RuleName field's value.

func (DeleteArchiveRuleInput) String Uses

func (s DeleteArchiveRuleInput) String() string

String returns the string representation

func (*DeleteArchiveRuleInput) Validate Uses

func (s *DeleteArchiveRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteArchiveRuleOutput Uses

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

func (DeleteArchiveRuleOutput) GoString Uses

func (s DeleteArchiveRuleOutput) GoString() string

GoString returns the string representation

func (DeleteArchiveRuleOutput) String Uses

func (s DeleteArchiveRuleOutput) String() string

String returns the string representation

type Finding Uses

type Finding struct {

    // The action in the analyzed policy statement that an external principal has
    // permission to use.
    Action []*string `locationName:"action" type:"list"`

    // The time at which the resource was analyzed.
    //
    // AnalyzedAt is a required field
    AnalyzedAt *time.Time `locationName:"analyzedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The condition in the analyzed policy statement that resulted in a finding.
    //
    // Condition is a required field
    Condition map[string]*string `locationName:"condition" type:"map" required:"true"`

    // The time at which the finding was generated.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // An error.
    Error *string `locationName:"error" type:"string"`

    // The ID of the finding.
    //
    // Id is a required field
    Id  *string `locationName:"id" type:"string" required:"true"`

    // Indicates whether the policy that generated the finding allows public access
    // to the resource.
    IsPublic *bool `locationName:"isPublic" type:"boolean"`

    // The external principal that access to a resource within the zone of trust.
    Principal map[string]*string `locationName:"principal" type:"map"`

    // The resource that an external principal has access to.
    Resource *string `locationName:"resource" type:"string"`

    // The AWS account ID that owns the resource.
    //
    // ResourceOwnerAccount is a required field
    ResourceOwnerAccount *string `locationName:"resourceOwnerAccount" type:"string" required:"true"`

    // The type of the resource reported in the finding.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

    // The current status of the finding.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"FindingStatus"`

    // The time at which the finding was updated.
    //
    // UpdatedAt is a required field
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
    // contains filtered or unexported fields
}

Contains information about a finding.

func (Finding) GoString Uses

func (s Finding) GoString() string

GoString returns the string representation

func (*Finding) SetAction Uses

func (s *Finding) SetAction(v []*string) *Finding

SetAction sets the Action field's value.

func (*Finding) SetAnalyzedAt Uses

func (s *Finding) SetAnalyzedAt(v time.Time) *Finding

SetAnalyzedAt sets the AnalyzedAt field's value.

func (*Finding) SetCondition Uses

func (s *Finding) SetCondition(v map[string]*string) *Finding

SetCondition sets the Condition field's value.

func (*Finding) SetCreatedAt Uses

func (s *Finding) SetCreatedAt(v time.Time) *Finding

SetCreatedAt sets the CreatedAt field's value.

func (*Finding) SetError Uses

func (s *Finding) SetError(v string) *Finding

SetError sets the Error field's value.

func (*Finding) SetId Uses

func (s *Finding) SetId(v string) *Finding

SetId sets the Id field's value.

func (*Finding) SetIsPublic Uses

func (s *Finding) SetIsPublic(v bool) *Finding

SetIsPublic sets the IsPublic field's value.

func (*Finding) SetPrincipal Uses

func (s *Finding) SetPrincipal(v map[string]*string) *Finding

SetPrincipal sets the Principal field's value.

func (*Finding) SetResource Uses

func (s *Finding) SetResource(v string) *Finding

SetResource sets the Resource field's value.

func (*Finding) SetResourceOwnerAccount Uses

func (s *Finding) SetResourceOwnerAccount(v string) *Finding

SetResourceOwnerAccount sets the ResourceOwnerAccount field's value.

func (*Finding) SetResourceType Uses

func (s *Finding) SetResourceType(v string) *Finding

SetResourceType sets the ResourceType field's value.

func (*Finding) SetStatus Uses

func (s *Finding) SetStatus(v string) *Finding

SetStatus sets the Status field's value.

func (*Finding) SetUpdatedAt Uses

func (s *Finding) SetUpdatedAt(v time.Time) *Finding

SetUpdatedAt sets the UpdatedAt field's value.

func (Finding) String Uses

func (s Finding) String() string

String returns the string representation

type FindingSummary Uses

type FindingSummary struct {

    // The action in the analyzed policy statement that an external principal has
    // permission to use.
    Action []*string `locationName:"action" type:"list"`

    // The time at which the resource-based policy that generated the finding was
    // analyzed.
    //
    // AnalyzedAt is a required field
    AnalyzedAt *time.Time `locationName:"analyzedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The condition in the analyzed policy statement that resulted in a finding.
    //
    // Condition is a required field
    Condition map[string]*string `locationName:"condition" type:"map" required:"true"`

    // The time at which the finding was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The error that resulted in an Error finding.
    Error *string `locationName:"error" type:"string"`

    // The ID of the finding.
    //
    // Id is a required field
    Id  *string `locationName:"id" type:"string" required:"true"`

    // Indicates whether the finding reports a resource that has a policy that allows
    // public access.
    IsPublic *bool `locationName:"isPublic" type:"boolean"`

    // The external principal that has access to a resource within the zone of trust.
    Principal map[string]*string `locationName:"principal" type:"map"`

    // The resource that the external principal has access to.
    Resource *string `locationName:"resource" type:"string"`

    // The AWS account ID that owns the resource.
    //
    // ResourceOwnerAccount is a required field
    ResourceOwnerAccount *string `locationName:"resourceOwnerAccount" type:"string" required:"true"`

    // The type of the resource that the external principal has access to.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"`

    // The status of the finding.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"FindingStatus"`

    // The time at which the finding was most recently updated.
    //
    // UpdatedAt is a required field
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
    // contains filtered or unexported fields
}

Contains information about a finding.

func (FindingSummary) GoString Uses

func (s FindingSummary) GoString() string

GoString returns the string representation

func (*FindingSummary) SetAction Uses

func (s *FindingSummary) SetAction(v []*string) *FindingSummary

SetAction sets the Action field's value.

func (*FindingSummary) SetAnalyzedAt Uses

func (s *FindingSummary) SetAnalyzedAt(v time.Time) *FindingSummary

SetAnalyzedAt sets the AnalyzedAt field's value.

func (*FindingSummary) SetCondition Uses

func (s *FindingSummary) SetCondition(v map[string]*string) *FindingSummary

SetCondition sets the Condition field's value.

func (*FindingSummary) SetCreatedAt Uses

func (s *FindingSummary) SetCreatedAt(v time.Time) *FindingSummary

SetCreatedAt sets the CreatedAt field's value.

func (*FindingSummary) SetError Uses

func (s *FindingSummary) SetError(v string) *FindingSummary

SetError sets the Error field's value.

func (*FindingSummary) SetId Uses

func (s *FindingSummary) SetId(v string) *FindingSummary

SetId sets the Id field's value.

func (*FindingSummary) SetIsPublic Uses

func (s *FindingSummary) SetIsPublic(v bool) *FindingSummary

SetIsPublic sets the IsPublic field's value.

func (*FindingSummary) SetPrincipal Uses

func (s *FindingSummary) SetPrincipal(v map[string]*string) *FindingSummary

SetPrincipal sets the Principal field's value.

func (*FindingSummary) SetResource Uses

func (s *FindingSummary) SetResource(v string) *FindingSummary

SetResource sets the Resource field's value.

func (*FindingSummary) SetResourceOwnerAccount Uses

func (s *FindingSummary) SetResourceOwnerAccount(v string) *FindingSummary

SetResourceOwnerAccount sets the ResourceOwnerAccount field's value.

func (*FindingSummary) SetResourceType Uses

func (s *FindingSummary) SetResourceType(v string) *FindingSummary

SetResourceType sets the ResourceType field's value.

func (*FindingSummary) SetStatus Uses

func (s *FindingSummary) SetStatus(v string) *FindingSummary

SetStatus sets the Status field's value.

func (*FindingSummary) SetUpdatedAt Uses

func (s *FindingSummary) SetUpdatedAt(v time.Time) *FindingSummary

SetUpdatedAt sets the UpdatedAt field's value.

func (FindingSummary) String Uses

func (s FindingSummary) String() string

String returns the string representation

type GetAnalyzedResourceInput Uses

type GetAnalyzedResourceInput struct {

    // The ARN of the analyzer to retrieve information from.
    //
    // AnalyzerArn is a required field
    AnalyzerArn *string `location:"querystring" locationName:"analyzerArn" type:"string" required:"true"`

    // The ARN of the resource to retrieve information about.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieves an analyzed resource.

func (GetAnalyzedResourceInput) GoString Uses

func (s GetAnalyzedResourceInput) GoString() string

GoString returns the string representation

func (*GetAnalyzedResourceInput) SetAnalyzerArn Uses

func (s *GetAnalyzedResourceInput) SetAnalyzerArn(v string) *GetAnalyzedResourceInput

SetAnalyzerArn sets the AnalyzerArn field's value.

func (*GetAnalyzedResourceInput) SetResourceArn Uses

func (s *GetAnalyzedResourceInput) SetResourceArn(v string) *GetAnalyzedResourceInput

SetResourceArn sets the ResourceArn field's value.

func (GetAnalyzedResourceInput) String Uses

func (s GetAnalyzedResourceInput) String() string

String returns the string representation

func (*GetAnalyzedResourceInput) Validate Uses

func (s *GetAnalyzedResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAnalyzedResourceOutput Uses

type GetAnalyzedResourceOutput struct {

    // An AnalyedResource object that contains information that Access Analyzer
    // found when it analyzed the resource.
    Resource *AnalyzedResource `locationName:"resource" type:"structure"`
    // contains filtered or unexported fields
}

The response to the request.

func (GetAnalyzedResourceOutput) GoString Uses

func (s GetAnalyzedResourceOutput) GoString() string

GoString returns the string representation

func (*GetAnalyzedResourceOutput) SetResource Uses

func (s *GetAnalyzedResourceOutput) SetResource(v *AnalyzedResource) *GetAnalyzedResourceOutput

SetResource sets the Resource field's value.

func (GetAnalyzedResourceOutput) String Uses

func (s GetAnalyzedResourceOutput) String() string

String returns the string representation

type GetAnalyzerInput Uses

type GetAnalyzerInput struct {

    // The name of the analyzer retrieved.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieves an analyzer.

func (GetAnalyzerInput) GoString Uses

func (s GetAnalyzerInput) GoString() string

GoString returns the string representation

func (*GetAnalyzerInput) SetAnalyzerName Uses

func (s *GetAnalyzerInput) SetAnalyzerName(v string) *GetAnalyzerInput

SetAnalyzerName sets the AnalyzerName field's value.

func (GetAnalyzerInput) String Uses

func (s GetAnalyzerInput) String() string

String returns the string representation

func (*GetAnalyzerInput) Validate Uses

func (s *GetAnalyzerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAnalyzerOutput Uses

type GetAnalyzerOutput struct {

    // An AnalyzerSummary object that contains information about the analyzer.
    //
    // Analyzer is a required field
    Analyzer *AnalyzerSummary `locationName:"analyzer" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

The response to the request.

func (GetAnalyzerOutput) GoString Uses

func (s GetAnalyzerOutput) GoString() string

GoString returns the string representation

func (*GetAnalyzerOutput) SetAnalyzer Uses

func (s *GetAnalyzerOutput) SetAnalyzer(v *AnalyzerSummary) *GetAnalyzerOutput

SetAnalyzer sets the Analyzer field's value.

func (GetAnalyzerOutput) String Uses

func (s GetAnalyzerOutput) String() string

String returns the string representation

type GetArchiveRuleInput Uses

type GetArchiveRuleInput struct {

    // The name of the analyzer to retrieve rules from.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // The name of the rule to retrieve.
    //
    // RuleName is a required field
    RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieves an archive rule.

func (GetArchiveRuleInput) GoString Uses

func (s GetArchiveRuleInput) GoString() string

GoString returns the string representation

func (*GetArchiveRuleInput) SetAnalyzerName Uses

func (s *GetArchiveRuleInput) SetAnalyzerName(v string) *GetArchiveRuleInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*GetArchiveRuleInput) SetRuleName Uses

func (s *GetArchiveRuleInput) SetRuleName(v string) *GetArchiveRuleInput

SetRuleName sets the RuleName field's value.

func (GetArchiveRuleInput) String Uses

func (s GetArchiveRuleInput) String() string

String returns the string representation

func (*GetArchiveRuleInput) Validate Uses

func (s *GetArchiveRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetArchiveRuleOutput Uses

type GetArchiveRuleOutput struct {

    // Contains information about an archive rule.
    //
    // ArchiveRule is a required field
    ArchiveRule *ArchiveRuleSummary `locationName:"archiveRule" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

The response to the request.

func (GetArchiveRuleOutput) GoString Uses

func (s GetArchiveRuleOutput) GoString() string

GoString returns the string representation

func (*GetArchiveRuleOutput) SetArchiveRule Uses

func (s *GetArchiveRuleOutput) SetArchiveRule(v *ArchiveRuleSummary) *GetArchiveRuleOutput

SetArchiveRule sets the ArchiveRule field's value.

func (GetArchiveRuleOutput) String Uses

func (s GetArchiveRuleOutput) String() string

String returns the string representation

type GetFindingInput Uses

type GetFindingInput struct {

    // The ARN of the analyzer that generated the finding.
    //
    // AnalyzerArn is a required field
    AnalyzerArn *string `location:"querystring" locationName:"analyzerArn" type:"string" required:"true"`

    // The ID of the finding to retrieve.
    //
    // Id is a required field
    Id  *string `location:"uri" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieves a finding.

func (GetFindingInput) GoString Uses

func (s GetFindingInput) GoString() string

GoString returns the string representation

func (*GetFindingInput) SetAnalyzerArn Uses

func (s *GetFindingInput) SetAnalyzerArn(v string) *GetFindingInput

SetAnalyzerArn sets the AnalyzerArn field's value.

func (*GetFindingInput) SetId Uses

func (s *GetFindingInput) SetId(v string) *GetFindingInput

SetId sets the Id field's value.

func (GetFindingInput) String Uses

func (s GetFindingInput) String() string

String returns the string representation

func (*GetFindingInput) Validate Uses

func (s *GetFindingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFindingOutput Uses

type GetFindingOutput struct {

    // A finding object that contains finding details.
    Finding *Finding `locationName:"finding" type:"structure"`
    // contains filtered or unexported fields
}

The response to the request.

func (GetFindingOutput) GoString Uses

func (s GetFindingOutput) GoString() string

GoString returns the string representation

func (*GetFindingOutput) SetFinding Uses

func (s *GetFindingOutput) SetFinding(v *Finding) *GetFindingOutput

SetFinding sets the Finding field's value.

func (GetFindingOutput) String Uses

func (s GetFindingOutput) String() string

String returns the string representation

type InlineArchiveRule Uses

type InlineArchiveRule struct {

    // The condition and values for a criterion.
    //
    // Filter is a required field
    Filter map[string]*Criterion `locationName:"filter" type:"map" required:"true"`

    // The name of the rule.
    //
    // RuleName is a required field
    RuleName *string `locationName:"ruleName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

An criterion statement in an archive rule. Each archive rule may have multiple criteria.

func (InlineArchiveRule) GoString Uses

func (s InlineArchiveRule) GoString() string

GoString returns the string representation

func (*InlineArchiveRule) SetFilter Uses

func (s *InlineArchiveRule) SetFilter(v map[string]*Criterion) *InlineArchiveRule

SetFilter sets the Filter field's value.

func (*InlineArchiveRule) SetRuleName Uses

func (s *InlineArchiveRule) SetRuleName(v string) *InlineArchiveRule

SetRuleName sets the RuleName field's value.

func (InlineArchiveRule) String Uses

func (s InlineArchiveRule) String() string

String returns the string representation

func (*InlineArchiveRule) Validate Uses

func (s *InlineArchiveRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InternalServerException Uses

type InternalServerException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    // The seconds to wait to retry.
    RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
    // contains filtered or unexported fields
}

Internal server error.

func (*InternalServerException) Code Uses

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error Uses

func (s *InternalServerException) Error() string

func (InternalServerException) GoString Uses

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message Uses

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr Uses

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID Uses

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode Uses

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String Uses

func (s InternalServerException) String() string

String returns the string representation

type ListAnalyzedResourcesInput Uses

type ListAnalyzedResourcesInput struct {

    // The ARN of the analyzer to retrieve a list of analyzed resources from.
    //
    // AnalyzerArn is a required field
    AnalyzerArn *string `locationName:"analyzerArn" type:"string" required:"true"`

    // The maximum number of results to return in the response.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // A token used for pagination of results returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The type of resource.
    ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Retrieves a list of resources that have been analyzed.

func (ListAnalyzedResourcesInput) GoString Uses

func (s ListAnalyzedResourcesInput) GoString() string

GoString returns the string representation

func (*ListAnalyzedResourcesInput) SetAnalyzerArn Uses

func (s *ListAnalyzedResourcesInput) SetAnalyzerArn(v string) *ListAnalyzedResourcesInput

SetAnalyzerArn sets the AnalyzerArn field's value.

func (*ListAnalyzedResourcesInput) SetMaxResults Uses

func (s *ListAnalyzedResourcesInput) SetMaxResults(v int64) *ListAnalyzedResourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListAnalyzedResourcesInput) SetNextToken Uses

func (s *ListAnalyzedResourcesInput) SetNextToken(v string) *ListAnalyzedResourcesInput

SetNextToken sets the NextToken field's value.

func (*ListAnalyzedResourcesInput) SetResourceType Uses

func (s *ListAnalyzedResourcesInput) SetResourceType(v string) *ListAnalyzedResourcesInput

SetResourceType sets the ResourceType field's value.

func (ListAnalyzedResourcesInput) String Uses

func (s ListAnalyzedResourcesInput) String() string

String returns the string representation

func (*ListAnalyzedResourcesInput) Validate Uses

func (s *ListAnalyzedResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAnalyzedResourcesOutput Uses

type ListAnalyzedResourcesOutput struct {

    // A list of resources that were analyzed.
    //
    // AnalyzedResources is a required field
    AnalyzedResources []*AnalyzedResourceSummary `locationName:"analyzedResources" type:"list" required:"true"`

    // A token used for pagination of results returned.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

The response to the request.

func (ListAnalyzedResourcesOutput) GoString Uses

func (s ListAnalyzedResourcesOutput) GoString() string

GoString returns the string representation

func (*ListAnalyzedResourcesOutput) SetAnalyzedResources Uses

func (s *ListAnalyzedResourcesOutput) SetAnalyzedResources(v []*AnalyzedResourceSummary) *ListAnalyzedResourcesOutput

SetAnalyzedResources sets the AnalyzedResources field's value.

func (*ListAnalyzedResourcesOutput) SetNextToken Uses

func (s *ListAnalyzedResourcesOutput) SetNextToken(v string) *ListAnalyzedResourcesOutput

SetNextToken sets the NextToken field's value.

func (ListAnalyzedResourcesOutput) String Uses

func (s ListAnalyzedResourcesOutput) String() string

String returns the string representation

type ListAnalyzersInput Uses

type ListAnalyzersInput struct {

    // The maximum number of results to return in the response.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

    // A token used for pagination of results returned.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

    // The type of analyzer.
    Type *string `location:"querystring" locationName:"type" type:"string" enum:"Type"`
    // contains filtered or unexported fields
}

Retrieves a list of analyzers.

func (ListAnalyzersInput) GoString Uses

func (s ListAnalyzersInput) GoString() string

GoString returns the string representation

func (*ListAnalyzersInput) SetMaxResults Uses

func (s *ListAnalyzersInput) SetMaxResults(v int64) *ListAnalyzersInput

SetMaxResults sets the MaxResults field's value.

func (*ListAnalyzersInput) SetNextToken Uses

func (s *ListAnalyzersInput) SetNextToken(v string) *ListAnalyzersInput

SetNextToken sets the NextToken field's value.

func (*ListAnalyzersInput) SetType Uses

func (s *ListAnalyzersInput) SetType(v string) *ListAnalyzersInput

SetType sets the Type field's value.

func (ListAnalyzersInput) String Uses

func (s ListAnalyzersInput) String() string

String returns the string representation

type ListAnalyzersOutput Uses

type ListAnalyzersOutput struct {

    // The analyzers retrieved.
    //
    // Analyzers is a required field
    Analyzers []*AnalyzerSummary `locationName:"analyzers" type:"list" required:"true"`

    // A token used for pagination of results returned.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

The response to the request.

func (ListAnalyzersOutput) GoString Uses

func (s ListAnalyzersOutput) GoString() string

GoString returns the string representation

func (*ListAnalyzersOutput) SetAnalyzers Uses

func (s *ListAnalyzersOutput) SetAnalyzers(v []*AnalyzerSummary) *ListAnalyzersOutput

SetAnalyzers sets the Analyzers field's value.

func (*ListAnalyzersOutput) SetNextToken Uses

func (s *ListAnalyzersOutput) SetNextToken(v string) *ListAnalyzersOutput

SetNextToken sets the NextToken field's value.

func (ListAnalyzersOutput) String Uses

func (s ListAnalyzersOutput) String() string

String returns the string representation

type ListArchiveRulesInput Uses

type ListArchiveRulesInput struct {

    // The name of the analyzer to retrieve rules from.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // The maximum number of results to return in the request.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

    // A token used for pagination of results returned.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

Retrieves a list of archive rules created for the specified analyzer.

func (ListArchiveRulesInput) GoString Uses

func (s ListArchiveRulesInput) GoString() string

GoString returns the string representation

func (*ListArchiveRulesInput) SetAnalyzerName Uses

func (s *ListArchiveRulesInput) SetAnalyzerName(v string) *ListArchiveRulesInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*ListArchiveRulesInput) SetMaxResults Uses

func (s *ListArchiveRulesInput) SetMaxResults(v int64) *ListArchiveRulesInput

SetMaxResults sets the MaxResults field's value.

func (*ListArchiveRulesInput) SetNextToken Uses

func (s *ListArchiveRulesInput) SetNextToken(v string) *ListArchiveRulesInput

SetNextToken sets the NextToken field's value.

func (ListArchiveRulesInput) String Uses

func (s ListArchiveRulesInput) String() string

String returns the string representation

func (*ListArchiveRulesInput) Validate Uses

func (s *ListArchiveRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListArchiveRulesOutput Uses

type ListArchiveRulesOutput struct {

    // A list of archive rules created for the specified analyzer.
    //
    // ArchiveRules is a required field
    ArchiveRules []*ArchiveRuleSummary `locationName:"archiveRules" type:"list" required:"true"`

    // A token used for pagination of results returned.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

The response to the request.

func (ListArchiveRulesOutput) GoString Uses

func (s ListArchiveRulesOutput) GoString() string

GoString returns the string representation

func (*ListArchiveRulesOutput) SetArchiveRules Uses

func (s *ListArchiveRulesOutput) SetArchiveRules(v []*ArchiveRuleSummary) *ListArchiveRulesOutput

SetArchiveRules sets the ArchiveRules field's value.

func (*ListArchiveRulesOutput) SetNextToken Uses

func (s *ListArchiveRulesOutput) SetNextToken(v string) *ListArchiveRulesOutput

SetNextToken sets the NextToken field's value.

func (ListArchiveRulesOutput) String Uses

func (s ListArchiveRulesOutput) String() string

String returns the string representation

type ListFindingsInput Uses

type ListFindingsInput struct {

    // The ARN of the analyzer to retrieve findings from.
    //
    // AnalyzerArn is a required field
    AnalyzerArn *string `locationName:"analyzerArn" type:"string" required:"true"`

    // A filter to match for the findings to return.
    Filter map[string]*Criterion `locationName:"filter" type:"map"`

    // The maximum number of results to return in the response.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // A token used for pagination of results returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The sort order for the findings returned.
    Sort *SortCriteria `locationName:"sort" type:"structure"`
    // contains filtered or unexported fields
}

Retrieves a list of findings generated by the specified analyzer.

func (ListFindingsInput) GoString Uses

func (s ListFindingsInput) GoString() string

GoString returns the string representation

func (*ListFindingsInput) SetAnalyzerArn Uses

func (s *ListFindingsInput) SetAnalyzerArn(v string) *ListFindingsInput

SetAnalyzerArn sets the AnalyzerArn field's value.

func (*ListFindingsInput) SetFilter Uses

func (s *ListFindingsInput) SetFilter(v map[string]*Criterion) *ListFindingsInput

SetFilter sets the Filter field's value.

func (*ListFindingsInput) SetMaxResults Uses

func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsInput) SetNextToken Uses

func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput

SetNextToken sets the NextToken field's value.

func (*ListFindingsInput) SetSort Uses

func (s *ListFindingsInput) SetSort(v *SortCriteria) *ListFindingsInput

SetSort sets the Sort field's value.

func (ListFindingsInput) String Uses

func (s ListFindingsInput) String() string

String returns the string representation

func (*ListFindingsInput) Validate Uses

func (s *ListFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFindingsOutput Uses

type ListFindingsOutput struct {

    // A list of findings retrieved from the analyzer that match the filter criteria
    // specified, if any.
    //
    // Findings is a required field
    Findings []*FindingSummary `locationName:"findings" type:"list" required:"true"`

    // A token used for pagination of results returned.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

The response to the request.

func (ListFindingsOutput) GoString Uses

func (s ListFindingsOutput) GoString() string

GoString returns the string representation

func (*ListFindingsOutput) SetFindings Uses

func (s *ListFindingsOutput) SetFindings(v []*FindingSummary) *ListFindingsOutput

SetFindings sets the Findings field's value.

func (*ListFindingsOutput) SetNextToken Uses

func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput

SetNextToken sets the NextToken field's value.

func (ListFindingsOutput) String Uses

func (s ListFindingsOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

    // The ARN of the resource to retrieve tags from.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieves a list of tags applied to the specified resource.

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

    // The tags that are applied to the specified resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

The response to the request.

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ResourceNotFoundException Uses

type ResourceNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    // The ID of the resource.
    //
    // ResourceId is a required field
    ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

    // The type of the resource.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The specified resource could not be found.

func (*ResourceNotFoundException) Code Uses

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error Uses

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString Uses

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message Uses

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr Uses

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID Uses

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode Uses

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String Uses

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException Uses

type ServiceQuotaExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    // The resource ID.
    //
    // ResourceId is a required field
    ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

    // The resource type.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Service quote met error.

func (*ServiceQuotaExceededException) Code Uses

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error Uses

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString Uses

func (s ServiceQuotaExceededException) GoString() string

GoString returns the string representation

func (*ServiceQuotaExceededException) Message Uses

func (s *ServiceQuotaExceededException) Message() string

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr Uses

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID Uses

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode Uses

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String Uses

func (s ServiceQuotaExceededException) String() string

String returns the string representation

type SortCriteria Uses

type SortCriteria struct {

    // The name of the attribute to sort on.
    AttributeName *string `locationName:"attributeName" type:"string"`

    // The sort order, ascending or descending.
    OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
    // contains filtered or unexported fields
}

The criteria used to sort.

func (SortCriteria) GoString Uses

func (s SortCriteria) GoString() string

GoString returns the string representation

func (*SortCriteria) SetAttributeName Uses

func (s *SortCriteria) SetAttributeName(v string) *SortCriteria

SetAttributeName sets the AttributeName field's value.

func (*SortCriteria) SetOrderBy Uses

func (s *SortCriteria) SetOrderBy(v string) *SortCriteria

SetOrderBy sets the OrderBy field's value.

func (SortCriteria) String Uses

func (s SortCriteria) String() string

String returns the string representation

type StartResourceScanInput Uses

type StartResourceScanInput struct {

    // The ARN of the analyzer to use to scan the policies applied to the specified
    // resource.
    //
    // AnalyzerArn is a required field
    AnalyzerArn *string `locationName:"analyzerArn" type:"string" required:"true"`

    // The ARN of the resource to scan.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Starts a scan of the policies applied to the specified resource.

func (StartResourceScanInput) GoString Uses

func (s StartResourceScanInput) GoString() string

GoString returns the string representation

func (*StartResourceScanInput) SetAnalyzerArn Uses

func (s *StartResourceScanInput) SetAnalyzerArn(v string) *StartResourceScanInput

SetAnalyzerArn sets the AnalyzerArn field's value.

func (*StartResourceScanInput) SetResourceArn Uses

func (s *StartResourceScanInput) SetResourceArn(v string) *StartResourceScanInput

SetResourceArn sets the ResourceArn field's value.

func (StartResourceScanInput) String Uses

func (s StartResourceScanInput) String() string

String returns the string representation

func (*StartResourceScanInput) Validate Uses

func (s *StartResourceScanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartResourceScanOutput Uses

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

func (StartResourceScanOutput) GoString Uses

func (s StartResourceScanOutput) GoString() string

GoString returns the string representation

func (StartResourceScanOutput) String Uses

func (s StartResourceScanOutput) String() string

String returns the string representation

type StatusReason Uses

type StatusReason struct {

    // The reason code for the current status of the analyzer.
    //
    // Code is a required field
    Code *string `locationName:"code" type:"string" required:"true" enum:"ReasonCode"`
    // contains filtered or unexported fields
}

Provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is displayed. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the AWS organization.

func (StatusReason) GoString Uses

func (s StatusReason) GoString() string

GoString returns the string representation

func (*StatusReason) SetCode Uses

func (s *StatusReason) SetCode(v string) *StatusReason

SetCode sets the Code field's value.

func (StatusReason) String Uses

func (s StatusReason) String() string

String returns the string representation

type TagResourceInput Uses

type TagResourceInput struct {

    // The ARN of the resource to add the tag to.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

    // The tags to add to the resource.
    //
    // Tags is a required field
    Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
    // contains filtered or unexported fields
}

Adds a tag to the specified resource.

func (TagResourceInput) GoString Uses

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn Uses

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags Uses

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput Uses

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

The response to the request.

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type ThrottlingException Uses

type ThrottlingException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    // The seconds to wait to retry.
    RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
    // contains filtered or unexported fields
}

Throttling limit exceeded error.

func (*ThrottlingException) Code Uses

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error Uses

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString Uses

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message Uses

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr Uses

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID Uses

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode Uses

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String Uses

func (s ThrottlingException) String() string

String returns the string representation

type UntagResourceInput Uses

type UntagResourceInput struct {

    // The ARN of the resource to remove the tag from.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

    // The key for the tag to add.
    //
    // TagKeys is a required field
    TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Removes a tag from the specified resource.

func (UntagResourceInput) GoString Uses

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn Uses

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys Uses

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput Uses

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

The response to the request.

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateArchiveRuleInput Uses

type UpdateArchiveRuleInput struct {

    // The name of the analyzer to update the archive rules for.
    //
    // AnalyzerName is a required field
    AnalyzerName *string `location:"uri" locationName:"analyzerName" min:"1" type:"string" required:"true"`

    // A client token.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // A filter to match for the rules to update. Only rules that match the filter
    // are updated.
    //
    // Filter is a required field
    Filter map[string]*Criterion `locationName:"filter" type:"map" required:"true"`

    // The name of the rule to update.
    //
    // RuleName is a required field
    RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Updates the specified archive rule.

func (UpdateArchiveRuleInput) GoString Uses

func (s UpdateArchiveRuleInput) GoString() string

GoString returns the string representation

func (*UpdateArchiveRuleInput) SetAnalyzerName Uses

func (s *UpdateArchiveRuleInput) SetAnalyzerName(v string) *UpdateArchiveRuleInput

SetAnalyzerName sets the AnalyzerName field's value.

func (*UpdateArchiveRuleInput) SetClientToken Uses

func (s *UpdateArchiveRuleInput) SetClientToken(v string) *UpdateArchiveRuleInput

SetClientToken sets the ClientToken field's value.

func (*UpdateArchiveRuleInput) SetFilter Uses

func (s *UpdateArchiveRuleInput) SetFilter(v map[string]*Criterion) *UpdateArchiveRuleInput

SetFilter sets the Filter field's value.

func (*UpdateArchiveRuleInput) SetRuleName Uses

func (s *UpdateArchiveRuleInput) SetRuleName(v string) *UpdateArchiveRuleInput

SetRuleName sets the RuleName field's value.

func (UpdateArchiveRuleInput) String Uses

func (s UpdateArchiveRuleInput) String() string

String returns the string representation

func (*UpdateArchiveRuleInput) Validate Uses

func (s *UpdateArchiveRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateArchiveRuleOutput Uses

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

func (UpdateArchiveRuleOutput) GoString Uses

func (s UpdateArchiveRuleOutput) GoString() string

GoString returns the string representation

func (UpdateArchiveRuleOutput) String Uses

func (s UpdateArchiveRuleOutput) String() string

String returns the string representation

type UpdateFindingsInput Uses

type UpdateFindingsInput struct {

    // The ARN of the analyzer that generated the findings to update.
    //
    // AnalyzerArn is a required field
    AnalyzerArn *string `locationName:"analyzerArn" type:"string" required:"true"`

    // A client token.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The IDs of the findings to update.
    Ids []*string `locationName:"ids" type:"list"`

    // The ARN of the resource identified in the finding.
    ResourceArn *string `locationName:"resourceArn" type:"string"`

    // The state represents the action to take to update the finding Status. Use
    // ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to
    // change an Archived finding to an Active finding.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"FindingStatusUpdate"`
    // contains filtered or unexported fields
}

Updates findings with the new values provided in the request.

func (UpdateFindingsInput) GoString Uses

func (s UpdateFindingsInput) GoString() string

GoString returns the string representation

func (*UpdateFindingsInput) SetAnalyzerArn Uses

func (s *UpdateFindingsInput) SetAnalyzerArn(v string) *UpdateFindingsInput

SetAnalyzerArn sets the AnalyzerArn field's value.

func (*UpdateFindingsInput) SetClientToken Uses

func (s *UpdateFindingsInput) SetClientToken(v string) *UpdateFindingsInput

SetClientToken sets the ClientToken field's value.

func (*UpdateFindingsInput) SetIds Uses

func (s *UpdateFindingsInput) SetIds(v []*string) *UpdateFindingsInput

SetIds sets the Ids field's value.

func (*UpdateFindingsInput) SetResourceArn Uses

func (s *UpdateFindingsInput) SetResourceArn(v string) *UpdateFindingsInput

SetResourceArn sets the ResourceArn field's value.

func (*UpdateFindingsInput) SetStatus Uses

func (s *UpdateFindingsInput) SetStatus(v string) *UpdateFindingsInput

SetStatus sets the Status field's value.

func (UpdateFindingsInput) String Uses

func (s UpdateFindingsInput) String() string

String returns the string representation

func (*UpdateFindingsInput) Validate Uses

func (s *UpdateFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFindingsOutput Uses

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

func (UpdateFindingsOutput) GoString Uses

func (s UpdateFindingsOutput) GoString() string

GoString returns the string representation

func (UpdateFindingsOutput) String Uses

func (s UpdateFindingsOutput) String() string

String returns the string representation

type ValidationException Uses

type ValidationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // A list of fields that didn't validate.
    FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`

    Message_ *string `locationName:"message" type:"string"`

    // The reason for the exception.
    //
    // Reason is a required field
    Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
    // contains filtered or unexported fields
}

Validation exception error.

func (*ValidationException) Code Uses

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error Uses

func (s *ValidationException) Error() string

func (ValidationException) GoString Uses

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message Uses

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr Uses

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID Uses

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode Uses

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String Uses

func (s ValidationException) String() string

String returns the string representation

type ValidationExceptionField Uses

type ValidationExceptionField struct {

    // A message about the validation exception.
    //
    // Message is a required field
    Message *string `locationName:"message" type:"string" required:"true"`

    // The name of the validation exception.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about a validation exception.

func (ValidationExceptionField) GoString Uses

func (s ValidationExceptionField) GoString() string

GoString returns the string representation

func (*ValidationExceptionField) SetMessage Uses

func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName Uses

func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField

SetName sets the Name field's value.

func (ValidationExceptionField) String Uses

func (s ValidationExceptionField) String() string

String returns the string representation

Directories

PathSynopsis
accessanalyzerifacePackage accessanalyzeriface provides an interface to enable mocking the Access Analyzer service client for testing your code.

Package accessanalyzer imports 10 packages (graph) and is imported by 9 packages. Updated 2020-03-31. Refresh now. Tools for package owners.