package accessanalyzer
import "github.com/aws/aws-sdk-go-v2/service/accessanalyzer"
Package accessanalyzer provides the API client, operations, and parameter types for 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. You can also use Access Analyzer to preview and validate public and cross-account access to your resources before deploying permissions changes. This guide describes the AWS IAM Access Analyzer operations that you can call programmatically. For general information about Access Analyzer, see AWS IAM Access Analyzer (https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html) in the IAM User Guide. To start using Access Analyzer, you first need to create an analyzer.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type ApplyArchiveRuleInput
- type ApplyArchiveRuleOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) ApplyArchiveRule(ctx context.Context, params *ApplyArchiveRuleInput, optFns ...func(*Options)) (*ApplyArchiveRuleOutput, error)
- func (c *Client) CreateAccessPreview(ctx context.Context, params *CreateAccessPreviewInput, optFns ...func(*Options)) (*CreateAccessPreviewOutput, error)
- func (c *Client) CreateAnalyzer(ctx context.Context, params *CreateAnalyzerInput, optFns ...func(*Options)) (*CreateAnalyzerOutput, error)
- func (c *Client) CreateArchiveRule(ctx context.Context, params *CreateArchiveRuleInput, optFns ...func(*Options)) (*CreateArchiveRuleOutput, error)
- func (c *Client) DeleteAnalyzer(ctx context.Context, params *DeleteAnalyzerInput, optFns ...func(*Options)) (*DeleteAnalyzerOutput, error)
- func (c *Client) DeleteArchiveRule(ctx context.Context, params *DeleteArchiveRuleInput, optFns ...func(*Options)) (*DeleteArchiveRuleOutput, error)
- func (c *Client) GetAccessPreview(ctx context.Context, params *GetAccessPreviewInput, optFns ...func(*Options)) (*GetAccessPreviewOutput, error)
- func (c *Client) GetAnalyzedResource(ctx context.Context, params *GetAnalyzedResourceInput, optFns ...func(*Options)) (*GetAnalyzedResourceOutput, error)
- func (c *Client) GetAnalyzer(ctx context.Context, params *GetAnalyzerInput, optFns ...func(*Options)) (*GetAnalyzerOutput, error)
- func (c *Client) GetArchiveRule(ctx context.Context, params *GetArchiveRuleInput, optFns ...func(*Options)) (*GetArchiveRuleOutput, error)
- func (c *Client) GetFinding(ctx context.Context, params *GetFindingInput, optFns ...func(*Options)) (*GetFindingOutput, error)
- func (c *Client) ListAccessPreviewFindings(ctx context.Context, params *ListAccessPreviewFindingsInput, optFns ...func(*Options)) (*ListAccessPreviewFindingsOutput, error)
- func (c *Client) ListAccessPreviews(ctx context.Context, params *ListAccessPreviewsInput, optFns ...func(*Options)) (*ListAccessPreviewsOutput, error)
- func (c *Client) ListAnalyzedResources(ctx context.Context, params *ListAnalyzedResourcesInput, optFns ...func(*Options)) (*ListAnalyzedResourcesOutput, error)
- func (c *Client) ListAnalyzers(ctx context.Context, params *ListAnalyzersInput, optFns ...func(*Options)) (*ListAnalyzersOutput, error)
- func (c *Client) ListArchiveRules(ctx context.Context, params *ListArchiveRulesInput, optFns ...func(*Options)) (*ListArchiveRulesOutput, error)
- func (c *Client) ListFindings(ctx context.Context, params *ListFindingsInput, optFns ...func(*Options)) (*ListFindingsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) StartResourceScan(ctx context.Context, params *StartResourceScanInput, optFns ...func(*Options)) (*StartResourceScanOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateArchiveRule(ctx context.Context, params *UpdateArchiveRuleInput, optFns ...func(*Options)) (*UpdateArchiveRuleOutput, error)
- func (c *Client) UpdateFindings(ctx context.Context, params *UpdateFindingsInput, optFns ...func(*Options)) (*UpdateFindingsOutput, error)
- func (c *Client) ValidatePolicy(ctx context.Context, params *ValidatePolicyInput, optFns ...func(*Options)) (*ValidatePolicyOutput, error)
- type CreateAccessPreviewInput
- type CreateAccessPreviewOutput
- type CreateAnalyzerInput
- type CreateAnalyzerOutput
- type CreateArchiveRuleInput
- type CreateArchiveRuleOutput
- type DeleteAnalyzerInput
- type DeleteAnalyzerOutput
- type DeleteArchiveRuleInput
- type DeleteArchiveRuleOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAccessPreviewInput
- type GetAccessPreviewOutput
- type GetAnalyzedResourceInput
- type GetAnalyzedResourceOutput
- type GetAnalyzerInput
- type GetAnalyzerOutput
- type GetArchiveRuleInput
- type GetArchiveRuleOutput
- type GetFindingInput
- type GetFindingOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAccessPreviewFindingsAPIClient
- type ListAccessPreviewFindingsInput
- type ListAccessPreviewFindingsOutput
- type ListAccessPreviewFindingsPaginator
- func NewListAccessPreviewFindingsPaginator(client ListAccessPreviewFindingsAPIClient, params *ListAccessPreviewFindingsInput, optFns ...func(*ListAccessPreviewFindingsPaginatorOptions)) *ListAccessPreviewFindingsPaginator
- func (p *ListAccessPreviewFindingsPaginator) HasMorePages() bool
- func (p *ListAccessPreviewFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPreviewFindingsOutput, error)
- type ListAccessPreviewFindingsPaginatorOptions
- type ListAccessPreviewsAPIClient
- type ListAccessPreviewsInput
- type ListAccessPreviewsOutput
- type ListAccessPreviewsPaginator
- func NewListAccessPreviewsPaginator(client ListAccessPreviewsAPIClient, params *ListAccessPreviewsInput, optFns ...func(*ListAccessPreviewsPaginatorOptions)) *ListAccessPreviewsPaginator
- func (p *ListAccessPreviewsPaginator) HasMorePages() bool
- func (p *ListAccessPreviewsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPreviewsOutput, error)
- type ListAccessPreviewsPaginatorOptions
- type ListAnalyzedResourcesAPIClient
- type ListAnalyzedResourcesInput
- type ListAnalyzedResourcesOutput
- type ListAnalyzedResourcesPaginator
- func NewListAnalyzedResourcesPaginator(client ListAnalyzedResourcesAPIClient, params *ListAnalyzedResourcesInput, optFns ...func(*ListAnalyzedResourcesPaginatorOptions)) *ListAnalyzedResourcesPaginator
- func (p *ListAnalyzedResourcesPaginator) HasMorePages() bool
- func (p *ListAnalyzedResourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAnalyzedResourcesOutput, error)
- type ListAnalyzedResourcesPaginatorOptions
- type ListAnalyzersAPIClient
- type ListAnalyzersInput
- type ListAnalyzersOutput
- type ListAnalyzersPaginator
- func NewListAnalyzersPaginator(client ListAnalyzersAPIClient, params *ListAnalyzersInput, optFns ...func(*ListAnalyzersPaginatorOptions)) *ListAnalyzersPaginator
- func (p *ListAnalyzersPaginator) HasMorePages() bool
- func (p *ListAnalyzersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAnalyzersOutput, error)
- type ListAnalyzersPaginatorOptions
- type ListArchiveRulesAPIClient
- type ListArchiveRulesInput
- type ListArchiveRulesOutput
- type ListArchiveRulesPaginator
- func NewListArchiveRulesPaginator(client ListArchiveRulesAPIClient, params *ListArchiveRulesInput, optFns ...func(*ListArchiveRulesPaginatorOptions)) *ListArchiveRulesPaginator
- func (p *ListArchiveRulesPaginator) HasMorePages() bool
- func (p *ListArchiveRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListArchiveRulesOutput, error)
- type ListArchiveRulesPaginatorOptions
- type ListFindingsAPIClient
- type ListFindingsInput
- type ListFindingsOutput
- type ListFindingsPaginator
- func NewListFindingsPaginator(client ListFindingsAPIClient, params *ListFindingsInput, optFns ...func(*ListFindingsPaginatorOptions)) *ListFindingsPaginator
- func (p *ListFindingsPaginator) HasMorePages() bool
- func (p *ListFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFindingsOutput, error)
- type ListFindingsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type StartResourceScanInput
- type StartResourceScanOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateArchiveRuleInput
- type UpdateArchiveRuleOutput
- type UpdateFindingsInput
- type UpdateFindingsOutput
- type ValidatePolicyAPIClient
- type ValidatePolicyInput
- type ValidatePolicyOutput
- type ValidatePolicyPaginator
- func NewValidatePolicyPaginator(client ValidatePolicyAPIClient, params *ValidatePolicyInput, optFns ...func(*ValidatePolicyPaginatorOptions)) *ValidatePolicyPaginator
- func (p *ValidatePolicyPaginator) HasMorePages() bool
- func (p *ValidatePolicyPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ValidatePolicyOutput, error)
- type ValidatePolicyPaginatorOptions
Constants ¶
const ServiceAPIVersion = "2019-11-01"
const ServiceID = "AccessAnalyzer"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type ApplyArchiveRuleInput ¶
type ApplyArchiveRuleInput struct { // The Amazon resource name (ARN) of the analyzer. // // This member is required. AnalyzerArn *string // The name of the rule to apply. // // This member is required. RuleName *string // A client token. ClientToken *string }
Retroactively applies an archive rule.
type ApplyArchiveRuleOutput ¶
type ApplyArchiveRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Access Analyzer.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) ApplyArchiveRule ¶
func (c *Client) ApplyArchiveRule(ctx context.Context, params *ApplyArchiveRuleInput, optFns ...func(*Options)) (*ApplyArchiveRuleOutput, error)
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
func (*Client) CreateAccessPreview ¶
func (c *Client) CreateAccessPreview(ctx context.Context, params *CreateAccessPreviewInput, optFns ...func(*Options)) (*CreateAccessPreviewOutput, error)
Creates an access preview that allows you to preview Access Analyzer findings for your resource before deploying resource permissions.
func (*Client) CreateAnalyzer ¶
func (c *Client) CreateAnalyzer(ctx context.Context, params *CreateAnalyzerInput, optFns ...func(*Options)) (*CreateAnalyzerOutput, error)
Creates an analyzer for your account.
func (*Client) CreateArchiveRule ¶
func (c *Client) CreateArchiveRule(ctx context.Context, params *CreateArchiveRuleInput, optFns ...func(*Options)) (*CreateArchiveRuleOutput, error)
Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html) in the IAM User Guide.
func (*Client) DeleteAnalyzer ¶
func (c *Client) DeleteAnalyzer(ctx context.Context, params *DeleteAnalyzerInput, optFns ...func(*Options)) (*DeleteAnalyzerOutput, error)
Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the account or organization in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action.
func (*Client) DeleteArchiveRule ¶
func (c *Client) DeleteArchiveRule(ctx context.Context, params *DeleteArchiveRuleInput, optFns ...func(*Options)) (*DeleteArchiveRuleOutput, error)
Deletes the specified archive rule.
func (*Client) GetAccessPreview ¶
func (c *Client) GetAccessPreview(ctx context.Context, params *GetAccessPreviewInput, optFns ...func(*Options)) (*GetAccessPreviewOutput, error)
Retrieves information about an access preview for the specified analyzer.
func (*Client) GetAnalyzedResource ¶
func (c *Client) GetAnalyzedResource(ctx context.Context, params *GetAnalyzedResourceInput, optFns ...func(*Options)) (*GetAnalyzedResourceOutput, error)
Retrieves information about a resource that was analyzed.
func (*Client) GetAnalyzer ¶
func (c *Client) GetAnalyzer(ctx context.Context, params *GetAnalyzerInput, optFns ...func(*Options)) (*GetAnalyzerOutput, error)
Retrieves information about the specified analyzer.
func (*Client) GetArchiveRule ¶
func (c *Client) GetArchiveRule(ctx context.Context, params *GetArchiveRuleInput, optFns ...func(*Options)) (*GetArchiveRuleOutput, error)
Retrieves information about an archive rule. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html) in the IAM User Guide.
func (*Client) GetFinding ¶
func (c *Client) GetFinding(ctx context.Context, params *GetFindingInput, optFns ...func(*Options)) (*GetFindingOutput, error)
Retrieves information about the specified finding.
func (*Client) ListAccessPreviewFindings ¶
func (c *Client) ListAccessPreviewFindings(ctx context.Context, params *ListAccessPreviewFindingsInput, optFns ...func(*Options)) (*ListAccessPreviewFindingsOutput, error)
Retrieves a list of access preview findings generated by the specified access preview.
func (*Client) ListAccessPreviews ¶
func (c *Client) ListAccessPreviews(ctx context.Context, params *ListAccessPreviewsInput, optFns ...func(*Options)) (*ListAccessPreviewsOutput, error)
Retrieves a list of access previews for the specified analyzer.
func (*Client) ListAnalyzedResources ¶
func (c *Client) ListAnalyzedResources(ctx context.Context, params *ListAnalyzedResourcesInput, optFns ...func(*Options)) (*ListAnalyzedResourcesOutput, error)
Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..
func (*Client) ListAnalyzers ¶
func (c *Client) ListAnalyzers(ctx context.Context, params *ListAnalyzersInput, optFns ...func(*Options)) (*ListAnalyzersOutput, error)
Retrieves a list of analyzers.
func (*Client) ListArchiveRules ¶
func (c *Client) ListArchiveRules(ctx context.Context, params *ListArchiveRulesInput, optFns ...func(*Options)) (*ListArchiveRulesOutput, error)
Retrieves a list of archive rules created for the specified analyzer.
func (*Client) ListFindings ¶
func (c *Client) ListFindings(ctx context.Context, params *ListFindingsInput, optFns ...func(*Options)) (*ListFindingsOutput, error)
Retrieves a list of findings generated by the specified analyzer. To learn about filter keys that you can use to retrieve a list of findings, see Access Analyzer filter keys (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html) in the IAM User Guide.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Retrieves a list of tags applied to the specified resource.
func (*Client) StartResourceScan ¶
func (c *Client) StartResourceScan(ctx context.Context, params *StartResourceScanInput, optFns ...func(*Options)) (*StartResourceScanOutput, error)
Immediately starts a scan of the policies applied to the specified resource.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds a tag to the specified resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a tag from the specified resource.
func (*Client) UpdateArchiveRule ¶
func (c *Client) UpdateArchiveRule(ctx context.Context, params *UpdateArchiveRuleInput, optFns ...func(*Options)) (*UpdateArchiveRuleOutput, error)
Updates the criteria and values for the specified archive rule.
func (*Client) UpdateFindings ¶
func (c *Client) UpdateFindings(ctx context.Context, params *UpdateFindingsInput, optFns ...func(*Options)) (*UpdateFindingsOutput, error)
Updates the status for the specified findings.
func (*Client) ValidatePolicy ¶
func (c *Client) ValidatePolicy(ctx context.Context, params *ValidatePolicyInput, optFns ...func(*Options)) (*ValidatePolicyOutput, error)
Requests the validation of a policy and returns a list of findings. The findings help you identify issues and provide actionable recommendations to resolve the issue and enable you to author functional policies that meet security best practices.
type CreateAccessPreviewInput ¶
type CreateAccessPreviewInput struct { // The ARN of the account analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // used to generate the access preview. You can only create an access preview for // analyzers with an Account type and Active status. // // This member is required. AnalyzerArn *string // Access control configuration for your resource that is used to generate the // access preview. The access preview includes findings for external access allowed // to the resource with the proposed access control configuration. The // configuration must contain exactly one element. // // This member is required. Configurations map[string]types.Configuration // A client token. ClientToken *string }
type CreateAccessPreviewOutput ¶
type CreateAccessPreviewOutput struct { // The unique ID for the access preview. // // This member is required. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateAnalyzerInput ¶
type CreateAnalyzerInput struct { // The name of the analyzer to create. // // This member is required. AnalyzerName *string // The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are // supported. You can create only one analyzer per account per Region. You can // create up to 5 analyzers per organization per Region. // // This member is required. Type types.Type // Specifies the archive rules to add for the analyzer. Archive rules automatically // archive findings that meet the criteria you define for the rule. ArchiveRules []types.InlineArchiveRule // A client token. ClientToken *string // The tags to apply to the analyzer. Tags map[string]string }
Creates an analyzer.
type CreateAnalyzerOutput ¶
type CreateAnalyzerOutput struct { // The ARN of the analyzer that was created by the request. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request to create an analyzer.
type CreateArchiveRuleInput ¶
type CreateArchiveRuleInput struct { // The name of the created analyzer. // // This member is required. AnalyzerName *string // The criteria for the rule. // // This member is required. Filter map[string]types.Criterion // The name of the rule to create. // // This member is required. RuleName *string // A client token. ClientToken *string }
Creates an archive rule.
type CreateArchiveRuleOutput ¶
type CreateArchiveRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAnalyzerInput ¶
type DeleteAnalyzerInput struct { // The name of the analyzer to delete. // // This member is required. AnalyzerName *string // A client token. ClientToken *string }
Deletes an analyzer.
type DeleteAnalyzerOutput ¶
type DeleteAnalyzerOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteArchiveRuleInput ¶
type DeleteArchiveRuleInput struct { // The name of the analyzer that associated with the archive rule to delete. // // This member is required. AnalyzerName *string // The name of the rule to delete. // // This member is required. RuleName *string // A client token. ClientToken *string }
Deletes an archive rule.
type DeleteArchiveRuleOutput ¶
type DeleteArchiveRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetAccessPreviewInput ¶
type GetAccessPreviewInput struct { // The unique ID for the access preview. // // This member is required. AccessPreviewId *string // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // used to generate the access preview. // // This member is required. AnalyzerArn *string }
type GetAccessPreviewOutput ¶
type GetAccessPreviewOutput struct { // An object that contains information about the access preview. // // This member is required. AccessPreview *types.AccessPreview // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAnalyzedResourceInput ¶
type GetAnalyzedResourceInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // to retrieve information from. // // This member is required. AnalyzerArn *string // The ARN of the resource to retrieve information about. // // This member is required. ResourceArn *string }
Retrieves an analyzed resource.
type GetAnalyzedResourceOutput ¶
type GetAnalyzedResourceOutput struct { // An AnalyzedResource object that contains information that Access Analyzer found // when it analyzed the resource. Resource *types.AnalyzedResource // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type GetAnalyzerInput ¶
type GetAnalyzerInput struct { // The name of the analyzer retrieved. // // This member is required. AnalyzerName *string }
Retrieves an analyzer.
type GetAnalyzerOutput ¶
type GetAnalyzerOutput struct { // An AnalyzerSummary object that contains information about the analyzer. // // This member is required. Analyzer *types.AnalyzerSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type GetArchiveRuleInput ¶
type GetArchiveRuleInput struct { // The name of the analyzer to retrieve rules from. // // This member is required. AnalyzerName *string // The name of the rule to retrieve. // // This member is required. RuleName *string }
Retrieves an archive rule.
type GetArchiveRuleOutput ¶
type GetArchiveRuleOutput struct { // Contains information about an archive rule. // // This member is required. ArchiveRule *types.ArchiveRuleSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type GetFindingInput ¶
type GetFindingInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // that generated the finding. // // This member is required. AnalyzerArn *string // The ID of the finding to retrieve. // // This member is required. Id *string }
Retrieves a finding.
type GetFindingOutput ¶
type GetFindingOutput struct { // A finding object that contains finding details. Finding *types.Finding // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAccessPreviewFindingsAPIClient ¶
type ListAccessPreviewFindingsAPIClient interface { ListAccessPreviewFindings(context.Context, *ListAccessPreviewFindingsInput, ...func(*Options)) (*ListAccessPreviewFindingsOutput, error) }
ListAccessPreviewFindingsAPIClient is a client that implements the ListAccessPreviewFindings operation.
type ListAccessPreviewFindingsInput ¶
type ListAccessPreviewFindingsInput struct { // The unique ID for the access preview. // // This member is required. AccessPreviewId *string // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // used to generate the access. // // This member is required. AnalyzerArn *string // Criteria to filter the returned findings. Filter map[string]types.Criterion // The maximum number of results to return in the response. MaxResults *int32 // A token used for pagination of results returned. NextToken *string }
type ListAccessPreviewFindingsOutput ¶
type ListAccessPreviewFindingsOutput struct { // A list of access preview findings that match the specified filter criteria. // // This member is required. Findings []types.AccessPreviewFinding // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAccessPreviewFindingsPaginator ¶
type ListAccessPreviewFindingsPaginator struct {
// contains filtered or unexported fields
}
ListAccessPreviewFindingsPaginator is a paginator for ListAccessPreviewFindings
func NewListAccessPreviewFindingsPaginator ¶
func NewListAccessPreviewFindingsPaginator(client ListAccessPreviewFindingsAPIClient, params *ListAccessPreviewFindingsInput, optFns ...func(*ListAccessPreviewFindingsPaginatorOptions)) *ListAccessPreviewFindingsPaginator
NewListAccessPreviewFindingsPaginator returns a new ListAccessPreviewFindingsPaginator
func (*ListAccessPreviewFindingsPaginator) HasMorePages ¶
func (p *ListAccessPreviewFindingsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessPreviewFindingsPaginator) NextPage ¶
func (p *ListAccessPreviewFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPreviewFindingsOutput, error)
NextPage retrieves the next ListAccessPreviewFindings page.
type ListAccessPreviewFindingsPaginatorOptions ¶
type ListAccessPreviewFindingsPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessPreviewFindingsPaginatorOptions is the paginator options for ListAccessPreviewFindings
type ListAccessPreviewsAPIClient ¶
type ListAccessPreviewsAPIClient interface { ListAccessPreviews(context.Context, *ListAccessPreviewsInput, ...func(*Options)) (*ListAccessPreviewsOutput, error) }
ListAccessPreviewsAPIClient is a client that implements the ListAccessPreviews operation.
type ListAccessPreviewsInput ¶
type ListAccessPreviewsInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // used to generate the access preview. // // This member is required. AnalyzerArn *string // The maximum number of results to return in the response. MaxResults *int32 // A token used for pagination of results returned. NextToken *string }
type ListAccessPreviewsOutput ¶
type ListAccessPreviewsOutput struct { // A list of access previews retrieved for the analyzer. // // This member is required. AccessPreviews []types.AccessPreviewSummary // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAccessPreviewsPaginator ¶
type ListAccessPreviewsPaginator struct {
// contains filtered or unexported fields
}
ListAccessPreviewsPaginator is a paginator for ListAccessPreviews
func NewListAccessPreviewsPaginator ¶
func NewListAccessPreviewsPaginator(client ListAccessPreviewsAPIClient, params *ListAccessPreviewsInput, optFns ...func(*ListAccessPreviewsPaginatorOptions)) *ListAccessPreviewsPaginator
NewListAccessPreviewsPaginator returns a new ListAccessPreviewsPaginator
func (*ListAccessPreviewsPaginator) HasMorePages ¶
func (p *ListAccessPreviewsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessPreviewsPaginator) NextPage ¶
func (p *ListAccessPreviewsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPreviewsOutput, error)
NextPage retrieves the next ListAccessPreviews page.
type ListAccessPreviewsPaginatorOptions ¶
type ListAccessPreviewsPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessPreviewsPaginatorOptions is the paginator options for ListAccessPreviews
type ListAnalyzedResourcesAPIClient ¶
type ListAnalyzedResourcesAPIClient interface { ListAnalyzedResources(context.Context, *ListAnalyzedResourcesInput, ...func(*Options)) (*ListAnalyzedResourcesOutput, error) }
ListAnalyzedResourcesAPIClient is a client that implements the ListAnalyzedResources operation.
type ListAnalyzedResourcesInput ¶
type ListAnalyzedResourcesInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // to retrieve a list of analyzed resources from. // // This member is required. AnalyzerArn *string // The maximum number of results to return in the response. MaxResults *int32 // A token used for pagination of results returned. NextToken *string // The type of resource. ResourceType types.ResourceType }
Retrieves a list of resources that have been analyzed.
type ListAnalyzedResourcesOutput ¶
type ListAnalyzedResourcesOutput struct { // A list of resources that were analyzed. // // This member is required. AnalyzedResources []types.AnalyzedResourceSummary // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type ListAnalyzedResourcesPaginator ¶
type ListAnalyzedResourcesPaginator struct {
// contains filtered or unexported fields
}
ListAnalyzedResourcesPaginator is a paginator for ListAnalyzedResources
func NewListAnalyzedResourcesPaginator ¶
func NewListAnalyzedResourcesPaginator(client ListAnalyzedResourcesAPIClient, params *ListAnalyzedResourcesInput, optFns ...func(*ListAnalyzedResourcesPaginatorOptions)) *ListAnalyzedResourcesPaginator
NewListAnalyzedResourcesPaginator returns a new ListAnalyzedResourcesPaginator
func (*ListAnalyzedResourcesPaginator) HasMorePages ¶
func (p *ListAnalyzedResourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAnalyzedResourcesPaginator) NextPage ¶
func (p *ListAnalyzedResourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAnalyzedResourcesOutput, error)
NextPage retrieves the next ListAnalyzedResources page.
type ListAnalyzedResourcesPaginatorOptions ¶
type ListAnalyzedResourcesPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAnalyzedResourcesPaginatorOptions is the paginator options for ListAnalyzedResources
type ListAnalyzersAPIClient ¶
type ListAnalyzersAPIClient interface { ListAnalyzers(context.Context, *ListAnalyzersInput, ...func(*Options)) (*ListAnalyzersOutput, error) }
ListAnalyzersAPIClient is a client that implements the ListAnalyzers operation.
type ListAnalyzersInput ¶
type ListAnalyzersInput struct { // The maximum number of results to return in the response. MaxResults *int32 // A token used for pagination of results returned. NextToken *string // The type of analyzer. Type types.Type }
Retrieves a list of analyzers.
type ListAnalyzersOutput ¶
type ListAnalyzersOutput struct { // The analyzers retrieved. // // This member is required. Analyzers []types.AnalyzerSummary // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type ListAnalyzersPaginator ¶
type ListAnalyzersPaginator struct {
// contains filtered or unexported fields
}
ListAnalyzersPaginator is a paginator for ListAnalyzers
func NewListAnalyzersPaginator ¶
func NewListAnalyzersPaginator(client ListAnalyzersAPIClient, params *ListAnalyzersInput, optFns ...func(*ListAnalyzersPaginatorOptions)) *ListAnalyzersPaginator
NewListAnalyzersPaginator returns a new ListAnalyzersPaginator
func (*ListAnalyzersPaginator) HasMorePages ¶
func (p *ListAnalyzersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAnalyzersPaginator) NextPage ¶
func (p *ListAnalyzersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAnalyzersOutput, error)
NextPage retrieves the next ListAnalyzers page.
type ListAnalyzersPaginatorOptions ¶
type ListAnalyzersPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAnalyzersPaginatorOptions is the paginator options for ListAnalyzers
type ListArchiveRulesAPIClient ¶
type ListArchiveRulesAPIClient interface { ListArchiveRules(context.Context, *ListArchiveRulesInput, ...func(*Options)) (*ListArchiveRulesOutput, error) }
ListArchiveRulesAPIClient is a client that implements the ListArchiveRules operation.
type ListArchiveRulesInput ¶
type ListArchiveRulesInput struct { // The name of the analyzer to retrieve rules from. // // This member is required. AnalyzerName *string // The maximum number of results to return in the request. MaxResults *int32 // A token used for pagination of results returned. NextToken *string }
Retrieves a list of archive rules created for the specified analyzer.
type ListArchiveRulesOutput ¶
type ListArchiveRulesOutput struct { // A list of archive rules created for the specified analyzer. // // This member is required. ArchiveRules []types.ArchiveRuleSummary // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type ListArchiveRulesPaginator ¶
type ListArchiveRulesPaginator struct {
// contains filtered or unexported fields
}
ListArchiveRulesPaginator is a paginator for ListArchiveRules
func NewListArchiveRulesPaginator ¶
func NewListArchiveRulesPaginator(client ListArchiveRulesAPIClient, params *ListArchiveRulesInput, optFns ...func(*ListArchiveRulesPaginatorOptions)) *ListArchiveRulesPaginator
NewListArchiveRulesPaginator returns a new ListArchiveRulesPaginator
func (*ListArchiveRulesPaginator) HasMorePages ¶
func (p *ListArchiveRulesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListArchiveRulesPaginator) NextPage ¶
func (p *ListArchiveRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListArchiveRulesOutput, error)
NextPage retrieves the next ListArchiveRules page.
type ListArchiveRulesPaginatorOptions ¶
type ListArchiveRulesPaginatorOptions struct { // The maximum number of results to return in the request. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListArchiveRulesPaginatorOptions is the paginator options for ListArchiveRules
type ListFindingsAPIClient ¶
type ListFindingsAPIClient interface { ListFindings(context.Context, *ListFindingsInput, ...func(*Options)) (*ListFindingsOutput, error) }
ListFindingsAPIClient is a client that implements the ListFindings operation.
type ListFindingsInput ¶
type ListFindingsInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // to retrieve findings from. // // This member is required. AnalyzerArn *string // A filter to match for the findings to return. Filter map[string]types.Criterion // The maximum number of results to return in the response. MaxResults *int32 // A token used for pagination of results returned. NextToken *string // The sort order for the findings returned. Sort *types.SortCriteria }
Retrieves a list of findings generated by the specified analyzer.
type ListFindingsOutput ¶
type ListFindingsOutput struct { // A list of findings retrieved from the analyzer that match the filter criteria // specified, if any. // // This member is required. Findings []types.FindingSummary // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type ListFindingsPaginator ¶
type ListFindingsPaginator struct {
// contains filtered or unexported fields
}
ListFindingsPaginator is a paginator for ListFindings
func NewListFindingsPaginator ¶
func NewListFindingsPaginator(client ListFindingsAPIClient, params *ListFindingsInput, optFns ...func(*ListFindingsPaginatorOptions)) *ListFindingsPaginator
NewListFindingsPaginator returns a new ListFindingsPaginator
func (*ListFindingsPaginator) HasMorePages ¶
func (p *ListFindingsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFindingsPaginator) NextPage ¶
func (p *ListFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFindingsOutput, error)
NextPage retrieves the next ListFindings page.
type ListFindingsPaginatorOptions ¶
type ListFindingsPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFindingsPaginatorOptions is the paginator options for ListFindings
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the resource to retrieve tags from. // // This member is required. ResourceArn *string }
Retrieves a list of tags applied to the specified resource.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags that are applied to the specified resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartResourceScanInput ¶
type StartResourceScanInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // to use to scan the policies applied to the specified resource. // // This member is required. AnalyzerArn *string // The ARN of the resource to scan. // // This member is required. ResourceArn *string }
Starts a scan of the policies applied to the specified resource.
type StartResourceScanOutput ¶
type StartResourceScanOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the resource to add the tag to. // // This member is required. ResourceArn *string // The tags to add to the resource. // // This member is required. Tags map[string]string }
Adds a tag to the specified resource.
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type UntagResourceInput ¶
type UntagResourceInput struct { // The ARN of the resource to remove the tag from. // // This member is required. ResourceArn *string // The key for the tag to add. // // This member is required. TagKeys []string }
Removes a tag from the specified resource.
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to the request.
type UpdateArchiveRuleInput ¶
type UpdateArchiveRuleInput struct { // The name of the analyzer to update the archive rules for. // // This member is required. AnalyzerName *string // A filter to match for the rules to update. Only rules that match the filter are // updated. // // This member is required. Filter map[string]types.Criterion // The name of the rule to update. // // This member is required. RuleName *string // A client token. ClientToken *string }
Updates the specified archive rule.
type UpdateArchiveRuleOutput ¶
type UpdateArchiveRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateFindingsInput ¶
type UpdateFindingsInput struct { // The ARN of the analyzer // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) // that generated the findings to update. // // This member is required. AnalyzerArn *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. // // This member is required. Status types.FindingStatusUpdate // A client token. ClientToken *string // The IDs of the findings to update. Ids []string // The ARN of the resource identified in the finding. ResourceArn *string }
Updates findings with the new values provided in the request.
type UpdateFindingsOutput ¶
type UpdateFindingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ValidatePolicyAPIClient ¶
type ValidatePolicyAPIClient interface { ValidatePolicy(context.Context, *ValidatePolicyInput, ...func(*Options)) (*ValidatePolicyOutput, error) }
ValidatePolicyAPIClient is a client that implements the ValidatePolicy operation.
type ValidatePolicyInput ¶
type ValidatePolicyInput struct { // The JSON policy document to use as the content for the policy. // // This member is required. PolicyDocument *string // The type of policy to validate. Identity policies grant permissions to IAM // principals. Identity policies include managed and inline policies for IAM roles, // users, and groups. They also include service-control policies (SCPs) that are // attached to an AWS organization, organizational unit (OU), or an account. // Resource policies grant permissions on AWS resources. Resource policies include // trust policies for IAM roles and bucket policies for S3 buckets. You can provide // a generic input such as identity policy or resource policy or a specific input // such as managed policy or S3 bucket policy. // // This member is required. PolicyType types.PolicyType // The locale to use for localizing the findings. Locale types.Locale // The maximum number of results to return in the response. MaxResults *int32 // A token used for pagination of results returned. NextToken *string }
type ValidatePolicyOutput ¶
type ValidatePolicyOutput struct { // The list of findings in a policy returned by Access Analyzer based on its suite // of policy checks. // // This member is required. Findings []types.ValidatePolicyFinding // A token used for pagination of results returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ValidatePolicyPaginator ¶
type ValidatePolicyPaginator struct {
// contains filtered or unexported fields
}
ValidatePolicyPaginator is a paginator for ValidatePolicy
func NewValidatePolicyPaginator ¶
func NewValidatePolicyPaginator(client ValidatePolicyAPIClient, params *ValidatePolicyInput, optFns ...func(*ValidatePolicyPaginatorOptions)) *ValidatePolicyPaginator
NewValidatePolicyPaginator returns a new ValidatePolicyPaginator
func (*ValidatePolicyPaginator) HasMorePages ¶
func (p *ValidatePolicyPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ValidatePolicyPaginator) NextPage ¶
func (p *ValidatePolicyPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ValidatePolicyOutput, error)
NextPage retrieves the next ValidatePolicy page.
type ValidatePolicyPaginatorOptions ¶
type ValidatePolicyPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ValidatePolicyPaginatorOptions is the paginator options for ValidatePolicy
Source Files ¶
api_client.go api_op_ApplyArchiveRule.go api_op_CreateAccessPreview.go api_op_CreateAnalyzer.go api_op_CreateArchiveRule.go api_op_DeleteAnalyzer.go api_op_DeleteArchiveRule.go api_op_GetAccessPreview.go api_op_GetAnalyzedResource.go api_op_GetAnalyzer.go api_op_GetArchiveRule.go api_op_GetFinding.go api_op_ListAccessPreviewFindings.go api_op_ListAccessPreviews.go api_op_ListAnalyzedResources.go api_op_ListAnalyzers.go api_op_ListArchiveRules.go api_op_ListFindings.go api_op_ListTagsForResource.go api_op_StartResourceScan.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateArchiveRule.go api_op_UpdateFindings.go api_op_ValidatePolicy.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.2.1
- Published
- Apr 2, 2021
- Platform
- windows/amd64
- Imports
- 31 packages
- Last checked
- 1 week ago –
Tools for package owners.