AWS SDK for Go (PILOT)
API Reference

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

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

RevokeSnapshotAccessInput

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

type RevokeSnapshotAccessInput struct { AccountWithRestoreAccess *string `type:"string" required:"true"` SnapshotClusterIdentifier *string `type:"string"` SnapshotIdentifier *string `type:"string" required:"true"` }

AccountWithRestoreAccess

Type: *string

The identifier of the AWS customer account that can no longer restore the specified snapshot.

AccountWithRestoreAccess is a required field

SnapshotClusterIdentifier

Type: *string

The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

SnapshotIdentifier

Type: *string

The identifier of the snapshot that the account can no longer access.

SnapshotIdentifier is a required field

Method

GoString

func (s RevokeSnapshotAccessInput) GoString() string

GoString returns the string representation

SetAccountWithRestoreAccess

func (s *RevokeSnapshotAccessInput) SetAccountWithRestoreAccess(v string) *RevokeSnapshotAccessInput

SetAccountWithRestoreAccess sets the AccountWithRestoreAccess field's value.

SetSnapshotClusterIdentifier

func (s *RevokeSnapshotAccessInput) SetSnapshotClusterIdentifier(v string) *RevokeSnapshotAccessInput

SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value.

SetSnapshotIdentifier

func (s *RevokeSnapshotAccessInput) SetSnapshotIdentifier(v string) *RevokeSnapshotAccessInput

SetSnapshotIdentifier sets the SnapshotIdentifier field's value.

String

func (s RevokeSnapshotAccessInput) String() string

String returns the string representation

Validate

func (s *RevokeSnapshotAccessInput) Validate() error

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

On this page: