Documentation ¶
Overview ¶
Package redshiftserverless provides the client and types for making API requests to Redshift Serverless.
This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.
Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers.
To learn more about Amazon Redshift Serverless, see What is Amazon Redshift Serverless (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html).
See https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21 for more information on this service.
See redshiftserverless package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/redshiftserverless/
Using the Client ¶
To contact Redshift Serverless 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 Redshift Serverless client RedshiftServerless for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/redshiftserverless/#New
Index ¶
- Constants
- func LogExport_Values() []string
- func NamespaceStatus_Values() []string
- func SnapshotStatus_Values() []string
- func UsageLimitBreachAction_Values() []string
- func UsageLimitPeriod_Values() []string
- func UsageLimitUsageType_Values() []string
- func WorkgroupStatus_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type ConfigParameter
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type ConvertRecoveryPointToSnapshotInput
- func (s ConvertRecoveryPointToSnapshotInput) GoString() string
- func (s *ConvertRecoveryPointToSnapshotInput) SetRecoveryPointId(v string) *ConvertRecoveryPointToSnapshotInput
- func (s *ConvertRecoveryPointToSnapshotInput) SetRetentionPeriod(v int64) *ConvertRecoveryPointToSnapshotInput
- func (s *ConvertRecoveryPointToSnapshotInput) SetSnapshotName(v string) *ConvertRecoveryPointToSnapshotInput
- func (s ConvertRecoveryPointToSnapshotInput) String() string
- func (s *ConvertRecoveryPointToSnapshotInput) Validate() error
- type ConvertRecoveryPointToSnapshotOutput
- type CreateEndpointAccessInput
- func (s CreateEndpointAccessInput) GoString() string
- func (s *CreateEndpointAccessInput) SetEndpointName(v string) *CreateEndpointAccessInput
- func (s *CreateEndpointAccessInput) SetSubnetIds(v []*string) *CreateEndpointAccessInput
- func (s *CreateEndpointAccessInput) SetVpcSecurityGroupIds(v []*string) *CreateEndpointAccessInput
- func (s *CreateEndpointAccessInput) SetWorkgroupName(v string) *CreateEndpointAccessInput
- func (s CreateEndpointAccessInput) String() string
- func (s *CreateEndpointAccessInput) Validate() error
- type CreateEndpointAccessOutput
- type CreateNamespaceInput
- func (s CreateNamespaceInput) GoString() string
- func (s *CreateNamespaceInput) SetAdminUserPassword(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetAdminUsername(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetDbName(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetDefaultIamRoleArn(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetIamRoles(v []*string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetKmsKeyId(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetLogExports(v []*string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetNamespaceName(v string) *CreateNamespaceInput
- func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput
- func (s CreateNamespaceInput) String() string
- func (s *CreateNamespaceInput) Validate() error
- type CreateNamespaceOutput
- type CreateSnapshotInput
- func (s CreateSnapshotInput) GoString() string
- func (s *CreateSnapshotInput) SetNamespaceName(v string) *CreateSnapshotInput
- func (s *CreateSnapshotInput) SetRetentionPeriod(v int64) *CreateSnapshotInput
- func (s *CreateSnapshotInput) SetSnapshotName(v string) *CreateSnapshotInput
- func (s CreateSnapshotInput) String() string
- func (s *CreateSnapshotInput) Validate() error
- type CreateSnapshotOutput
- type CreateUsageLimitInput
- func (s CreateUsageLimitInput) GoString() string
- func (s *CreateUsageLimitInput) SetAmount(v int64) *CreateUsageLimitInput
- func (s *CreateUsageLimitInput) SetBreachAction(v string) *CreateUsageLimitInput
- func (s *CreateUsageLimitInput) SetPeriod(v string) *CreateUsageLimitInput
- func (s *CreateUsageLimitInput) SetResourceArn(v string) *CreateUsageLimitInput
- func (s *CreateUsageLimitInput) SetUsageType(v string) *CreateUsageLimitInput
- func (s CreateUsageLimitInput) String() string
- func (s *CreateUsageLimitInput) Validate() error
- type CreateUsageLimitOutput
- type CreateWorkgroupInput
- func (s CreateWorkgroupInput) GoString() string
- func (s *CreateWorkgroupInput) SetBaseCapacity(v int64) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetConfigParameters(v []*ConfigParameter) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetEnhancedVpcRouting(v bool) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetNamespaceName(v string) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetPubliclyAccessible(v bool) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetSecurityGroupIds(v []*string) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetSubnetIds(v []*string) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetTags(v []*Tag) *CreateWorkgroupInput
- func (s *CreateWorkgroupInput) SetWorkgroupName(v string) *CreateWorkgroupInput
- func (s CreateWorkgroupInput) String() string
- func (s *CreateWorkgroupInput) Validate() error
- type CreateWorkgroupOutput
- type DeleteEndpointAccessInput
- type DeleteEndpointAccessOutput
- type DeleteNamespaceInput
- func (s DeleteNamespaceInput) GoString() string
- func (s *DeleteNamespaceInput) SetFinalSnapshotName(v string) *DeleteNamespaceInput
- func (s *DeleteNamespaceInput) SetFinalSnapshotRetentionPeriod(v int64) *DeleteNamespaceInput
- func (s *DeleteNamespaceInput) SetNamespaceName(v string) *DeleteNamespaceInput
- func (s DeleteNamespaceInput) String() string
- func (s *DeleteNamespaceInput) Validate() error
- type DeleteNamespaceOutput
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteSnapshotInput
- type DeleteSnapshotOutput
- type DeleteUsageLimitInput
- type DeleteUsageLimitOutput
- type DeleteWorkgroupInput
- type DeleteWorkgroupOutput
- type Endpoint
- type EndpointAccess
- func (s EndpointAccess) GoString() string
- func (s *EndpointAccess) SetAddress(v string) *EndpointAccess
- func (s *EndpointAccess) SetEndpointArn(v string) *EndpointAccess
- func (s *EndpointAccess) SetEndpointCreateTime(v time.Time) *EndpointAccess
- func (s *EndpointAccess) SetEndpointName(v string) *EndpointAccess
- func (s *EndpointAccess) SetEndpointStatus(v string) *EndpointAccess
- func (s *EndpointAccess) SetPort(v int64) *EndpointAccess
- func (s *EndpointAccess) SetSubnetIds(v []*string) *EndpointAccess
- func (s *EndpointAccess) SetVpcEndpoint(v *VpcEndpoint) *EndpointAccess
- func (s *EndpointAccess) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *EndpointAccess
- func (s *EndpointAccess) SetWorkgroupName(v string) *EndpointAccess
- func (s EndpointAccess) String() string
- type GetCredentialsInput
- func (s GetCredentialsInput) GoString() string
- func (s *GetCredentialsInput) SetDbName(v string) *GetCredentialsInput
- func (s *GetCredentialsInput) SetDurationSeconds(v int64) *GetCredentialsInput
- func (s *GetCredentialsInput) SetWorkgroupName(v string) *GetCredentialsInput
- func (s GetCredentialsInput) String() string
- func (s *GetCredentialsInput) Validate() error
- type GetCredentialsOutput
- func (s GetCredentialsOutput) GoString() string
- func (s *GetCredentialsOutput) SetDbPassword(v string) *GetCredentialsOutput
- func (s *GetCredentialsOutput) SetDbUser(v string) *GetCredentialsOutput
- func (s *GetCredentialsOutput) SetExpiration(v time.Time) *GetCredentialsOutput
- func (s *GetCredentialsOutput) SetNextRefreshTime(v time.Time) *GetCredentialsOutput
- func (s GetCredentialsOutput) String() string
- type GetEndpointAccessInput
- type GetEndpointAccessOutput
- type GetNamespaceInput
- type GetNamespaceOutput
- type GetRecoveryPointInput
- type GetRecoveryPointOutput
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type GetSnapshotInput
- type GetSnapshotOutput
- type GetUsageLimitInput
- type GetUsageLimitOutput
- type GetWorkgroupInput
- type GetWorkgroupOutput
- type InsufficientCapacityException
- func (s *InsufficientCapacityException) Code() string
- func (s *InsufficientCapacityException) Error() string
- func (s InsufficientCapacityException) GoString() string
- func (s *InsufficientCapacityException) Message() string
- func (s *InsufficientCapacityException) OrigErr() error
- func (s *InsufficientCapacityException) RequestID() string
- func (s *InsufficientCapacityException) StatusCode() int
- func (s InsufficientCapacityException) String() string
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type InvalidPaginationException
- func (s *InvalidPaginationException) Code() string
- func (s *InvalidPaginationException) Error() string
- func (s InvalidPaginationException) GoString() string
- func (s *InvalidPaginationException) Message() string
- func (s *InvalidPaginationException) OrigErr() error
- func (s *InvalidPaginationException) RequestID() string
- func (s *InvalidPaginationException) StatusCode() int
- func (s InvalidPaginationException) String() string
- type ListEndpointAccessInput
- func (s ListEndpointAccessInput) GoString() string
- func (s *ListEndpointAccessInput) SetMaxResults(v int64) *ListEndpointAccessInput
- func (s *ListEndpointAccessInput) SetNextToken(v string) *ListEndpointAccessInput
- func (s *ListEndpointAccessInput) SetVpcId(v string) *ListEndpointAccessInput
- func (s *ListEndpointAccessInput) SetWorkgroupName(v string) *ListEndpointAccessInput
- func (s ListEndpointAccessInput) String() string
- func (s *ListEndpointAccessInput) Validate() error
- type ListEndpointAccessOutput
- type ListNamespacesInput
- type ListNamespacesOutput
- type ListRecoveryPointsInput
- func (s ListRecoveryPointsInput) GoString() string
- func (s *ListRecoveryPointsInput) SetEndTime(v time.Time) *ListRecoveryPointsInput
- func (s *ListRecoveryPointsInput) SetMaxResults(v int64) *ListRecoveryPointsInput
- func (s *ListRecoveryPointsInput) SetNamespaceName(v string) *ListRecoveryPointsInput
- func (s *ListRecoveryPointsInput) SetNextToken(v string) *ListRecoveryPointsInput
- func (s *ListRecoveryPointsInput) SetStartTime(v time.Time) *ListRecoveryPointsInput
- func (s ListRecoveryPointsInput) String() string
- func (s *ListRecoveryPointsInput) Validate() error
- type ListRecoveryPointsOutput
- type ListSnapshotsInput
- func (s ListSnapshotsInput) GoString() string
- func (s *ListSnapshotsInput) SetEndTime(v time.Time) *ListSnapshotsInput
- func (s *ListSnapshotsInput) SetMaxResults(v int64) *ListSnapshotsInput
- func (s *ListSnapshotsInput) SetNamespaceArn(v string) *ListSnapshotsInput
- func (s *ListSnapshotsInput) SetNamespaceName(v string) *ListSnapshotsInput
- func (s *ListSnapshotsInput) SetNextToken(v string) *ListSnapshotsInput
- func (s *ListSnapshotsInput) SetOwnerAccount(v string) *ListSnapshotsInput
- func (s *ListSnapshotsInput) SetStartTime(v time.Time) *ListSnapshotsInput
- func (s ListSnapshotsInput) String() string
- func (s *ListSnapshotsInput) Validate() error
- type ListSnapshotsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListUsageLimitsInput
- func (s ListUsageLimitsInput) GoString() string
- func (s *ListUsageLimitsInput) SetMaxResults(v int64) *ListUsageLimitsInput
- func (s *ListUsageLimitsInput) SetNextToken(v string) *ListUsageLimitsInput
- func (s *ListUsageLimitsInput) SetResourceArn(v string) *ListUsageLimitsInput
- func (s *ListUsageLimitsInput) SetUsageType(v string) *ListUsageLimitsInput
- func (s ListUsageLimitsInput) String() string
- func (s *ListUsageLimitsInput) Validate() error
- type ListUsageLimitsOutput
- type ListWorkgroupsInput
- type ListWorkgroupsOutput
- type Namespace
- func (s Namespace) GoString() string
- func (s *Namespace) SetAdminUsername(v string) *Namespace
- func (s *Namespace) SetCreationDate(v time.Time) *Namespace
- func (s *Namespace) SetDbName(v string) *Namespace
- func (s *Namespace) SetDefaultIamRoleArn(v string) *Namespace
- func (s *Namespace) SetIamRoles(v []*string) *Namespace
- func (s *Namespace) SetKmsKeyId(v string) *Namespace
- func (s *Namespace) SetLogExports(v []*string) *Namespace
- func (s *Namespace) SetNamespaceArn(v string) *Namespace
- func (s *Namespace) SetNamespaceId(v string) *Namespace
- func (s *Namespace) SetNamespaceName(v string) *Namespace
- func (s *Namespace) SetStatus(v string) *Namespace
- func (s Namespace) String() string
- type NetworkInterface
- func (s NetworkInterface) GoString() string
- func (s *NetworkInterface) SetAvailabilityZone(v string) *NetworkInterface
- func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface
- func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface
- func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface
- func (s NetworkInterface) String() string
- type PutResourcePolicyInput
- func (s PutResourcePolicyInput) GoString() string
- func (s *PutResourcePolicyInput) SetPolicy(v string) *PutResourcePolicyInput
- func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput
- func (s PutResourcePolicyInput) String() string
- func (s *PutResourcePolicyInput) Validate() error
- type PutResourcePolicyOutput
- type RecoveryPoint
- func (s RecoveryPoint) GoString() string
- func (s *RecoveryPoint) SetNamespaceName(v string) *RecoveryPoint
- func (s *RecoveryPoint) SetRecoveryPointCreateTime(v time.Time) *RecoveryPoint
- func (s *RecoveryPoint) SetRecoveryPointId(v string) *RecoveryPoint
- func (s *RecoveryPoint) SetTotalSizeInMegaBytes(v float64) *RecoveryPoint
- func (s *RecoveryPoint) SetWorkgroupName(v string) *RecoveryPoint
- func (s RecoveryPoint) String() string
- type RedshiftServerless
- func (c *RedshiftServerless) ConvertRecoveryPointToSnapshot(input *ConvertRecoveryPointToSnapshotInput) (*ConvertRecoveryPointToSnapshotOutput, error)
- func (c *RedshiftServerless) ConvertRecoveryPointToSnapshotRequest(input *ConvertRecoveryPointToSnapshotInput) (req *request.Request, output *ConvertRecoveryPointToSnapshotOutput)
- func (c *RedshiftServerless) ConvertRecoveryPointToSnapshotWithContext(ctx aws.Context, input *ConvertRecoveryPointToSnapshotInput, ...) (*ConvertRecoveryPointToSnapshotOutput, error)
- func (c *RedshiftServerless) CreateEndpointAccess(input *CreateEndpointAccessInput) (*CreateEndpointAccessOutput, error)
- func (c *RedshiftServerless) CreateEndpointAccessRequest(input *CreateEndpointAccessInput) (req *request.Request, output *CreateEndpointAccessOutput)
- func (c *RedshiftServerless) CreateEndpointAccessWithContext(ctx aws.Context, input *CreateEndpointAccessInput, opts ...request.Option) (*CreateEndpointAccessOutput, error)
- func (c *RedshiftServerless) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error)
- func (c *RedshiftServerless) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput)
- func (c *RedshiftServerless) CreateNamespaceWithContext(ctx aws.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error)
- func (c *RedshiftServerless) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error)
- func (c *RedshiftServerless) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput)
- func (c *RedshiftServerless) CreateSnapshotWithContext(ctx aws.Context, input *CreateSnapshotInput, opts ...request.Option) (*CreateSnapshotOutput, error)
- func (c *RedshiftServerless) CreateUsageLimit(input *CreateUsageLimitInput) (*CreateUsageLimitOutput, error)
- func (c *RedshiftServerless) CreateUsageLimitRequest(input *CreateUsageLimitInput) (req *request.Request, output *CreateUsageLimitOutput)
- func (c *RedshiftServerless) CreateUsageLimitWithContext(ctx aws.Context, input *CreateUsageLimitInput, opts ...request.Option) (*CreateUsageLimitOutput, error)
- func (c *RedshiftServerless) CreateWorkgroup(input *CreateWorkgroupInput) (*CreateWorkgroupOutput, error)
- func (c *RedshiftServerless) CreateWorkgroupRequest(input *CreateWorkgroupInput) (req *request.Request, output *CreateWorkgroupOutput)
- func (c *RedshiftServerless) CreateWorkgroupWithContext(ctx aws.Context, input *CreateWorkgroupInput, opts ...request.Option) (*CreateWorkgroupOutput, error)
- func (c *RedshiftServerless) DeleteEndpointAccess(input *DeleteEndpointAccessInput) (*DeleteEndpointAccessOutput, error)
- func (c *RedshiftServerless) DeleteEndpointAccessRequest(input *DeleteEndpointAccessInput) (req *request.Request, output *DeleteEndpointAccessOutput)
- func (c *RedshiftServerless) DeleteEndpointAccessWithContext(ctx aws.Context, input *DeleteEndpointAccessInput, opts ...request.Option) (*DeleteEndpointAccessOutput, error)
- func (c *RedshiftServerless) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error)
- func (c *RedshiftServerless) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput)
- func (c *RedshiftServerless) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error)
- func (c *RedshiftServerless) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)
- func (c *RedshiftServerless) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)
- func (c *RedshiftServerless) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)
- func (c *RedshiftServerless) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error)
- func (c *RedshiftServerless) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput)
- func (c *RedshiftServerless) DeleteSnapshotWithContext(ctx aws.Context, input *DeleteSnapshotInput, opts ...request.Option) (*DeleteSnapshotOutput, error)
- func (c *RedshiftServerless) DeleteUsageLimit(input *DeleteUsageLimitInput) (*DeleteUsageLimitOutput, error)
- func (c *RedshiftServerless) DeleteUsageLimitRequest(input *DeleteUsageLimitInput) (req *request.Request, output *DeleteUsageLimitOutput)
- func (c *RedshiftServerless) DeleteUsageLimitWithContext(ctx aws.Context, input *DeleteUsageLimitInput, opts ...request.Option) (*DeleteUsageLimitOutput, error)
- func (c *RedshiftServerless) DeleteWorkgroup(input *DeleteWorkgroupInput) (*DeleteWorkgroupOutput, error)
- func (c *RedshiftServerless) DeleteWorkgroupRequest(input *DeleteWorkgroupInput) (req *request.Request, output *DeleteWorkgroupOutput)
- func (c *RedshiftServerless) DeleteWorkgroupWithContext(ctx aws.Context, input *DeleteWorkgroupInput, opts ...request.Option) (*DeleteWorkgroupOutput, error)
- func (c *RedshiftServerless) GetCredentials(input *GetCredentialsInput) (*GetCredentialsOutput, error)
- func (c *RedshiftServerless) GetCredentialsRequest(input *GetCredentialsInput) (req *request.Request, output *GetCredentialsOutput)
- func (c *RedshiftServerless) GetCredentialsWithContext(ctx aws.Context, input *GetCredentialsInput, opts ...request.Option) (*GetCredentialsOutput, error)
- func (c *RedshiftServerless) GetEndpointAccess(input *GetEndpointAccessInput) (*GetEndpointAccessOutput, error)
- func (c *RedshiftServerless) GetEndpointAccessRequest(input *GetEndpointAccessInput) (req *request.Request, output *GetEndpointAccessOutput)
- func (c *RedshiftServerless) GetEndpointAccessWithContext(ctx aws.Context, input *GetEndpointAccessInput, opts ...request.Option) (*GetEndpointAccessOutput, error)
- func (c *RedshiftServerless) GetNamespace(input *GetNamespaceInput) (*GetNamespaceOutput, error)
- func (c *RedshiftServerless) GetNamespaceRequest(input *GetNamespaceInput) (req *request.Request, output *GetNamespaceOutput)
- func (c *RedshiftServerless) GetNamespaceWithContext(ctx aws.Context, input *GetNamespaceInput, opts ...request.Option) (*GetNamespaceOutput, error)
- func (c *RedshiftServerless) GetRecoveryPoint(input *GetRecoveryPointInput) (*GetRecoveryPointOutput, error)
- func (c *RedshiftServerless) GetRecoveryPointRequest(input *GetRecoveryPointInput) (req *request.Request, output *GetRecoveryPointOutput)
- func (c *RedshiftServerless) GetRecoveryPointWithContext(ctx aws.Context, input *GetRecoveryPointInput, opts ...request.Option) (*GetRecoveryPointOutput, error)
- func (c *RedshiftServerless) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
- func (c *RedshiftServerless) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)
- func (c *RedshiftServerless) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)
- func (c *RedshiftServerless) GetSnapshot(input *GetSnapshotInput) (*GetSnapshotOutput, error)
- func (c *RedshiftServerless) GetSnapshotRequest(input *GetSnapshotInput) (req *request.Request, output *GetSnapshotOutput)
- func (c *RedshiftServerless) GetSnapshotWithContext(ctx aws.Context, input *GetSnapshotInput, opts ...request.Option) (*GetSnapshotOutput, error)
- func (c *RedshiftServerless) GetUsageLimit(input *GetUsageLimitInput) (*GetUsageLimitOutput, error)
- func (c *RedshiftServerless) GetUsageLimitRequest(input *GetUsageLimitInput) (req *request.Request, output *GetUsageLimitOutput)
- func (c *RedshiftServerless) GetUsageLimitWithContext(ctx aws.Context, input *GetUsageLimitInput, opts ...request.Option) (*GetUsageLimitOutput, error)
- func (c *RedshiftServerless) GetWorkgroup(input *GetWorkgroupInput) (*GetWorkgroupOutput, error)
- func (c *RedshiftServerless) GetWorkgroupRequest(input *GetWorkgroupInput) (req *request.Request, output *GetWorkgroupOutput)
- func (c *RedshiftServerless) GetWorkgroupWithContext(ctx aws.Context, input *GetWorkgroupInput, opts ...request.Option) (*GetWorkgroupOutput, error)
- func (c *RedshiftServerless) ListEndpointAccess(input *ListEndpointAccessInput) (*ListEndpointAccessOutput, error)
- func (c *RedshiftServerless) ListEndpointAccessPages(input *ListEndpointAccessInput, fn func(*ListEndpointAccessOutput, bool) bool) error
- func (c *RedshiftServerless) ListEndpointAccessPagesWithContext(ctx aws.Context, input *ListEndpointAccessInput, ...) error
- func (c *RedshiftServerless) ListEndpointAccessRequest(input *ListEndpointAccessInput) (req *request.Request, output *ListEndpointAccessOutput)
- func (c *RedshiftServerless) ListEndpointAccessWithContext(ctx aws.Context, input *ListEndpointAccessInput, opts ...request.Option) (*ListEndpointAccessOutput, error)
- func (c *RedshiftServerless) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error)
- func (c *RedshiftServerless) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error
- func (c *RedshiftServerless) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, ...) error
- func (c *RedshiftServerless) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput)
- func (c *RedshiftServerless) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error)
- func (c *RedshiftServerless) ListRecoveryPoints(input *ListRecoveryPointsInput) (*ListRecoveryPointsOutput, error)
- func (c *RedshiftServerless) ListRecoveryPointsPages(input *ListRecoveryPointsInput, fn func(*ListRecoveryPointsOutput, bool) bool) error
- func (c *RedshiftServerless) ListRecoveryPointsPagesWithContext(ctx aws.Context, input *ListRecoveryPointsInput, ...) error
- func (c *RedshiftServerless) ListRecoveryPointsRequest(input *ListRecoveryPointsInput) (req *request.Request, output *ListRecoveryPointsOutput)
- func (c *RedshiftServerless) ListRecoveryPointsWithContext(ctx aws.Context, input *ListRecoveryPointsInput, opts ...request.Option) (*ListRecoveryPointsOutput, error)
- func (c *RedshiftServerless) ListSnapshots(input *ListSnapshotsInput) (*ListSnapshotsOutput, error)
- func (c *RedshiftServerless) ListSnapshotsPages(input *ListSnapshotsInput, fn func(*ListSnapshotsOutput, bool) bool) error
- func (c *RedshiftServerless) ListSnapshotsPagesWithContext(ctx aws.Context, input *ListSnapshotsInput, ...) error
- func (c *RedshiftServerless) ListSnapshotsRequest(input *ListSnapshotsInput) (req *request.Request, output *ListSnapshotsOutput)
- func (c *RedshiftServerless) ListSnapshotsWithContext(ctx aws.Context, input *ListSnapshotsInput, opts ...request.Option) (*ListSnapshotsOutput, error)
- func (c *RedshiftServerless) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *RedshiftServerless) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *RedshiftServerless) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *RedshiftServerless) ListUsageLimits(input *ListUsageLimitsInput) (*ListUsageLimitsOutput, error)
- func (c *RedshiftServerless) ListUsageLimitsPages(input *ListUsageLimitsInput, fn func(*ListUsageLimitsOutput, bool) bool) error
- func (c *RedshiftServerless) ListUsageLimitsPagesWithContext(ctx aws.Context, input *ListUsageLimitsInput, ...) error
- func (c *RedshiftServerless) ListUsageLimitsRequest(input *ListUsageLimitsInput) (req *request.Request, output *ListUsageLimitsOutput)
- func (c *RedshiftServerless) ListUsageLimitsWithContext(ctx aws.Context, input *ListUsageLimitsInput, opts ...request.Option) (*ListUsageLimitsOutput, error)
- func (c *RedshiftServerless) ListWorkgroups(input *ListWorkgroupsInput) (*ListWorkgroupsOutput, error)
- func (c *RedshiftServerless) ListWorkgroupsPages(input *ListWorkgroupsInput, fn func(*ListWorkgroupsOutput, bool) bool) error
- func (c *RedshiftServerless) ListWorkgroupsPagesWithContext(ctx aws.Context, input *ListWorkgroupsInput, ...) error
- func (c *RedshiftServerless) ListWorkgroupsRequest(input *ListWorkgroupsInput) (req *request.Request, output *ListWorkgroupsOutput)
- func (c *RedshiftServerless) ListWorkgroupsWithContext(ctx aws.Context, input *ListWorkgroupsInput, opts ...request.Option) (*ListWorkgroupsOutput, error)
- func (c *RedshiftServerless) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
- func (c *RedshiftServerless) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)
- func (c *RedshiftServerless) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)
- func (c *RedshiftServerless) RestoreFromRecoveryPoint(input *RestoreFromRecoveryPointInput) (*RestoreFromRecoveryPointOutput, error)
- func (c *RedshiftServerless) RestoreFromRecoveryPointRequest(input *RestoreFromRecoveryPointInput) (req *request.Request, output *RestoreFromRecoveryPointOutput)
- func (c *RedshiftServerless) RestoreFromRecoveryPointWithContext(ctx aws.Context, input *RestoreFromRecoveryPointInput, opts ...request.Option) (*RestoreFromRecoveryPointOutput, error)
- func (c *RedshiftServerless) RestoreFromSnapshot(input *RestoreFromSnapshotInput) (*RestoreFromSnapshotOutput, error)
- func (c *RedshiftServerless) RestoreFromSnapshotRequest(input *RestoreFromSnapshotInput) (req *request.Request, output *RestoreFromSnapshotOutput)
- func (c *RedshiftServerless) RestoreFromSnapshotWithContext(ctx aws.Context, input *RestoreFromSnapshotInput, opts ...request.Option) (*RestoreFromSnapshotOutput, error)
- func (c *RedshiftServerless) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *RedshiftServerless) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *RedshiftServerless) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *RedshiftServerless) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *RedshiftServerless) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *RedshiftServerless) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *RedshiftServerless) UpdateEndpointAccess(input *UpdateEndpointAccessInput) (*UpdateEndpointAccessOutput, error)
- func (c *RedshiftServerless) UpdateEndpointAccessRequest(input *UpdateEndpointAccessInput) (req *request.Request, output *UpdateEndpointAccessOutput)
- func (c *RedshiftServerless) UpdateEndpointAccessWithContext(ctx aws.Context, input *UpdateEndpointAccessInput, opts ...request.Option) (*UpdateEndpointAccessOutput, error)
- func (c *RedshiftServerless) UpdateNamespace(input *UpdateNamespaceInput) (*UpdateNamespaceOutput, error)
- func (c *RedshiftServerless) UpdateNamespaceRequest(input *UpdateNamespaceInput) (req *request.Request, output *UpdateNamespaceOutput)
- func (c *RedshiftServerless) UpdateNamespaceWithContext(ctx aws.Context, input *UpdateNamespaceInput, opts ...request.Option) (*UpdateNamespaceOutput, error)
- func (c *RedshiftServerless) UpdateSnapshot(input *UpdateSnapshotInput) (*UpdateSnapshotOutput, error)
- func (c *RedshiftServerless) UpdateSnapshotRequest(input *UpdateSnapshotInput) (req *request.Request, output *UpdateSnapshotOutput)
- func (c *RedshiftServerless) UpdateSnapshotWithContext(ctx aws.Context, input *UpdateSnapshotInput, opts ...request.Option) (*UpdateSnapshotOutput, error)
- func (c *RedshiftServerless) UpdateUsageLimit(input *UpdateUsageLimitInput) (*UpdateUsageLimitOutput, error)
- func (c *RedshiftServerless) UpdateUsageLimitRequest(input *UpdateUsageLimitInput) (req *request.Request, output *UpdateUsageLimitOutput)
- func (c *RedshiftServerless) UpdateUsageLimitWithContext(ctx aws.Context, input *UpdateUsageLimitInput, opts ...request.Option) (*UpdateUsageLimitOutput, error)
- func (c *RedshiftServerless) UpdateWorkgroup(input *UpdateWorkgroupInput) (*UpdateWorkgroupOutput, error)
- func (c *RedshiftServerless) UpdateWorkgroupRequest(input *UpdateWorkgroupInput) (req *request.Request, output *UpdateWorkgroupOutput)
- func (c *RedshiftServerless) UpdateWorkgroupWithContext(ctx aws.Context, input *UpdateWorkgroupInput, opts ...request.Option) (*UpdateWorkgroupOutput, error)
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ResourcePolicy
- type RestoreFromRecoveryPointInput
- func (s RestoreFromRecoveryPointInput) GoString() string
- func (s *RestoreFromRecoveryPointInput) SetNamespaceName(v string) *RestoreFromRecoveryPointInput
- func (s *RestoreFromRecoveryPointInput) SetRecoveryPointId(v string) *RestoreFromRecoveryPointInput
- func (s *RestoreFromRecoveryPointInput) SetWorkgroupName(v string) *RestoreFromRecoveryPointInput
- func (s RestoreFromRecoveryPointInput) String() string
- func (s *RestoreFromRecoveryPointInput) Validate() error
- type RestoreFromRecoveryPointOutput
- func (s RestoreFromRecoveryPointOutput) GoString() string
- func (s *RestoreFromRecoveryPointOutput) SetNamespace(v *Namespace) *RestoreFromRecoveryPointOutput
- func (s *RestoreFromRecoveryPointOutput) SetRecoveryPointId(v string) *RestoreFromRecoveryPointOutput
- func (s RestoreFromRecoveryPointOutput) String() string
- type RestoreFromSnapshotInput
- func (s RestoreFromSnapshotInput) GoString() string
- func (s *RestoreFromSnapshotInput) SetNamespaceName(v string) *RestoreFromSnapshotInput
- func (s *RestoreFromSnapshotInput) SetOwnerAccount(v string) *RestoreFromSnapshotInput
- func (s *RestoreFromSnapshotInput) SetSnapshotArn(v string) *RestoreFromSnapshotInput
- func (s *RestoreFromSnapshotInput) SetSnapshotName(v string) *RestoreFromSnapshotInput
- func (s *RestoreFromSnapshotInput) SetWorkgroupName(v string) *RestoreFromSnapshotInput
- func (s RestoreFromSnapshotInput) String() string
- func (s *RestoreFromSnapshotInput) Validate() error
- type RestoreFromSnapshotOutput
- func (s RestoreFromSnapshotOutput) GoString() string
- func (s *RestoreFromSnapshotOutput) SetNamespace(v *Namespace) *RestoreFromSnapshotOutput
- func (s *RestoreFromSnapshotOutput) SetOwnerAccount(v string) *RestoreFromSnapshotOutput
- func (s *RestoreFromSnapshotOutput) SetSnapshotName(v string) *RestoreFromSnapshotOutput
- func (s RestoreFromSnapshotOutput) String() string
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type Snapshot
- func (s Snapshot) GoString() string
- func (s *Snapshot) SetAccountsWithProvisionedRestoreAccess(v []*string) *Snapshot
- func (s *Snapshot) SetAccountsWithRestoreAccess(v []*string) *Snapshot
- func (s *Snapshot) SetActualIncrementalBackupSizeInMegaBytes(v float64) *Snapshot
- func (s *Snapshot) SetAdminUsername(v string) *Snapshot
- func (s *Snapshot) SetBackupProgressInMegaBytes(v float64) *Snapshot
- func (s *Snapshot) SetCurrentBackupRateInMegaBytesPerSecond(v float64) *Snapshot
- func (s *Snapshot) SetElapsedTimeInSeconds(v int64) *Snapshot
- func (s *Snapshot) SetEstimatedSecondsToCompletion(v int64) *Snapshot
- func (s *Snapshot) SetKmsKeyId(v string) *Snapshot
- func (s *Snapshot) SetNamespaceArn(v string) *Snapshot
- func (s *Snapshot) SetNamespaceName(v string) *Snapshot
- func (s *Snapshot) SetOwnerAccount(v string) *Snapshot
- func (s *Snapshot) SetSnapshotArn(v string) *Snapshot
- func (s *Snapshot) SetSnapshotCreateTime(v time.Time) *Snapshot
- func (s *Snapshot) SetSnapshotName(v string) *Snapshot
- func (s *Snapshot) SetSnapshotRemainingDays(v int64) *Snapshot
- func (s *Snapshot) SetSnapshotRetentionPeriod(v int64) *Snapshot
- func (s *Snapshot) SetSnapshotRetentionStartTime(v time.Time) *Snapshot
- func (s *Snapshot) SetStatus(v string) *Snapshot
- func (s *Snapshot) SetTotalBackupSizeInMegaBytes(v float64) *Snapshot
- func (s Snapshot) String() string
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TooManyTagsException
- func (s *TooManyTagsException) Code() string
- func (s *TooManyTagsException) Error() string
- func (s TooManyTagsException) GoString() string
- func (s *TooManyTagsException) Message() string
- func (s *TooManyTagsException) OrigErr() error
- func (s *TooManyTagsException) RequestID() string
- func (s *TooManyTagsException) StatusCode() int
- func (s TooManyTagsException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateEndpointAccessInput
- func (s UpdateEndpointAccessInput) GoString() string
- func (s *UpdateEndpointAccessInput) SetEndpointName(v string) *UpdateEndpointAccessInput
- func (s *UpdateEndpointAccessInput) SetVpcSecurityGroupIds(v []*string) *UpdateEndpointAccessInput
- func (s UpdateEndpointAccessInput) String() string
- func (s *UpdateEndpointAccessInput) Validate() error
- type UpdateEndpointAccessOutput
- type UpdateNamespaceInput
- func (s UpdateNamespaceInput) GoString() string
- func (s *UpdateNamespaceInput) SetAdminUserPassword(v string) *UpdateNamespaceInput
- func (s *UpdateNamespaceInput) SetAdminUsername(v string) *UpdateNamespaceInput
- func (s *UpdateNamespaceInput) SetDefaultIamRoleArn(v string) *UpdateNamespaceInput
- func (s *UpdateNamespaceInput) SetIamRoles(v []*string) *UpdateNamespaceInput
- func (s *UpdateNamespaceInput) SetKmsKeyId(v string) *UpdateNamespaceInput
- func (s *UpdateNamespaceInput) SetLogExports(v []*string) *UpdateNamespaceInput
- func (s *UpdateNamespaceInput) SetNamespaceName(v string) *UpdateNamespaceInput
- func (s UpdateNamespaceInput) String() string
- func (s *UpdateNamespaceInput) Validate() error
- type UpdateNamespaceOutput
- type UpdateSnapshotInput
- type UpdateSnapshotOutput
- type UpdateUsageLimitInput
- func (s UpdateUsageLimitInput) GoString() string
- func (s *UpdateUsageLimitInput) SetAmount(v int64) *UpdateUsageLimitInput
- func (s *UpdateUsageLimitInput) SetBreachAction(v string) *UpdateUsageLimitInput
- func (s *UpdateUsageLimitInput) SetUsageLimitId(v string) *UpdateUsageLimitInput
- func (s UpdateUsageLimitInput) String() string
- func (s *UpdateUsageLimitInput) Validate() error
- type UpdateUsageLimitOutput
- type UpdateWorkgroupInput
- func (s UpdateWorkgroupInput) GoString() string
- func (s *UpdateWorkgroupInput) SetBaseCapacity(v int64) *UpdateWorkgroupInput
- func (s *UpdateWorkgroupInput) SetConfigParameters(v []*ConfigParameter) *UpdateWorkgroupInput
- func (s *UpdateWorkgroupInput) SetEnhancedVpcRouting(v bool) *UpdateWorkgroupInput
- func (s *UpdateWorkgroupInput) SetPubliclyAccessible(v bool) *UpdateWorkgroupInput
- func (s *UpdateWorkgroupInput) SetSecurityGroupIds(v []*string) *UpdateWorkgroupInput
- func (s *UpdateWorkgroupInput) SetSubnetIds(v []*string) *UpdateWorkgroupInput
- func (s *UpdateWorkgroupInput) SetWorkgroupName(v string) *UpdateWorkgroupInput
- func (s UpdateWorkgroupInput) String() string
- func (s *UpdateWorkgroupInput) Validate() error
- type UpdateWorkgroupOutput
- type UsageLimit
- func (s UsageLimit) GoString() string
- func (s *UsageLimit) SetAmount(v int64) *UsageLimit
- func (s *UsageLimit) SetBreachAction(v string) *UsageLimit
- func (s *UsageLimit) SetPeriod(v string) *UsageLimit
- func (s *UsageLimit) SetResourceArn(v string) *UsageLimit
- func (s *UsageLimit) SetUsageLimitArn(v string) *UsageLimit
- func (s *UsageLimit) SetUsageLimitId(v string) *UsageLimit
- func (s *UsageLimit) SetUsageType(v string) *UsageLimit
- func (s UsageLimit) String() string
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type VpcEndpoint
- type VpcSecurityGroupMembership
- type Workgroup
- func (s Workgroup) GoString() string
- func (s *Workgroup) SetBaseCapacity(v int64) *Workgroup
- func (s *Workgroup) SetConfigParameters(v []*ConfigParameter) *Workgroup
- func (s *Workgroup) SetCreationDate(v time.Time) *Workgroup
- func (s *Workgroup) SetEndpoint(v *Endpoint) *Workgroup
- func (s *Workgroup) SetEnhancedVpcRouting(v bool) *Workgroup
- func (s *Workgroup) SetNamespaceName(v string) *Workgroup
- func (s *Workgroup) SetPubliclyAccessible(v bool) *Workgroup
- func (s *Workgroup) SetSecurityGroupIds(v []*string) *Workgroup
- func (s *Workgroup) SetStatus(v string) *Workgroup
- func (s *Workgroup) SetSubnetIds(v []*string) *Workgroup
- func (s *Workgroup) SetWorkgroupArn(v string) *Workgroup
- func (s *Workgroup) SetWorkgroupId(v string) *Workgroup
- func (s *Workgroup) SetWorkgroupName(v string) *Workgroup
- func (s Workgroup) String() string
Constants ¶
const ( // LogExportUseractivitylog is a LogExport enum value LogExportUseractivitylog = "useractivitylog" // LogExportUserlog is a LogExport enum value LogExportUserlog = "userlog" // LogExportConnectionlog is a LogExport enum value LogExportConnectionlog = "connectionlog" )
const ( // NamespaceStatusAvailable is a NamespaceStatus enum value NamespaceStatusAvailable = "AVAILABLE" // NamespaceStatusModifying is a NamespaceStatus enum value NamespaceStatusModifying = "MODIFYING" // NamespaceStatusDeleting is a NamespaceStatus enum value NamespaceStatusDeleting = "DELETING" )
const ( // SnapshotStatusAvailable is a SnapshotStatus enum value SnapshotStatusAvailable = "AVAILABLE" // SnapshotStatusCreating is a SnapshotStatus enum value SnapshotStatusCreating = "CREATING" // SnapshotStatusDeleted is a SnapshotStatus enum value SnapshotStatusDeleted = "DELETED" // SnapshotStatusCancelled is a SnapshotStatus enum value SnapshotStatusCancelled = "CANCELLED" // SnapshotStatusFailed is a SnapshotStatus enum value SnapshotStatusFailed = "FAILED" // SnapshotStatusCopying is a SnapshotStatus enum value SnapshotStatusCopying = "COPYING" )
const ( // UsageLimitBreachActionLog is a UsageLimitBreachAction enum value UsageLimitBreachActionLog = "log" // UsageLimitBreachActionEmitMetric is a UsageLimitBreachAction enum value UsageLimitBreachActionEmitMetric = "emit-metric" // UsageLimitBreachActionDeactivate is a UsageLimitBreachAction enum value UsageLimitBreachActionDeactivate = "deactivate" )
const ( // UsageLimitPeriodDaily is a UsageLimitPeriod enum value UsageLimitPeriodDaily = "daily" // UsageLimitPeriodWeekly is a UsageLimitPeriod enum value UsageLimitPeriodWeekly = "weekly" // UsageLimitPeriodMonthly is a UsageLimitPeriod enum value UsageLimitPeriodMonthly = "monthly" )
const ( // UsageLimitUsageTypeServerlessCompute is a UsageLimitUsageType enum value UsageLimitUsageTypeServerlessCompute = "serverless-compute" // UsageLimitUsageTypeCrossRegionDatasharing is a UsageLimitUsageType enum value UsageLimitUsageTypeCrossRegionDatasharing = "cross-region-datasharing" )
const ( // WorkgroupStatusCreating is a WorkgroupStatus enum value WorkgroupStatusCreating = "CREATING" // WorkgroupStatusAvailable is a WorkgroupStatus enum value WorkgroupStatusAvailable = "AVAILABLE" // WorkgroupStatusModifying is a WorkgroupStatus enum value WorkgroupStatusModifying = "MODIFYING" // WorkgroupStatusDeleting is a WorkgroupStatus enum value WorkgroupStatusDeleting = "DELETING" )
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". // // The submitted action has conflicts. ErrCodeConflictException = "ConflictException" // ErrCodeInsufficientCapacityException for service response error code // "InsufficientCapacityException". // // There is an insufficient capacity to perform the action. ErrCodeInsufficientCapacityException = "InsufficientCapacityException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The request processing has failed because of an unknown error, exception // or failure. ErrCodeInternalServerException = "InternalServerException" // ErrCodeInvalidPaginationException for service response error code // "InvalidPaginationException". // // The provided pagination token is invalid. ErrCodeInvalidPaginationException = "InvalidPaginationException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The resource could not be found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // The service limit was exceeded. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The request was denied due to request throttling. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // The request exceeded the number of tags allowed for a resource. ErrCodeTooManyTagsException = "TooManyTagsException" // ErrCodeValidationException for service response error code // "ValidationException". // // The input failed to satisfy the constraints specified by an AWS service. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "Redshift Serverless" // Name of service. EndpointsID = "redshift-serverless" // ID to lookup a service endpoint with. ServiceID = "Redshift Serverless" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func LogExport_Values ¶
func LogExport_Values() []string
LogExport_Values returns all elements of the LogExport enum
func NamespaceStatus_Values ¶
func NamespaceStatus_Values() []string
NamespaceStatus_Values returns all elements of the NamespaceStatus enum
func SnapshotStatus_Values ¶
func SnapshotStatus_Values() []string
SnapshotStatus_Values returns all elements of the SnapshotStatus enum
func UsageLimitBreachAction_Values ¶
func UsageLimitBreachAction_Values() []string
UsageLimitBreachAction_Values returns all elements of the UsageLimitBreachAction enum
func UsageLimitPeriod_Values ¶
func UsageLimitPeriod_Values() []string
UsageLimitPeriod_Values returns all elements of the UsageLimitPeriod enum
func UsageLimitUsageType_Values ¶
func UsageLimitUsageType_Values() []string
UsageLimitUsageType_Values returns all elements of the UsageLimitUsageType enum
func WorkgroupStatus_Values ¶
func WorkgroupStatus_Values() []string
WorkgroupStatus_Values returns all elements of the WorkgroupStatus enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"code" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConfigParameter ¶
type ConfigParameter struct { // The key of the parameter. The options are datestyle, enable_user_activity_logging, // query_group, search_path, and max_query_execution_time. ParameterKey *string `locationName:"parameterKey" type:"string"` // The value of the parameter to set. ParameterValue *string `locationName:"parameterValue" type:"string"` // contains filtered or unexported fields }
An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.
func (ConfigParameter) GoString ¶
func (s ConfigParameter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConfigParameter) SetParameterKey ¶
func (s *ConfigParameter) SetParameterKey(v string) *ConfigParameter
SetParameterKey sets the ParameterKey field's value.
func (*ConfigParameter) SetParameterValue ¶
func (s *ConfigParameter) SetParameterValue(v string) *ConfigParameter
SetParameterValue sets the ParameterValue field's value.
func (ConfigParameter) String ¶
func (s ConfigParameter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The submitted action has conflicts.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConvertRecoveryPointToSnapshotInput ¶
type ConvertRecoveryPointToSnapshotInput struct { // The unique identifier of the recovery point. // // RecoveryPointId is a required field RecoveryPointId *string `locationName:"recoveryPointId" type:"string" required:"true"` // How long to retain the snapshot. RetentionPeriod *int64 `locationName:"retentionPeriod" type:"integer"` // The name of the snapshot. // // SnapshotName is a required field SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
func (ConvertRecoveryPointToSnapshotInput) GoString ¶
func (s ConvertRecoveryPointToSnapshotInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConvertRecoveryPointToSnapshotInput) SetRecoveryPointId ¶
func (s *ConvertRecoveryPointToSnapshotInput) SetRecoveryPointId(v string) *ConvertRecoveryPointToSnapshotInput
SetRecoveryPointId sets the RecoveryPointId field's value.
func (*ConvertRecoveryPointToSnapshotInput) SetRetentionPeriod ¶
func (s *ConvertRecoveryPointToSnapshotInput) SetRetentionPeriod(v int64) *ConvertRecoveryPointToSnapshotInput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*ConvertRecoveryPointToSnapshotInput) SetSnapshotName ¶
func (s *ConvertRecoveryPointToSnapshotInput) SetSnapshotName(v string) *ConvertRecoveryPointToSnapshotInput
SetSnapshotName sets the SnapshotName field's value.
func (ConvertRecoveryPointToSnapshotInput) String ¶
func (s ConvertRecoveryPointToSnapshotInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConvertRecoveryPointToSnapshotInput) Validate ¶
func (s *ConvertRecoveryPointToSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConvertRecoveryPointToSnapshotOutput ¶
type ConvertRecoveryPointToSnapshotOutput struct { // The snapshot converted from the recovery point. Snapshot *Snapshot `locationName:"snapshot" type:"structure"` // contains filtered or unexported fields }
func (ConvertRecoveryPointToSnapshotOutput) GoString ¶
func (s ConvertRecoveryPointToSnapshotOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConvertRecoveryPointToSnapshotOutput) SetSnapshot ¶
func (s *ConvertRecoveryPointToSnapshotOutput) SetSnapshot(v *Snapshot) *ConvertRecoveryPointToSnapshotOutput
SetSnapshot sets the Snapshot field's value.
func (ConvertRecoveryPointToSnapshotOutput) String ¶
func (s ConvertRecoveryPointToSnapshotOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateEndpointAccessInput ¶
type CreateEndpointAccessInput struct { // The name of the VPC endpoint. An endpoint name must contain 1-30 characters. // Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must // be a letter. The name can't contain two consecutive hyphens or end with a // hyphen. // // EndpointName is a required field EndpointName *string `locationName:"endpointName" type:"string" required:"true"` // The unique identifers of subnets from which Amazon Redshift Serverless chooses // one to deploy a VPC endpoint. // // SubnetIds is a required field SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` // The unique identifiers of the security group that defines the ports, protocols, // and sources for inbound traffic that you are authorizing into your endpoint. VpcSecurityGroupIds []*string `locationName:"vpcSecurityGroupIds" type:"list"` // The name of the workgroup to associate with the VPC endpoint. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateEndpointAccessInput) GoString ¶
func (s CreateEndpointAccessInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEndpointAccessInput) SetEndpointName ¶
func (s *CreateEndpointAccessInput) SetEndpointName(v string) *CreateEndpointAccessInput
SetEndpointName sets the EndpointName field's value.
func (*CreateEndpointAccessInput) SetSubnetIds ¶
func (s *CreateEndpointAccessInput) SetSubnetIds(v []*string) *CreateEndpointAccessInput
SetSubnetIds sets the SubnetIds field's value.
func (*CreateEndpointAccessInput) SetVpcSecurityGroupIds ¶
func (s *CreateEndpointAccessInput) SetVpcSecurityGroupIds(v []*string) *CreateEndpointAccessInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (*CreateEndpointAccessInput) SetWorkgroupName ¶
func (s *CreateEndpointAccessInput) SetWorkgroupName(v string) *CreateEndpointAccessInput
SetWorkgroupName sets the WorkgroupName field's value.
func (CreateEndpointAccessInput) String ¶
func (s CreateEndpointAccessInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEndpointAccessInput) Validate ¶
func (s *CreateEndpointAccessInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateEndpointAccessOutput ¶
type CreateEndpointAccessOutput struct { // The created VPC endpoint. Endpoint *EndpointAccess `locationName:"endpoint" type:"structure"` // contains filtered or unexported fields }
func (CreateEndpointAccessOutput) GoString ¶
func (s CreateEndpointAccessOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEndpointAccessOutput) SetEndpoint ¶
func (s *CreateEndpointAccessOutput) SetEndpoint(v *EndpointAccess) *CreateEndpointAccessOutput
SetEndpoint sets the Endpoint field's value.
func (CreateEndpointAccessOutput) String ¶
func (s CreateEndpointAccessOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateNamespaceInput ¶
type CreateNamespaceInput struct { // The password of the administrator for the first database created in the namespace. // // AdminUserPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateNamespaceInput's // String and GoString methods. AdminUserPassword *string `locationName:"adminUserPassword" type:"string" sensitive:"true"` // The username of the administrator for the first database created in the namespace. // // AdminUsername is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateNamespaceInput's // String and GoString methods. AdminUsername *string `locationName:"adminUsername" type:"string" sensitive:"true"` // The name of the first database created in the namespace. DbName *string `locationName:"dbName" type:"string"` // The Amazon Resource Name (ARN) of the IAM role to set as a default in the // namespace. DefaultIamRoleArn *string `locationName:"defaultIamRoleArn" type:"string"` // A list of IAM roles to associate with the namespace. IamRoles []*string `locationName:"iamRoles" type:"list"` // The ID of the Amazon Web Services Key Management Service key used to encrypt // your data. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The types of logs the namespace can export. Available export types are userlog, // connectionlog, and useractivitylog. LogExports []*string `locationName:"logExports" type:"list" enum:"LogExport"` // The name of the namespace. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // A list of tag instances. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateNamespaceInput) GoString ¶
func (s CreateNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateNamespaceInput) SetAdminUserPassword ¶
func (s *CreateNamespaceInput) SetAdminUserPassword(v string) *CreateNamespaceInput
SetAdminUserPassword sets the AdminUserPassword field's value.
func (*CreateNamespaceInput) SetAdminUsername ¶
func (s *CreateNamespaceInput) SetAdminUsername(v string) *CreateNamespaceInput
SetAdminUsername sets the AdminUsername field's value.
func (*CreateNamespaceInput) SetDbName ¶
func (s *CreateNamespaceInput) SetDbName(v string) *CreateNamespaceInput
SetDbName sets the DbName field's value.
func (*CreateNamespaceInput) SetDefaultIamRoleArn ¶
func (s *CreateNamespaceInput) SetDefaultIamRoleArn(v string) *CreateNamespaceInput
SetDefaultIamRoleArn sets the DefaultIamRoleArn field's value.
func (*CreateNamespaceInput) SetIamRoles ¶
func (s *CreateNamespaceInput) SetIamRoles(v []*string) *CreateNamespaceInput
SetIamRoles sets the IamRoles field's value.
func (*CreateNamespaceInput) SetKmsKeyId ¶
func (s *CreateNamespaceInput) SetKmsKeyId(v string) *CreateNamespaceInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateNamespaceInput) SetLogExports ¶
func (s *CreateNamespaceInput) SetLogExports(v []*string) *CreateNamespaceInput
SetLogExports sets the LogExports field's value.
func (*CreateNamespaceInput) SetNamespaceName ¶
func (s *CreateNamespaceInput) SetNamespaceName(v string) *CreateNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (*CreateNamespaceInput) SetTags ¶
func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput
SetTags sets the Tags field's value.
func (CreateNamespaceInput) String ¶
func (s CreateNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateNamespaceInput) Validate ¶
func (s *CreateNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNamespaceOutput ¶
type CreateNamespaceOutput struct { // The created namespace object. Namespace *Namespace `locationName:"namespace" type:"structure"` // contains filtered or unexported fields }
func (CreateNamespaceOutput) GoString ¶
func (s CreateNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateNamespaceOutput) SetNamespace ¶
func (s *CreateNamespaceOutput) SetNamespace(v *Namespace) *CreateNamespaceOutput
SetNamespace sets the Namespace field's value.
func (CreateNamespaceOutput) String ¶
func (s CreateNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateSnapshotInput ¶
type CreateSnapshotInput struct { // The namespace to create a snapshot for. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" type:"string" required:"true"` // How long to retain the created snapshot. RetentionPeriod *int64 `locationName:"retentionPeriod" type:"integer"` // The name of the snapshot. // // SnapshotName is a required field SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateSnapshotInput) GoString ¶
func (s CreateSnapshotInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateSnapshotInput) SetNamespaceName ¶
func (s *CreateSnapshotInput) SetNamespaceName(v string) *CreateSnapshotInput
SetNamespaceName sets the NamespaceName field's value.
func (*CreateSnapshotInput) SetRetentionPeriod ¶
func (s *CreateSnapshotInput) SetRetentionPeriod(v int64) *CreateSnapshotInput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*CreateSnapshotInput) SetSnapshotName ¶
func (s *CreateSnapshotInput) SetSnapshotName(v string) *CreateSnapshotInput
SetSnapshotName sets the SnapshotName field's value.
func (CreateSnapshotInput) String ¶
func (s CreateSnapshotInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateSnapshotInput) Validate ¶
func (s *CreateSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSnapshotOutput ¶
type CreateSnapshotOutput struct { // The created snapshot object. Snapshot *Snapshot `locationName:"snapshot" type:"structure"` // contains filtered or unexported fields }
func (CreateSnapshotOutput) GoString ¶
func (s CreateSnapshotOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateSnapshotOutput) SetSnapshot ¶
func (s *CreateSnapshotOutput) SetSnapshot(v *Snapshot) *CreateSnapshotOutput
SetSnapshot sets the Snapshot field's value.
func (CreateSnapshotOutput) String ¶
func (s CreateSnapshotOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateUsageLimitInput ¶
type CreateUsageLimitInput struct { // The limit amount. If time-based, this amount is in Redshift Processing Units // (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) // of data transferred between Regions in cross-account sharing. The value must // be a positive number. // // Amount is a required field Amount *int64 `locationName:"amount" type:"long" required:"true"` // The action that Amazon Redshift Serverless takes when the limit is reached. // The default is log. BreachAction *string `locationName:"breachAction" type:"string" enum:"UsageLimitBreachAction"` // The time period that the amount applies to. A weekly period begins on Sunday. // The default is monthly. Period *string `locationName:"period" type:"string" enum:"UsageLimitPeriod"` // The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource // to create the usage limit for. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // The type of Amazon Redshift Serverless usage to create a usage limit for. // // UsageType is a required field UsageType *string `locationName:"usageType" type:"string" required:"true" enum:"UsageLimitUsageType"` // contains filtered or unexported fields }
func (CreateUsageLimitInput) GoString ¶
func (s CreateUsageLimitInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateUsageLimitInput) SetAmount ¶
func (s *CreateUsageLimitInput) SetAmount(v int64) *CreateUsageLimitInput
SetAmount sets the Amount field's value.
func (*CreateUsageLimitInput) SetBreachAction ¶
func (s *CreateUsageLimitInput) SetBreachAction(v string) *CreateUsageLimitInput
SetBreachAction sets the BreachAction field's value.
func (*CreateUsageLimitInput) SetPeriod ¶
func (s *CreateUsageLimitInput) SetPeriod(v string) *CreateUsageLimitInput
SetPeriod sets the Period field's value.
func (*CreateUsageLimitInput) SetResourceArn ¶
func (s *CreateUsageLimitInput) SetResourceArn(v string) *CreateUsageLimitInput
SetResourceArn sets the ResourceArn field's value.
func (*CreateUsageLimitInput) SetUsageType ¶
func (s *CreateUsageLimitInput) SetUsageType(v string) *CreateUsageLimitInput
SetUsageType sets the UsageType field's value.
func (CreateUsageLimitInput) String ¶
func (s CreateUsageLimitInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateUsageLimitInput) Validate ¶
func (s *CreateUsageLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUsageLimitOutput ¶
type CreateUsageLimitOutput struct { // The returned usage limit object. UsageLimit *UsageLimit `locationName:"usageLimit" type:"structure"` // contains filtered or unexported fields }
func (CreateUsageLimitOutput) GoString ¶
func (s CreateUsageLimitOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateUsageLimitOutput) SetUsageLimit ¶
func (s *CreateUsageLimitOutput) SetUsageLimit(v *UsageLimit) *CreateUsageLimitOutput
SetUsageLimit sets the UsageLimit field's value.
func (CreateUsageLimitOutput) String ¶
func (s CreateUsageLimitOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateWorkgroupInput ¶
type CreateWorkgroupInput struct { // The base data warehouse capacity of the workgroup in Redshift Processing // Units (RPUs). BaseCapacity *int64 `locationName:"baseCapacity" type:"integer"` // An array of parameters to set for more control over a serverless database. // The options are datestyle, enable_user_activity_logging, query_group, search_path, // and max_query_execution_time. ConfigParameters []*ConfigParameter `locationName:"configParameters" type:"list"` // The value that specifies whether to turn on enhanced virtual private cloud // (VPC) routing, which forces Amazon Redshift Serverless to route traffic through // your VPC instead of over the internet. EnhancedVpcRouting *bool `locationName:"enhancedVpcRouting" type:"boolean"` // The name of the namespace to associate with the workgroup. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // A value that specifies whether the workgroup can be accessed from a public // network. PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` // An array of security group IDs to associate with the workgroup. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // An array of VPC subnet IDs to associate with the workgroup. SubnetIds []*string `locationName:"subnetIds" type:"list"` // A array of tag instances. Tags []*Tag `locationName:"tags" type:"list"` // The name of the created workgroup. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateWorkgroupInput) GoString ¶
func (s CreateWorkgroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateWorkgroupInput) SetBaseCapacity ¶
func (s *CreateWorkgroupInput) SetBaseCapacity(v int64) *CreateWorkgroupInput
SetBaseCapacity sets the BaseCapacity field's value.
func (*CreateWorkgroupInput) SetConfigParameters ¶
func (s *CreateWorkgroupInput) SetConfigParameters(v []*ConfigParameter) *CreateWorkgroupInput
SetConfigParameters sets the ConfigParameters field's value.
func (*CreateWorkgroupInput) SetEnhancedVpcRouting ¶
func (s *CreateWorkgroupInput) SetEnhancedVpcRouting(v bool) *CreateWorkgroupInput
SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
func (*CreateWorkgroupInput) SetNamespaceName ¶
func (s *CreateWorkgroupInput) SetNamespaceName(v string) *CreateWorkgroupInput
SetNamespaceName sets the NamespaceName field's value.
func (*CreateWorkgroupInput) SetPubliclyAccessible ¶
func (s *CreateWorkgroupInput) SetPubliclyAccessible(v bool) *CreateWorkgroupInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*CreateWorkgroupInput) SetSecurityGroupIds ¶
func (s *CreateWorkgroupInput) SetSecurityGroupIds(v []*string) *CreateWorkgroupInput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*CreateWorkgroupInput) SetSubnetIds ¶
func (s *CreateWorkgroupInput) SetSubnetIds(v []*string) *CreateWorkgroupInput
SetSubnetIds sets the SubnetIds field's value.
func (*CreateWorkgroupInput) SetTags ¶
func (s *CreateWorkgroupInput) SetTags(v []*Tag) *CreateWorkgroupInput
SetTags sets the Tags field's value.
func (*CreateWorkgroupInput) SetWorkgroupName ¶
func (s *CreateWorkgroupInput) SetWorkgroupName(v string) *CreateWorkgroupInput
SetWorkgroupName sets the WorkgroupName field's value.
func (CreateWorkgroupInput) String ¶
func (s CreateWorkgroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateWorkgroupInput) Validate ¶
func (s *CreateWorkgroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateWorkgroupOutput ¶
type CreateWorkgroupOutput struct { // The created workgroup object. Workgroup *Workgroup `locationName:"workgroup" type:"structure"` // contains filtered or unexported fields }
func (CreateWorkgroupOutput) GoString ¶
func (s CreateWorkgroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateWorkgroupOutput) SetWorkgroup ¶
func (s *CreateWorkgroupOutput) SetWorkgroup(v *Workgroup) *CreateWorkgroupOutput
SetWorkgroup sets the Workgroup field's value.
func (CreateWorkgroupOutput) String ¶
func (s CreateWorkgroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEndpointAccessInput ¶
type DeleteEndpointAccessInput struct { // The name of the VPC endpoint to delete. // // EndpointName is a required field EndpointName *string `locationName:"endpointName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteEndpointAccessInput) GoString ¶
func (s DeleteEndpointAccessInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEndpointAccessInput) SetEndpointName ¶
func (s *DeleteEndpointAccessInput) SetEndpointName(v string) *DeleteEndpointAccessInput
SetEndpointName sets the EndpointName field's value.
func (DeleteEndpointAccessInput) String ¶
func (s DeleteEndpointAccessInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEndpointAccessInput) Validate ¶
func (s *DeleteEndpointAccessInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEndpointAccessOutput ¶
type DeleteEndpointAccessOutput struct { // The deleted VPC endpoint. Endpoint *EndpointAccess `locationName:"endpoint" type:"structure"` // contains filtered or unexported fields }
func (DeleteEndpointAccessOutput) GoString ¶
func (s DeleteEndpointAccessOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEndpointAccessOutput) SetEndpoint ¶
func (s *DeleteEndpointAccessOutput) SetEndpoint(v *EndpointAccess) *DeleteEndpointAccessOutput
SetEndpoint sets the Endpoint field's value.
func (DeleteEndpointAccessOutput) String ¶
func (s DeleteEndpointAccessOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteNamespaceInput ¶
type DeleteNamespaceInput struct { // The name of the snapshot to be created before the namespace is deleted. FinalSnapshotName *string `locationName:"finalSnapshotName" type:"string"` // How long to retain the final snapshot. FinalSnapshotRetentionPeriod *int64 `locationName:"finalSnapshotRetentionPeriod" type:"integer"` // The name of the namespace to delete. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteNamespaceInput) GoString ¶
func (s DeleteNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteNamespaceInput) SetFinalSnapshotName ¶
func (s *DeleteNamespaceInput) SetFinalSnapshotName(v string) *DeleteNamespaceInput
SetFinalSnapshotName sets the FinalSnapshotName field's value.
func (*DeleteNamespaceInput) SetFinalSnapshotRetentionPeriod ¶
func (s *DeleteNamespaceInput) SetFinalSnapshotRetentionPeriod(v int64) *DeleteNamespaceInput
SetFinalSnapshotRetentionPeriod sets the FinalSnapshotRetentionPeriod field's value.
func (*DeleteNamespaceInput) SetNamespaceName ¶
func (s *DeleteNamespaceInput) SetNamespaceName(v string) *DeleteNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (DeleteNamespaceInput) String ¶
func (s DeleteNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteNamespaceInput) Validate ¶
func (s *DeleteNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNamespaceOutput ¶
type DeleteNamespaceOutput struct { // The deleted namespace object. // // Namespace is a required field Namespace *Namespace `locationName:"namespace" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteNamespaceOutput) GoString ¶
func (s DeleteNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteNamespaceOutput) SetNamespace ¶
func (s *DeleteNamespaceOutput) SetNamespace(v *Namespace) *DeleteNamespaceOutput
SetNamespace sets the Namespace field's value.
func (DeleteNamespaceOutput) String ¶
func (s DeleteNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteResourcePolicyInput ¶
type DeleteResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the policy to delete. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteResourcePolicyInput) GoString ¶
func (s DeleteResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourcePolicyInput) SetResourceArn ¶
func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (DeleteResourcePolicyInput) String ¶
func (s DeleteResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourcePolicyInput) Validate ¶
func (s *DeleteResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourcePolicyOutput ¶
type DeleteResourcePolicyOutput struct {
// contains filtered or unexported fields
}
func (DeleteResourcePolicyOutput) GoString ¶
func (s DeleteResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteResourcePolicyOutput) String ¶
func (s DeleteResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteSnapshotInput ¶
type DeleteSnapshotInput struct { // The name of the snapshot to be deleted. // // SnapshotName is a required field SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteSnapshotInput) GoString ¶
func (s DeleteSnapshotInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteSnapshotInput) SetSnapshotName ¶
func (s *DeleteSnapshotInput) SetSnapshotName(v string) *DeleteSnapshotInput
SetSnapshotName sets the SnapshotName field's value.
func (DeleteSnapshotInput) String ¶
func (s DeleteSnapshotInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteSnapshotInput) Validate ¶
func (s *DeleteSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSnapshotOutput ¶
type DeleteSnapshotOutput struct { // The deleted snapshot object. Snapshot *Snapshot `locationName:"snapshot" type:"structure"` // contains filtered or unexported fields }
func (DeleteSnapshotOutput) GoString ¶
func (s DeleteSnapshotOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteSnapshotOutput) SetSnapshot ¶
func (s *DeleteSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteSnapshotOutput
SetSnapshot sets the Snapshot field's value.
func (DeleteSnapshotOutput) String ¶
func (s DeleteSnapshotOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteUsageLimitInput ¶
type DeleteUsageLimitInput struct { // The unique identifier of the usage limit to delete. // // UsageLimitId is a required field UsageLimitId *string `locationName:"usageLimitId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteUsageLimitInput) GoString ¶
func (s DeleteUsageLimitInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteUsageLimitInput) SetUsageLimitId ¶
func (s *DeleteUsageLimitInput) SetUsageLimitId(v string) *DeleteUsageLimitInput
SetUsageLimitId sets the UsageLimitId field's value.
func (DeleteUsageLimitInput) String ¶
func (s DeleteUsageLimitInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteUsageLimitInput) Validate ¶
func (s *DeleteUsageLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUsageLimitOutput ¶
type DeleteUsageLimitOutput struct { // The deleted usage limit object. UsageLimit *UsageLimit `locationName:"usageLimit" type:"structure"` // contains filtered or unexported fields }
func (DeleteUsageLimitOutput) GoString ¶
func (s DeleteUsageLimitOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteUsageLimitOutput) SetUsageLimit ¶
func (s *DeleteUsageLimitOutput) SetUsageLimit(v *UsageLimit) *DeleteUsageLimitOutput
SetUsageLimit sets the UsageLimit field's value.
func (DeleteUsageLimitOutput) String ¶
func (s DeleteUsageLimitOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteWorkgroupInput ¶
type DeleteWorkgroupInput struct { // The name of the workgroup to be deleted. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteWorkgroupInput) GoString ¶
func (s DeleteWorkgroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteWorkgroupInput) SetWorkgroupName ¶
func (s *DeleteWorkgroupInput) SetWorkgroupName(v string) *DeleteWorkgroupInput
SetWorkgroupName sets the WorkgroupName field's value.
func (DeleteWorkgroupInput) String ¶
func (s DeleteWorkgroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteWorkgroupInput) Validate ¶
func (s *DeleteWorkgroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteWorkgroupOutput ¶
type DeleteWorkgroupOutput struct { // The deleted workgroup object. // // Workgroup is a required field Workgroup *Workgroup `locationName:"workgroup" type:"structure" required:"true"` // contains filtered or unexported fields }
func (DeleteWorkgroupOutput) GoString ¶
func (s DeleteWorkgroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteWorkgroupOutput) SetWorkgroup ¶
func (s *DeleteWorkgroupOutput) SetWorkgroup(v *Workgroup) *DeleteWorkgroupOutput
SetWorkgroup sets the Workgroup field's value.
func (DeleteWorkgroupOutput) String ¶
func (s DeleteWorkgroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Endpoint ¶
type Endpoint struct { // The DNS address of the VPC endpoint. Address *string `locationName:"address" type:"string"` // The port that Amazon Redshift Serverless listens on. Port *int64 `locationName:"port" type:"integer"` // An array of VpcEndpoint objects. VpcEndpoints []*VpcEndpoint `locationName:"vpcEndpoints" type:"list"` // contains filtered or unexported fields }
The VPC endpoint object.
func (Endpoint) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Endpoint) SetAddress ¶
SetAddress sets the Address field's value.
func (*Endpoint) SetVpcEndpoints ¶
func (s *Endpoint) SetVpcEndpoints(v []*VpcEndpoint) *Endpoint
SetVpcEndpoints sets the VpcEndpoints field's value.
type EndpointAccess ¶
type EndpointAccess struct { // The DNS address of the endpoint. Address *string `locationName:"address" type:"string"` // The Amazon Resource Name (ARN) of the VPC endpoint. EndpointArn *string `locationName:"endpointArn" type:"string"` // The time that the endpoint was created. EndpointCreateTime *time.Time `locationName:"endpointCreateTime" type:"timestamp" timestampFormat:"iso8601"` // The name of the VPC endpoint. EndpointName *string `locationName:"endpointName" type:"string"` // The status of the VPC endpoint. EndpointStatus *string `locationName:"endpointStatus" type:"string"` // The port number on which Amazon Redshift Serverless accepts incoming connections. Port *int64 `locationName:"port" type:"integer"` // The unique identifier of subnets where Amazon Redshift Serverless choose // to deploy the VPC endpoint. SubnetIds []*string `locationName:"subnetIds" type:"list"` // The connection endpoint for connecting to Amazon Redshift Serverless. VpcEndpoint *VpcEndpoint `locationName:"vpcEndpoint" type:"structure"` // The security groups associated with the endpoint. VpcSecurityGroups []*VpcSecurityGroupMembership `locationName:"vpcSecurityGroups" type:"list"` // The name of the workgroup associated with the endpoint. WorkgroupName *string `locationName:"workgroupName" type:"string"` // contains filtered or unexported fields }
Information about an Amazon Redshift Serverless VPC endpoint.
func (EndpointAccess) GoString ¶
func (s EndpointAccess) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EndpointAccess) SetAddress ¶
func (s *EndpointAccess) SetAddress(v string) *EndpointAccess
SetAddress sets the Address field's value.
func (*EndpointAccess) SetEndpointArn ¶
func (s *EndpointAccess) SetEndpointArn(v string) *EndpointAccess
SetEndpointArn sets the EndpointArn field's value.
func (*EndpointAccess) SetEndpointCreateTime ¶
func (s *EndpointAccess) SetEndpointCreateTime(v time.Time) *EndpointAccess
SetEndpointCreateTime sets the EndpointCreateTime field's value.
func (*EndpointAccess) SetEndpointName ¶
func (s *EndpointAccess) SetEndpointName(v string) *EndpointAccess
SetEndpointName sets the EndpointName field's value.
func (*EndpointAccess) SetEndpointStatus ¶
func (s *EndpointAccess) SetEndpointStatus(v string) *EndpointAccess
SetEndpointStatus sets the EndpointStatus field's value.
func (*EndpointAccess) SetPort ¶
func (s *EndpointAccess) SetPort(v int64) *EndpointAccess
SetPort sets the Port field's value.
func (*EndpointAccess) SetSubnetIds ¶
func (s *EndpointAccess) SetSubnetIds(v []*string) *EndpointAccess
SetSubnetIds sets the SubnetIds field's value.
func (*EndpointAccess) SetVpcEndpoint ¶
func (s *EndpointAccess) SetVpcEndpoint(v *VpcEndpoint) *EndpointAccess
SetVpcEndpoint sets the VpcEndpoint field's value.
func (*EndpointAccess) SetVpcSecurityGroups ¶
func (s *EndpointAccess) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *EndpointAccess
SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
func (*EndpointAccess) SetWorkgroupName ¶
func (s *EndpointAccess) SetWorkgroupName(v string) *EndpointAccess
SetWorkgroupName sets the WorkgroupName field's value.
func (EndpointAccess) String ¶
func (s EndpointAccess) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetCredentialsInput ¶
type GetCredentialsInput struct { // The name of the database to get temporary authorization to log on to. // // Constraints: // // * Must be 1 to 64 alphanumeric characters or hyphens. // // * Must contain only lowercase letters, numbers, underscore, plus sign, // period (dot), at symbol (@), or hyphen. // // * The first character must be a letter. // // * Must not contain a colon ( : ) or slash ( / ). // // * Cannot be a reserved word. A list of reserved words can be found in // Reserved Words (https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html) // in the Amazon Redshift Database Developer Guide DbName *string `locationName:"dbName" type:"string"` // The number of seconds until the returned temporary password expires. The // minimum is 900 seconds, and the maximum is 3600 seconds. DurationSeconds *int64 `locationName:"durationSeconds" type:"integer"` // The name of the workgroup associated with the database. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetCredentialsInput) GoString ¶
func (s GetCredentialsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCredentialsInput) SetDbName ¶
func (s *GetCredentialsInput) SetDbName(v string) *GetCredentialsInput
SetDbName sets the DbName field's value.
func (*GetCredentialsInput) SetDurationSeconds ¶
func (s *GetCredentialsInput) SetDurationSeconds(v int64) *GetCredentialsInput
SetDurationSeconds sets the DurationSeconds field's value.
func (*GetCredentialsInput) SetWorkgroupName ¶
func (s *GetCredentialsInput) SetWorkgroupName(v string) *GetCredentialsInput
SetWorkgroupName sets the WorkgroupName field's value.
func (GetCredentialsInput) String ¶
func (s GetCredentialsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCredentialsInput) Validate ¶
func (s *GetCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCredentialsOutput ¶
type GetCredentialsOutput struct { // A temporary password that authorizes the user name returned by DbUser to // log on to the database DbName. // // DbPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetCredentialsOutput's // String and GoString methods. DbPassword *string `locationName:"dbPassword" type:"string" sensitive:"true"` // A database user name that is authorized to log on to the database DbName // using the password DbPassword. If the specified DbUser exists in the database, // the new user name has the same database privileges as the the user named // in DbUser. By default, the user is added to PUBLIC. // // DbUser is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetCredentialsOutput's // String and GoString methods. DbUser *string `locationName:"dbUser" type:"string" sensitive:"true"` // The date and time the password in DbPassword expires. Expiration *time.Time `locationName:"expiration" type:"timestamp"` // The date and time of when the DbUser and DbPassword authorization refreshes. NextRefreshTime *time.Time `locationName:"nextRefreshTime" type:"timestamp"` // contains filtered or unexported fields }
func (GetCredentialsOutput) GoString ¶
func (s GetCredentialsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCredentialsOutput) SetDbPassword ¶
func (s *GetCredentialsOutput) SetDbPassword(v string) *GetCredentialsOutput
SetDbPassword sets the DbPassword field's value.
func (*GetCredentialsOutput) SetDbUser ¶
func (s *GetCredentialsOutput) SetDbUser(v string) *GetCredentialsOutput
SetDbUser sets the DbUser field's value.
func (*GetCredentialsOutput) SetExpiration ¶
func (s *GetCredentialsOutput) SetExpiration(v time.Time) *GetCredentialsOutput
SetExpiration sets the Expiration field's value.
func (*GetCredentialsOutput) SetNextRefreshTime ¶
func (s *GetCredentialsOutput) SetNextRefreshTime(v time.Time) *GetCredentialsOutput
SetNextRefreshTime sets the NextRefreshTime field's value.
func (GetCredentialsOutput) String ¶
func (s GetCredentialsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEndpointAccessInput ¶
type GetEndpointAccessInput struct { // The name of the VPC endpoint to return information for. // // EndpointName is a required field EndpointName *string `locationName:"endpointName" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetEndpointAccessInput) GoString ¶
func (s GetEndpointAccessInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEndpointAccessInput) SetEndpointName ¶
func (s *GetEndpointAccessInput) SetEndpointName(v string) *GetEndpointAccessInput
SetEndpointName sets the EndpointName field's value.
func (GetEndpointAccessInput) String ¶
func (s GetEndpointAccessInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEndpointAccessInput) Validate ¶
func (s *GetEndpointAccessInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEndpointAccessOutput ¶
type GetEndpointAccessOutput struct { // The returned VPC endpoint. Endpoint *EndpointAccess `locationName:"endpoint" type:"structure"` // contains filtered or unexported fields }
func (GetEndpointAccessOutput) GoString ¶
func (s GetEndpointAccessOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEndpointAccessOutput) SetEndpoint ¶
func (s *GetEndpointAccessOutput) SetEndpoint(v *EndpointAccess) *GetEndpointAccessOutput
SetEndpoint sets the Endpoint field's value.
func (GetEndpointAccessOutput) String ¶
func (s GetEndpointAccessOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetNamespaceInput ¶
type GetNamespaceInput struct { // The name of the namespace to retrieve information for. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetNamespaceInput) GoString ¶
func (s GetNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetNamespaceInput) SetNamespaceName ¶
func (s *GetNamespaceInput) SetNamespaceName(v string) *GetNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (GetNamespaceInput) String ¶
func (s GetNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetNamespaceInput) Validate ¶
func (s *GetNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetNamespaceOutput ¶
type GetNamespaceOutput struct { // The returned namespace object. // // Namespace is a required field Namespace *Namespace `locationName:"namespace" type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetNamespaceOutput) GoString ¶
func (s GetNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetNamespaceOutput) SetNamespace ¶
func (s *GetNamespaceOutput) SetNamespace(v *Namespace) *GetNamespaceOutput
SetNamespace sets the Namespace field's value.
func (GetNamespaceOutput) String ¶
func (s GetNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecoveryPointInput ¶
type GetRecoveryPointInput struct { // The unique identifier of the recovery point to return information for. // // RecoveryPointId is a required field RecoveryPointId *string `locationName:"recoveryPointId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetRecoveryPointInput) GoString ¶
func (s GetRecoveryPointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecoveryPointInput) SetRecoveryPointId ¶
func (s *GetRecoveryPointInput) SetRecoveryPointId(v string) *GetRecoveryPointInput
SetRecoveryPointId sets the RecoveryPointId field's value.
func (GetRecoveryPointInput) String ¶
func (s GetRecoveryPointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecoveryPointInput) Validate ¶
func (s *GetRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRecoveryPointOutput ¶
type GetRecoveryPointOutput struct { // The returned recovery point object. RecoveryPoint *RecoveryPoint `locationName:"recoveryPoint" type:"structure"` // contains filtered or unexported fields }
func (GetRecoveryPointOutput) GoString ¶
func (s GetRecoveryPointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecoveryPointOutput) SetRecoveryPoint ¶
func (s *GetRecoveryPointOutput) SetRecoveryPoint(v *RecoveryPoint) *GetRecoveryPointOutput
SetRecoveryPoint sets the RecoveryPoint field's value.
func (GetRecoveryPointOutput) String ¶
func (s GetRecoveryPointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourcePolicyInput ¶
type GetResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the resource to return. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetResourcePolicyInput) GoString ¶
func (s GetResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePolicyInput) SetResourceArn ¶
func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (GetResourcePolicyInput) String ¶
func (s GetResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePolicyInput) Validate ¶
func (s *GetResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourcePolicyOutput ¶
type GetResourcePolicyOutput struct { // The returned resource policy. ResourcePolicy *ResourcePolicy `locationName:"resourcePolicy" type:"structure"` // contains filtered or unexported fields }
func (GetResourcePolicyOutput) GoString ¶
func (s GetResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePolicyOutput) SetResourcePolicy ¶
func (s *GetResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *GetResourcePolicyOutput
SetResourcePolicy sets the ResourcePolicy field's value.
func (GetResourcePolicyOutput) String ¶
func (s GetResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSnapshotInput ¶
type GetSnapshotInput struct { // The owner Amazon Web Services account of a snapshot shared with another user. OwnerAccount *string `locationName:"ownerAccount" type:"string"` // The Amazon Resource Name (ARN) of the snapshot to return. SnapshotArn *string `locationName:"snapshotArn" type:"string"` // The name of the snapshot to return. SnapshotName *string `locationName:"snapshotName" type:"string"` // contains filtered or unexported fields }
func (GetSnapshotInput) GoString ¶
func (s GetSnapshotInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetSnapshotInput) SetOwnerAccount ¶
func (s *GetSnapshotInput) SetOwnerAccount(v string) *GetSnapshotInput
SetOwnerAccount sets the OwnerAccount field's value.
func (*GetSnapshotInput) SetSnapshotArn ¶
func (s *GetSnapshotInput) SetSnapshotArn(v string) *GetSnapshotInput
SetSnapshotArn sets the SnapshotArn field's value.
func (*GetSnapshotInput) SetSnapshotName ¶
func (s *GetSnapshotInput) SetSnapshotName(v string) *GetSnapshotInput
SetSnapshotName sets the SnapshotName field's value.
func (GetSnapshotInput) String ¶
func (s GetSnapshotInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSnapshotOutput ¶
type GetSnapshotOutput struct { // The returned snapshot object. Snapshot *Snapshot `locationName:"snapshot" type:"structure"` // contains filtered or unexported fields }
func (GetSnapshotOutput) GoString ¶
func (s GetSnapshotOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetSnapshotOutput) SetSnapshot ¶
func (s *GetSnapshotOutput) SetSnapshot(v *Snapshot) *GetSnapshotOutput
SetSnapshot sets the Snapshot field's value.
func (GetSnapshotOutput) String ¶
func (s GetSnapshotOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetUsageLimitInput ¶
type GetUsageLimitInput struct { // The unique identifier of the usage limit to return information for. // // UsageLimitId is a required field UsageLimitId *string `locationName:"usageLimitId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetUsageLimitInput) GoString ¶
func (s GetUsageLimitInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetUsageLimitInput) SetUsageLimitId ¶
func (s *GetUsageLimitInput) SetUsageLimitId(v string) *GetUsageLimitInput
SetUsageLimitId sets the UsageLimitId field's value.
func (GetUsageLimitInput) String ¶
func (s GetUsageLimitInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetUsageLimitInput) Validate ¶
func (s *GetUsageLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUsageLimitOutput ¶
type GetUsageLimitOutput struct { // The returned usage limit object. UsageLimit *UsageLimit `locationName:"usageLimit" type:"structure"` // contains filtered or unexported fields }
func (GetUsageLimitOutput) GoString ¶
func (s GetUsageLimitOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetUsageLimitOutput) SetUsageLimit ¶
func (s *GetUsageLimitOutput) SetUsageLimit(v *UsageLimit) *GetUsageLimitOutput
SetUsageLimit sets the UsageLimit field's value.
func (GetUsageLimitOutput) String ¶
func (s GetUsageLimitOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetWorkgroupInput ¶
type GetWorkgroupInput struct { // The name of the workgroup to return information for. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetWorkgroupInput) GoString ¶
func (s GetWorkgroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetWorkgroupInput) SetWorkgroupName ¶
func (s *GetWorkgroupInput) SetWorkgroupName(v string) *GetWorkgroupInput
SetWorkgroupName sets the WorkgroupName field's value.
func (GetWorkgroupInput) String ¶
func (s GetWorkgroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetWorkgroupInput) Validate ¶
func (s *GetWorkgroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetWorkgroupOutput ¶
type GetWorkgroupOutput struct { // The returned workgroup object. // // Workgroup is a required field Workgroup *Workgroup `locationName:"workgroup" type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetWorkgroupOutput) GoString ¶
func (s GetWorkgroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetWorkgroupOutput) SetWorkgroup ¶
func (s *GetWorkgroupOutput) SetWorkgroup(v *Workgroup) *GetWorkgroupOutput
SetWorkgroup sets the Workgroup field's value.
func (GetWorkgroupOutput) String ¶
func (s GetWorkgroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InsufficientCapacityException ¶
type InsufficientCapacityException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
There is an insufficient capacity to perform the action.
func (*InsufficientCapacityException) Code ¶
func (s *InsufficientCapacityException) Code() string
Code returns the exception type name.
func (*InsufficientCapacityException) Error ¶
func (s *InsufficientCapacityException) Error() string
func (InsufficientCapacityException) GoString ¶
func (s InsufficientCapacityException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InsufficientCapacityException) Message ¶
func (s *InsufficientCapacityException) Message() string
Message returns the exception's message.
func (*InsufficientCapacityException) OrigErr ¶
func (s *InsufficientCapacityException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InsufficientCapacityException) RequestID ¶
func (s *InsufficientCapacityException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InsufficientCapacityException) StatusCode ¶
func (s *InsufficientCapacityException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InsufficientCapacityException) String ¶
func (s InsufficientCapacityException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request processing has failed because of an unknown error, exception or failure.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidPaginationException ¶
type InvalidPaginationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The provided pagination token is invalid.
func (*InvalidPaginationException) Code ¶
func (s *InvalidPaginationException) Code() string
Code returns the exception type name.
func (*InvalidPaginationException) Error ¶
func (s *InvalidPaginationException) Error() string
func (InvalidPaginationException) GoString ¶
func (s InvalidPaginationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidPaginationException) Message ¶
func (s *InvalidPaginationException) Message() string
Message returns the exception's message.
func (*InvalidPaginationException) OrigErr ¶
func (s *InvalidPaginationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidPaginationException) RequestID ¶
func (s *InvalidPaginationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidPaginationException) StatusCode ¶
func (s *InvalidPaginationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidPaginationException) String ¶
func (s InvalidPaginationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListEndpointAccessInput ¶
type ListEndpointAccessInput struct { // An optional parameter that specifies the maximum number of results to return. // You can use nextToken to get the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListEndpointAccess operation returns a nextToken, you can // include the returned nextToken in subsequent ListEndpointAccess operations, // which returns results in the next page. NextToken *string `locationName:"nextToken" type:"string"` // The unique identifier of the virtual private cloud with access to Amazon // Redshift Serverless. VpcId *string `locationName:"vpcId" type:"string"` // The name of the workgroup associated with the VPC endpoint to return. WorkgroupName *string `locationName:"workgroupName" type:"string"` // contains filtered or unexported fields }
func (ListEndpointAccessInput) GoString ¶
func (s ListEndpointAccessInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEndpointAccessInput) SetMaxResults ¶
func (s *ListEndpointAccessInput) SetMaxResults(v int64) *ListEndpointAccessInput
SetMaxResults sets the MaxResults field's value.
func (*ListEndpointAccessInput) SetNextToken ¶
func (s *ListEndpointAccessInput) SetNextToken(v string) *ListEndpointAccessInput
SetNextToken sets the NextToken field's value.
func (*ListEndpointAccessInput) SetVpcId ¶
func (s *ListEndpointAccessInput) SetVpcId(v string) *ListEndpointAccessInput
SetVpcId sets the VpcId field's value.
func (*ListEndpointAccessInput) SetWorkgroupName ¶
func (s *ListEndpointAccessInput) SetWorkgroupName(v string) *ListEndpointAccessInput
SetWorkgroupName sets the WorkgroupName field's value.
func (ListEndpointAccessInput) String ¶
func (s ListEndpointAccessInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEndpointAccessInput) Validate ¶
func (s *ListEndpointAccessInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListEndpointAccessOutput ¶
type ListEndpointAccessOutput struct { // The returned VPC endpoints. // // Endpoints is a required field Endpoints []*EndpointAccess `locationName:"endpoints" type:"list" required:"true"` // When nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListEndpointAccessOutput) GoString ¶
func (s ListEndpointAccessOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEndpointAccessOutput) SetEndpoints ¶
func (s *ListEndpointAccessOutput) SetEndpoints(v []*EndpointAccess) *ListEndpointAccessOutput
SetEndpoints sets the Endpoints field's value.
func (*ListEndpointAccessOutput) SetNextToken ¶
func (s *ListEndpointAccessOutput) SetNextToken(v string) *ListEndpointAccessOutput
SetNextToken sets the NextToken field's value.
func (ListEndpointAccessOutput) String ¶
func (s ListEndpointAccessOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListNamespacesInput ¶
type ListNamespacesInput struct { // An optional parameter that specifies the maximum number of results to return. // You can use nextToken to get the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListNamespaces operation returns a nextToken, you can include // the returned nextToken in subsequent ListNamespaces operations, which returns // results in the next page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListNamespacesInput) GoString ¶
func (s ListNamespacesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListNamespacesInput) SetMaxResults ¶
func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput
SetMaxResults sets the MaxResults field's value.
func (*ListNamespacesInput) SetNextToken ¶
func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput
SetNextToken sets the NextToken field's value.
func (ListNamespacesInput) String ¶
func (s ListNamespacesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListNamespacesInput) Validate ¶
func (s *ListNamespacesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNamespacesOutput ¶
type ListNamespacesOutput struct { // The list of returned namespaces. // // Namespaces is a required field Namespaces []*Namespace `locationName:"namespaces" type:"list" required:"true"` // When nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListNamespacesOutput) GoString ¶
func (s ListNamespacesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListNamespacesOutput) SetNamespaces ¶
func (s *ListNamespacesOutput) SetNamespaces(v []*Namespace) *ListNamespacesOutput
SetNamespaces sets the Namespaces field's value.
func (*ListNamespacesOutput) SetNextToken ¶
func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput
SetNextToken sets the NextToken field's value.
func (ListNamespacesOutput) String ¶
func (s ListNamespacesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRecoveryPointsInput ¶
type ListRecoveryPointsInput struct { // The time when creation of the recovery point finished. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // An optional parameter that specifies the maximum number of results to return. // You can use nextToken to get the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The name of the namespace to list recovery points for. NamespaceName *string `locationName:"namespaceName" min:"3" type:"string"` // If your initial ListRecoveryPoints operation returns a nextToken, you can // include the returned nextToken in subsequent ListRecoveryPoints operations, // which returns results in the next page. NextToken *string `locationName:"nextToken" type:"string"` // The time when the recovery point's creation was initiated. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
func (ListRecoveryPointsInput) GoString ¶
func (s ListRecoveryPointsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsInput) SetEndTime ¶
func (s *ListRecoveryPointsInput) SetEndTime(v time.Time) *ListRecoveryPointsInput
SetEndTime sets the EndTime field's value.
func (*ListRecoveryPointsInput) SetMaxResults ¶
func (s *ListRecoveryPointsInput) SetMaxResults(v int64) *ListRecoveryPointsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecoveryPointsInput) SetNamespaceName ¶
func (s *ListRecoveryPointsInput) SetNamespaceName(v string) *ListRecoveryPointsInput
SetNamespaceName sets the NamespaceName field's value.
func (*ListRecoveryPointsInput) SetNextToken ¶
func (s *ListRecoveryPointsInput) SetNextToken(v string) *ListRecoveryPointsInput
SetNextToken sets the NextToken field's value.
func (*ListRecoveryPointsInput) SetStartTime ¶
func (s *ListRecoveryPointsInput) SetStartTime(v time.Time) *ListRecoveryPointsInput
SetStartTime sets the StartTime field's value.
func (ListRecoveryPointsInput) String ¶
func (s ListRecoveryPointsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsInput) Validate ¶
func (s *ListRecoveryPointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRecoveryPointsOutput ¶
type ListRecoveryPointsOutput struct { // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` // The returned recovery point objects. RecoveryPoints []*RecoveryPoint `locationName:"recoveryPoints" type:"list"` // contains filtered or unexported fields }
func (ListRecoveryPointsOutput) GoString ¶
func (s ListRecoveryPointsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsOutput) SetNextToken ¶
func (s *ListRecoveryPointsOutput) SetNextToken(v string) *ListRecoveryPointsOutput
SetNextToken sets the NextToken field's value.
func (*ListRecoveryPointsOutput) SetRecoveryPoints ¶
func (s *ListRecoveryPointsOutput) SetRecoveryPoints(v []*RecoveryPoint) *ListRecoveryPointsOutput
SetRecoveryPoints sets the RecoveryPoints field's value.
func (ListRecoveryPointsOutput) String ¶
func (s ListRecoveryPointsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListSnapshotsInput ¶
type ListSnapshotsInput struct { // The timestamp showing when the snapshot creation finished. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // An optional parameter that specifies the maximum number of results to return. // You can use nextToken to get the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The Amazon Resource Name (ARN) of the namespace from which to list all snapshots. NamespaceArn *string `locationName:"namespaceArn" type:"string"` // The namespace from which to list all snapshots. NamespaceName *string `locationName:"namespaceName" type:"string"` // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` // The owner Amazon Web Services account of the snapshot. OwnerAccount *string `locationName:"ownerAccount" type:"string"` // The time when the creation of the snapshot was initiated. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // contains filtered or unexported fields }
func (ListSnapshotsInput) GoString ¶
func (s ListSnapshotsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListSnapshotsInput) SetEndTime ¶
func (s *ListSnapshotsInput) SetEndTime(v time.Time) *ListSnapshotsInput
SetEndTime sets the EndTime field's value.
func (*ListSnapshotsInput) SetMaxResults ¶
func (s *ListSnapshotsInput) SetMaxResults(v int64) *ListSnapshotsInput
SetMaxResults sets the MaxResults field's value.
func (*ListSnapshotsInput) SetNamespaceArn ¶
func (s *ListSnapshotsInput) SetNamespaceArn(v string) *ListSnapshotsInput
SetNamespaceArn sets the NamespaceArn field's value.
func (*ListSnapshotsInput) SetNamespaceName ¶
func (s *ListSnapshotsInput) SetNamespaceName(v string) *ListSnapshotsInput
SetNamespaceName sets the NamespaceName field's value.
func (*ListSnapshotsInput) SetNextToken ¶
func (s *ListSnapshotsInput) SetNextToken(v string) *ListSnapshotsInput
SetNextToken sets the NextToken field's value.
func (*ListSnapshotsInput) SetOwnerAccount ¶
func (s *ListSnapshotsInput) SetOwnerAccount(v string) *ListSnapshotsInput
SetOwnerAccount sets the OwnerAccount field's value.
func (*ListSnapshotsInput) SetStartTime ¶
func (s *ListSnapshotsInput) SetStartTime(v time.Time) *ListSnapshotsInput
SetStartTime sets the StartTime field's value.
func (ListSnapshotsInput) String ¶
func (s ListSnapshotsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListSnapshotsInput) Validate ¶
func (s *ListSnapshotsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSnapshotsOutput ¶
type ListSnapshotsOutput struct { // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` // All of the returned snapshot objects. Snapshots []*Snapshot `locationName:"snapshots" type:"list"` // contains filtered or unexported fields }
func (ListSnapshotsOutput) GoString ¶
func (s ListSnapshotsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListSnapshotsOutput) SetNextToken ¶
func (s *ListSnapshotsOutput) SetNextToken(v string) *ListSnapshotsOutput
SetNextToken sets the NextToken field's value.
func (*ListSnapshotsOutput) SetSnapshots ¶
func (s *ListSnapshotsOutput) SetSnapshots(v []*Snapshot) *ListSnapshotsOutput
SetSnapshots sets the Snapshots field's value.
func (ListSnapshotsOutput) String ¶
func (s ListSnapshotsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource to list tags for. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A map of the key-value pairs assigned to the resource. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListUsageLimitsInput ¶
type ListUsageLimitsInput struct { // An optional parameter that specifies the maximum number of results to return. // You can use nextToken to get the next page of results. The default is 100. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListUsageLimits operation returns a nextToken, you can include // the returned nextToken in subsequent ListUsageLimits operations, which returns // results in the next page. NextToken *string `locationName:"nextToken" min:"8" type:"string"` // The Amazon Resource Name (ARN) associated with the resource whose usage limits // you want to list. ResourceArn *string `locationName:"resourceArn" type:"string"` // The Amazon Redshift Serverless feature whose limits you want to see. UsageType *string `locationName:"usageType" type:"string" enum:"UsageLimitUsageType"` // contains filtered or unexported fields }
func (ListUsageLimitsInput) GoString ¶
func (s ListUsageLimitsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListUsageLimitsInput) SetMaxResults ¶
func (s *ListUsageLimitsInput) SetMaxResults(v int64) *ListUsageLimitsInput
SetMaxResults sets the MaxResults field's value.
func (*ListUsageLimitsInput) SetNextToken ¶
func (s *ListUsageLimitsInput) SetNextToken(v string) *ListUsageLimitsInput
SetNextToken sets the NextToken field's value.
func (*ListUsageLimitsInput) SetResourceArn ¶
func (s *ListUsageLimitsInput) SetResourceArn(v string) *ListUsageLimitsInput
SetResourceArn sets the ResourceArn field's value.
func (*ListUsageLimitsInput) SetUsageType ¶
func (s *ListUsageLimitsInput) SetUsageType(v string) *ListUsageLimitsInput
SetUsageType sets the UsageType field's value.
func (ListUsageLimitsInput) String ¶
func (s ListUsageLimitsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListUsageLimitsInput) Validate ¶
func (s *ListUsageLimitsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUsageLimitsOutput ¶
type ListUsageLimitsOutput struct { // When nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" min:"8" type:"string"` // An array of returned usage limit objects. UsageLimits []*UsageLimit `locationName:"usageLimits" min:"1" type:"list"` // contains filtered or unexported fields }
func (ListUsageLimitsOutput) GoString ¶
func (s ListUsageLimitsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListUsageLimitsOutput) SetNextToken ¶
func (s *ListUsageLimitsOutput) SetNextToken(v string) *ListUsageLimitsOutput
SetNextToken sets the NextToken field's value.
func (*ListUsageLimitsOutput) SetUsageLimits ¶
func (s *ListUsageLimitsOutput) SetUsageLimits(v []*UsageLimit) *ListUsageLimitsOutput
SetUsageLimits sets the UsageLimits field's value.
func (ListUsageLimitsOutput) String ¶
func (s ListUsageLimitsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListWorkgroupsInput ¶
type ListWorkgroupsInput struct { // An optional parameter that specifies the maximum number of results to return. // You can use nextToken to get the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListWorkgroups operation returns a nextToken, you can include // the returned nextToken in subsequent ListNamespaces operations, which returns // results in the next page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListWorkgroupsInput) GoString ¶
func (s ListWorkgroupsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListWorkgroupsInput) SetMaxResults ¶
func (s *ListWorkgroupsInput) SetMaxResults(v int64) *ListWorkgroupsInput
SetMaxResults sets the MaxResults field's value.
func (*ListWorkgroupsInput) SetNextToken ¶
func (s *ListWorkgroupsInput) SetNextToken(v string) *ListWorkgroupsInput
SetNextToken sets the NextToken field's value.
func (ListWorkgroupsInput) String ¶
func (s ListWorkgroupsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListWorkgroupsInput) Validate ¶
func (s *ListWorkgroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListWorkgroupsOutput ¶
type ListWorkgroupsOutput struct { // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. To retrieve the next // page, make the call again using the returned token. NextToken *string `locationName:"nextToken" type:"string"` // The returned array of workgroups. // // Workgroups is a required field Workgroups []*Workgroup `locationName:"workgroups" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListWorkgroupsOutput) GoString ¶
func (s ListWorkgroupsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListWorkgroupsOutput) SetNextToken ¶
func (s *ListWorkgroupsOutput) SetNextToken(v string) *ListWorkgroupsOutput
SetNextToken sets the NextToken field's value.
func (*ListWorkgroupsOutput) SetWorkgroups ¶
func (s *ListWorkgroupsOutput) SetWorkgroups(v []*Workgroup) *ListWorkgroupsOutput
SetWorkgroups sets the Workgroups field's value.
func (ListWorkgroupsOutput) String ¶
func (s ListWorkgroupsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Namespace ¶
type Namespace struct { // The username of the administrator for the first database created in the namespace. // // AdminUsername is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Namespace's // String and GoString methods. AdminUsername *string `locationName:"adminUsername" type:"string" sensitive:"true"` // The date of when the namespace was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"iso8601"` // The name of the first database created in the namespace. DbName *string `locationName:"dbName" type:"string"` // The Amazon Resource Name (ARN) of the IAM role to set as a default in the // namespace. DefaultIamRoleArn *string `locationName:"defaultIamRoleArn" type:"string"` // A list of IAM roles to associate with the namespace. IamRoles []*string `locationName:"iamRoles" type:"list"` // The ID of the Amazon Web Services Key Management Service key used to encrypt // your data. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The types of logs the namespace can export. Available export types are User // log, Connection log, and User activity log. LogExports []*string `locationName:"logExports" type:"list" enum:"LogExport"` // The Amazon Resource Name (ARN) associated with a namespace. NamespaceArn *string `locationName:"namespaceArn" type:"string"` // The unique identifier of a namespace. NamespaceId *string `locationName:"namespaceId" type:"string"` // The name of the namespace. Must be between 3-64 alphanumeric characters in // lowercase, and it cannot be a reserved word. A list of reserved words can // be found in Reserved Words (https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html) // in the Amazon Redshift Database Developer Guide. NamespaceName *string `locationName:"namespaceName" min:"3" type:"string"` // The status of the namespace. Status *string `locationName:"status" type:"string" enum:"NamespaceStatus"` // contains filtered or unexported fields }
A collection of database objects and users.
func (Namespace) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Namespace) SetAdminUsername ¶
SetAdminUsername sets the AdminUsername field's value.
func (*Namespace) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Namespace) SetDefaultIamRoleArn ¶
SetDefaultIamRoleArn sets the DefaultIamRoleArn field's value.
func (*Namespace) SetIamRoles ¶
SetIamRoles sets the IamRoles field's value.
func (*Namespace) SetKmsKeyId ¶
SetKmsKeyId sets the KmsKeyId field's value.
func (*Namespace) SetLogExports ¶
SetLogExports sets the LogExports field's value.
func (*Namespace) SetNamespaceArn ¶
SetNamespaceArn sets the NamespaceArn field's value.
func (*Namespace) SetNamespaceId ¶
SetNamespaceId sets the NamespaceId field's value.
func (*Namespace) SetNamespaceName ¶
SetNamespaceName sets the NamespaceName field's value.
type NetworkInterface ¶
type NetworkInterface struct { // The availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The unique identifier of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The IPv4 address of the network interface within the subnet. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The unique identifier of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` // contains filtered or unexported fields }
Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.
func (NetworkInterface) GoString ¶
func (s NetworkInterface) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NetworkInterface) SetAvailabilityZone ¶
func (s *NetworkInterface) SetAvailabilityZone(v string) *NetworkInterface
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*NetworkInterface) SetNetworkInterfaceId ¶
func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*NetworkInterface) SetPrivateIpAddress ¶
func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface
SetPrivateIpAddress sets the PrivateIpAddress field's value.
func (*NetworkInterface) SetSubnetId ¶
func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface
SetSubnetId sets the SubnetId field's value.
func (NetworkInterface) String ¶
func (s NetworkInterface) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutResourcePolicyInput ¶
type PutResourcePolicyInput struct { // The policy to create or update. For example, the following policy grants // a user authorization to restore a snapshot. // // "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", // \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] // , \"Effect\": \"Allow\" }]}" // // Policy is a required field Policy *string `locationName:"policy" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the account to create or update a resource // policy for. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutResourcePolicyInput) GoString ¶
func (s PutResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutResourcePolicyInput) SetPolicy ¶
func (s *PutResourcePolicyInput) SetPolicy(v string) *PutResourcePolicyInput
SetPolicy sets the Policy field's value.
func (*PutResourcePolicyInput) SetResourceArn ¶
func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (PutResourcePolicyInput) String ¶
func (s PutResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutResourcePolicyInput) Validate ¶
func (s *PutResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutResourcePolicyOutput ¶
type PutResourcePolicyOutput struct { // The policy that was created or updated. ResourcePolicy *ResourcePolicy `locationName:"resourcePolicy" type:"structure"` // contains filtered or unexported fields }
func (PutResourcePolicyOutput) GoString ¶
func (s PutResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutResourcePolicyOutput) SetResourcePolicy ¶
func (s *PutResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *PutResourcePolicyOutput
SetResourcePolicy sets the ResourcePolicy field's value.
func (PutResourcePolicyOutput) String ¶
func (s PutResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecoveryPoint ¶
type RecoveryPoint struct { // The name of the namespace the recovery point is associated with. NamespaceName *string `locationName:"namespaceName" min:"3" type:"string"` // The time the recovery point is created. RecoveryPointCreateTime *time.Time `locationName:"recoveryPointCreateTime" type:"timestamp" timestampFormat:"iso8601"` // The unique identifier of the recovery point. RecoveryPointId *string `locationName:"recoveryPointId" type:"string"` // The total size of the data in the recovery point in megabytes. TotalSizeInMegaBytes *float64 `locationName:"totalSizeInMegaBytes" type:"double"` // The name of the workgroup the recovery point is associated with. WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string"` // contains filtered or unexported fields }
The automatically created recovery point of a namespace. Recovery points are created every 30 minutes and kept for 24 hours.
func (RecoveryPoint) GoString ¶
func (s RecoveryPoint) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecoveryPoint) SetNamespaceName ¶
func (s *RecoveryPoint) SetNamespaceName(v string) *RecoveryPoint
SetNamespaceName sets the NamespaceName field's value.
func (*RecoveryPoint) SetRecoveryPointCreateTime ¶
func (s *RecoveryPoint) SetRecoveryPointCreateTime(v time.Time) *RecoveryPoint
SetRecoveryPointCreateTime sets the RecoveryPointCreateTime field's value.
func (*RecoveryPoint) SetRecoveryPointId ¶
func (s *RecoveryPoint) SetRecoveryPointId(v string) *RecoveryPoint
SetRecoveryPointId sets the RecoveryPointId field's value.
func (*RecoveryPoint) SetTotalSizeInMegaBytes ¶
func (s *RecoveryPoint) SetTotalSizeInMegaBytes(v float64) *RecoveryPoint
SetTotalSizeInMegaBytes sets the TotalSizeInMegaBytes field's value.
func (*RecoveryPoint) SetWorkgroupName ¶
func (s *RecoveryPoint) SetWorkgroupName(v string) *RecoveryPoint
SetWorkgroupName sets the WorkgroupName field's value.
func (RecoveryPoint) String ¶
func (s RecoveryPoint) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RedshiftServerless ¶
RedshiftServerless provides the API operation methods for making requests to Redshift Serverless. See this package's package overview docs for details on the service.
RedshiftServerless methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *RedshiftServerless
New creates a new instance of the RedshiftServerless 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 RedshiftServerless client from just a session. svc := redshiftserverless.New(mySession) // Create a RedshiftServerless client with additional configuration svc := redshiftserverless.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*RedshiftServerless) ConvertRecoveryPointToSnapshot ¶
func (c *RedshiftServerless) ConvertRecoveryPointToSnapshot(input *ConvertRecoveryPointToSnapshotInput) (*ConvertRecoveryPointToSnapshotOutput, error)
ConvertRecoveryPointToSnapshot API operation for Redshift Serverless.
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html).
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 Redshift Serverless's API operation ConvertRecoveryPointToSnapshot for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ServiceQuotaExceededException The service limit was exceeded.
func (*RedshiftServerless) ConvertRecoveryPointToSnapshotRequest ¶
func (c *RedshiftServerless) ConvertRecoveryPointToSnapshotRequest(input *ConvertRecoveryPointToSnapshotInput) (req *request.Request, output *ConvertRecoveryPointToSnapshotOutput)
ConvertRecoveryPointToSnapshotRequest generates a "aws/request.Request" representing the client's request for the ConvertRecoveryPointToSnapshot 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 ConvertRecoveryPointToSnapshot for more information on using the ConvertRecoveryPointToSnapshot 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 ConvertRecoveryPointToSnapshotRequest method. req, resp := client.ConvertRecoveryPointToSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*RedshiftServerless) ConvertRecoveryPointToSnapshotWithContext ¶
func (c *RedshiftServerless) ConvertRecoveryPointToSnapshotWithContext(ctx aws.Context, input *ConvertRecoveryPointToSnapshotInput, opts ...request.Option) (*ConvertRecoveryPointToSnapshotOutput, error)
ConvertRecoveryPointToSnapshotWithContext is the same as ConvertRecoveryPointToSnapshot with the addition of the ability to pass a context and additional request options.
See ConvertRecoveryPointToSnapshot 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 (*RedshiftServerless) CreateEndpointAccess ¶
func (c *RedshiftServerless) CreateEndpointAccess(input *CreateEndpointAccessInput) (*CreateEndpointAccessOutput, error)
CreateEndpointAccess API operation for Redshift Serverless.
Creates an Amazon Redshift Serverless managed VPC endpoint.
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 Redshift Serverless's API operation CreateEndpointAccess for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
AccessDeniedException You do not have sufficient access to perform this action.
ServiceQuotaExceededException The service limit was exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateEndpointAccess
func (*RedshiftServerless) CreateEndpointAccessRequest ¶
func (c *RedshiftServerless) CreateEndpointAccessRequest(input *CreateEndpointAccessInput) (req *request.Request, output *CreateEndpointAccessOutput)
CreateEndpointAccessRequest generates a "aws/request.Request" representing the client's request for the CreateEndpointAccess 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 CreateEndpointAccess for more information on using the CreateEndpointAccess 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 CreateEndpointAccessRequest method. req, resp := client.CreateEndpointAccessRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateEndpointAccess
func (*RedshiftServerless) CreateEndpointAccessWithContext ¶
func (c *RedshiftServerless) CreateEndpointAccessWithContext(ctx aws.Context, input *CreateEndpointAccessInput, opts ...request.Option) (*CreateEndpointAccessOutput, error)
CreateEndpointAccessWithContext is the same as CreateEndpointAccess with the addition of the ability to pass a context and additional request options.
See CreateEndpointAccess 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 (*RedshiftServerless) CreateNamespace ¶
func (c *RedshiftServerless) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error)
CreateNamespace API operation for Redshift Serverless.
Creates a namespace in Amazon Redshift Serverless.
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 Redshift Serverless's API operation CreateNamespace for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
TooManyTagsException The request exceeded the number of tags allowed for a resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateNamespace
func (*RedshiftServerless) CreateNamespaceRequest ¶
func (c *RedshiftServerless) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput)
CreateNamespaceRequest generates a "aws/request.Request" representing the client's request for the CreateNamespace 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 CreateNamespace for more information on using the CreateNamespace 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 CreateNamespaceRequest method. req, resp := client.CreateNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateNamespace
func (*RedshiftServerless) CreateNamespaceWithContext ¶
func (c *RedshiftServerless) CreateNamespaceWithContext(ctx aws.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error)
CreateNamespaceWithContext is the same as CreateNamespace with the addition of the ability to pass a context and additional request options.
See CreateNamespace 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 (*RedshiftServerless) CreateSnapshot ¶
func (c *RedshiftServerless) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error)
CreateSnapshot API operation for Redshift Serverless.
Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html).
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 Redshift Serverless's API operation CreateSnapshot for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ServiceQuotaExceededException The service limit was exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateSnapshot
func (*RedshiftServerless) CreateSnapshotRequest ¶
func (c *RedshiftServerless) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput)
CreateSnapshotRequest generates a "aws/request.Request" representing the client's request for the CreateSnapshot 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 CreateSnapshot for more information on using the CreateSnapshot 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 CreateSnapshotRequest method. req, resp := client.CreateSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateSnapshot
func (*RedshiftServerless) CreateSnapshotWithContext ¶
func (c *RedshiftServerless) CreateSnapshotWithContext(ctx aws.Context, input *CreateSnapshotInput, opts ...request.Option) (*CreateSnapshotOutput, error)
CreateSnapshotWithContext is the same as CreateSnapshot with the addition of the ability to pass a context and additional request options.
See CreateSnapshot 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 (*RedshiftServerless) CreateUsageLimit ¶
func (c *RedshiftServerless) CreateUsageLimit(input *CreateUsageLimitInput) (*CreateUsageLimitOutput, error)
CreateUsageLimit API operation for Redshift Serverless.
Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
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 Redshift Serverless's API operation CreateUsageLimit for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ServiceQuotaExceededException The service limit was exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateUsageLimit
func (*RedshiftServerless) CreateUsageLimitRequest ¶
func (c *RedshiftServerless) CreateUsageLimitRequest(input *CreateUsageLimitInput) (req *request.Request, output *CreateUsageLimitOutput)
CreateUsageLimitRequest generates a "aws/request.Request" representing the client's request for the CreateUsageLimit 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 CreateUsageLimit for more information on using the CreateUsageLimit 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 CreateUsageLimitRequest method. req, resp := client.CreateUsageLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateUsageLimit
func (*RedshiftServerless) CreateUsageLimitWithContext ¶
func (c *RedshiftServerless) CreateUsageLimitWithContext(ctx aws.Context, input *CreateUsageLimitInput, opts ...request.Option) (*CreateUsageLimitOutput, error)
CreateUsageLimitWithContext is the same as CreateUsageLimit with the addition of the ability to pass a context and additional request options.
See CreateUsageLimit 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 (*RedshiftServerless) CreateWorkgroup ¶
func (c *RedshiftServerless) CreateWorkgroup(input *CreateWorkgroupInput) (*CreateWorkgroupOutput, error)
CreateWorkgroup API operation for Redshift Serverless.
Creates an workgroup in Amazon Redshift Serverless.
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 Redshift Serverless's API operation CreateWorkgroup for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
InsufficientCapacityException There is an insufficient capacity to perform the action.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
TooManyTagsException The request exceeded the number of tags allowed for a resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateWorkgroup
func (*RedshiftServerless) CreateWorkgroupRequest ¶
func (c *RedshiftServerless) CreateWorkgroupRequest(input *CreateWorkgroupInput) (req *request.Request, output *CreateWorkgroupOutput)
CreateWorkgroupRequest generates a "aws/request.Request" representing the client's request for the CreateWorkgroup 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 CreateWorkgroup for more information on using the CreateWorkgroup 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 CreateWorkgroupRequest method. req, resp := client.CreateWorkgroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateWorkgroup
func (*RedshiftServerless) CreateWorkgroupWithContext ¶
func (c *RedshiftServerless) CreateWorkgroupWithContext(ctx aws.Context, input *CreateWorkgroupInput, opts ...request.Option) (*CreateWorkgroupOutput, error)
CreateWorkgroupWithContext is the same as CreateWorkgroup with the addition of the ability to pass a context and additional request options.
See CreateWorkgroup 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 (*RedshiftServerless) DeleteEndpointAccess ¶
func (c *RedshiftServerless) DeleteEndpointAccess(input *DeleteEndpointAccessInput) (*DeleteEndpointAccessOutput, error)
DeleteEndpointAccess API operation for Redshift Serverless.
Deletes an Amazon Redshift Serverless managed VPC endpoint.
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 Redshift Serverless's API operation DeleteEndpointAccess for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteEndpointAccess
func (*RedshiftServerless) DeleteEndpointAccessRequest ¶
func (c *RedshiftServerless) DeleteEndpointAccessRequest(input *DeleteEndpointAccessInput) (req *request.Request, output *DeleteEndpointAccessOutput)
DeleteEndpointAccessRequest generates a "aws/request.Request" representing the client's request for the DeleteEndpointAccess 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 DeleteEndpointAccess for more information on using the DeleteEndpointAccess 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 DeleteEndpointAccessRequest method. req, resp := client.DeleteEndpointAccessRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteEndpointAccess
func (*RedshiftServerless) DeleteEndpointAccessWithContext ¶
func (c *RedshiftServerless) DeleteEndpointAccessWithContext(ctx aws.Context, input *DeleteEndpointAccessInput, opts ...request.Option) (*DeleteEndpointAccessOutput, error)
DeleteEndpointAccessWithContext is the same as DeleteEndpointAccess with the addition of the ability to pass a context and additional request options.
See DeleteEndpointAccess 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 (*RedshiftServerless) DeleteNamespace ¶
func (c *RedshiftServerless) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error)
DeleteNamespace API operation for Redshift Serverless.
Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.
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 Redshift Serverless's API operation DeleteNamespace for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteNamespace
func (*RedshiftServerless) DeleteNamespaceRequest ¶
func (c *RedshiftServerless) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput)
DeleteNamespaceRequest generates a "aws/request.Request" representing the client's request for the DeleteNamespace 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 DeleteNamespace for more information on using the DeleteNamespace 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 DeleteNamespaceRequest method. req, resp := client.DeleteNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteNamespace
func (*RedshiftServerless) DeleteNamespaceWithContext ¶
func (c *RedshiftServerless) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error)
DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of the ability to pass a context and additional request options.
See DeleteNamespace 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 (*RedshiftServerless) DeleteResourcePolicy ¶
func (c *RedshiftServerless) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)
DeleteResourcePolicy API operation for Redshift Serverless.
Deletes the specified resource policy.
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 Redshift Serverless's API operation DeleteResourcePolicy for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteResourcePolicy
func (*RedshiftServerless) DeleteResourcePolicyRequest ¶
func (c *RedshiftServerless) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)
DeleteResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy 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 DeleteResourcePolicyRequest method. req, resp := client.DeleteResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteResourcePolicy
func (*RedshiftServerless) DeleteResourcePolicyWithContext ¶
func (c *RedshiftServerless) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)
DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of the ability to pass a context and additional request options.
See DeleteResourcePolicy 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 (*RedshiftServerless) DeleteSnapshot ¶
func (c *RedshiftServerless) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error)
DeleteSnapshot API operation for Redshift Serverless.
Deletes a snapshot from Amazon Redshift Serverless.
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 Redshift Serverless's API operation DeleteSnapshot for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteSnapshot
func (*RedshiftServerless) DeleteSnapshotRequest ¶
func (c *RedshiftServerless) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput)
DeleteSnapshotRequest generates a "aws/request.Request" representing the client's request for the DeleteSnapshot 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 DeleteSnapshot for more information on using the DeleteSnapshot 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 DeleteSnapshotRequest method. req, resp := client.DeleteSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteSnapshot
func (*RedshiftServerless) DeleteSnapshotWithContext ¶
func (c *RedshiftServerless) DeleteSnapshotWithContext(ctx aws.Context, input *DeleteSnapshotInput, opts ...request.Option) (*DeleteSnapshotOutput, error)
DeleteSnapshotWithContext is the same as DeleteSnapshot with the addition of the ability to pass a context and additional request options.
See DeleteSnapshot 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 (*RedshiftServerless) DeleteUsageLimit ¶
func (c *RedshiftServerless) DeleteUsageLimit(input *DeleteUsageLimitInput) (*DeleteUsageLimitOutput, error)
DeleteUsageLimit API operation for Redshift Serverless.
Deletes a usage limit from Amazon Redshift Serverless.
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 Redshift Serverless's API operation DeleteUsageLimit for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteUsageLimit
func (*RedshiftServerless) DeleteUsageLimitRequest ¶
func (c *RedshiftServerless) DeleteUsageLimitRequest(input *DeleteUsageLimitInput) (req *request.Request, output *DeleteUsageLimitOutput)
DeleteUsageLimitRequest generates a "aws/request.Request" representing the client's request for the DeleteUsageLimit 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 DeleteUsageLimit for more information on using the DeleteUsageLimit 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 DeleteUsageLimitRequest method. req, resp := client.DeleteUsageLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteUsageLimit
func (*RedshiftServerless) DeleteUsageLimitWithContext ¶
func (c *RedshiftServerless) DeleteUsageLimitWithContext(ctx aws.Context, input *DeleteUsageLimitInput, opts ...request.Option) (*DeleteUsageLimitOutput, error)
DeleteUsageLimitWithContext is the same as DeleteUsageLimit with the addition of the ability to pass a context and additional request options.
See DeleteUsageLimit 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 (*RedshiftServerless) DeleteWorkgroup ¶
func (c *RedshiftServerless) DeleteWorkgroup(input *DeleteWorkgroupInput) (*DeleteWorkgroupOutput, error)
DeleteWorkgroup API operation for Redshift Serverless.
Deletes a workgroup.
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 Redshift Serverless's API operation DeleteWorkgroup for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteWorkgroup
func (*RedshiftServerless) DeleteWorkgroupRequest ¶
func (c *RedshiftServerless) DeleteWorkgroupRequest(input *DeleteWorkgroupInput) (req *request.Request, output *DeleteWorkgroupOutput)
DeleteWorkgroupRequest generates a "aws/request.Request" representing the client's request for the DeleteWorkgroup 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 DeleteWorkgroup for more information on using the DeleteWorkgroup 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 DeleteWorkgroupRequest method. req, resp := client.DeleteWorkgroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteWorkgroup
func (*RedshiftServerless) DeleteWorkgroupWithContext ¶
func (c *RedshiftServerless) DeleteWorkgroupWithContext(ctx aws.Context, input *DeleteWorkgroupInput, opts ...request.Option) (*DeleteWorkgroupOutput, error)
DeleteWorkgroupWithContext is the same as DeleteWorkgroup with the addition of the ability to pass a context and additional request options.
See DeleteWorkgroup 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 (*RedshiftServerless) GetCredentials ¶
func (c *RedshiftServerless) GetCredentials(input *GetCredentialsInput) (*GetCredentialsOutput, error)
GetCredentials API operation for Redshift Serverless.
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.
By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).
<p> The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources. </p> <p> If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
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 Redshift Serverless's API operation GetCredentials for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCredentials
func (*RedshiftServerless) GetCredentialsRequest ¶
func (c *RedshiftServerless) GetCredentialsRequest(input *GetCredentialsInput) (req *request.Request, output *GetCredentialsOutput)
GetCredentialsRequest generates a "aws/request.Request" representing the client's request for the GetCredentials 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 GetCredentials for more information on using the GetCredentials 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 GetCredentialsRequest method. req, resp := client.GetCredentialsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCredentials
func (*RedshiftServerless) GetCredentialsWithContext ¶
func (c *RedshiftServerless) GetCredentialsWithContext(ctx aws.Context, input *GetCredentialsInput, opts ...request.Option) (*GetCredentialsOutput, error)
GetCredentialsWithContext is the same as GetCredentials with the addition of the ability to pass a context and additional request options.
See GetCredentials 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 (*RedshiftServerless) GetEndpointAccess ¶
func (c *RedshiftServerless) GetEndpointAccess(input *GetEndpointAccessInput) (*GetEndpointAccessOutput, error)
GetEndpointAccess API operation for Redshift Serverless.
Returns information, such as the name, about a VPC endpoint.
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 Redshift Serverless's API operation GetEndpointAccess for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetEndpointAccess
func (*RedshiftServerless) GetEndpointAccessRequest ¶
func (c *RedshiftServerless) GetEndpointAccessRequest(input *GetEndpointAccessInput) (req *request.Request, output *GetEndpointAccessOutput)
GetEndpointAccessRequest generates a "aws/request.Request" representing the client's request for the GetEndpointAccess 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 GetEndpointAccess for more information on using the GetEndpointAccess 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 GetEndpointAccessRequest method. req, resp := client.GetEndpointAccessRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetEndpointAccess
func (*RedshiftServerless) GetEndpointAccessWithContext ¶
func (c *RedshiftServerless) GetEndpointAccessWithContext(ctx aws.Context, input *GetEndpointAccessInput, opts ...request.Option) (*GetEndpointAccessOutput, error)
GetEndpointAccessWithContext is the same as GetEndpointAccess with the addition of the ability to pass a context and additional request options.
See GetEndpointAccess 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 (*RedshiftServerless) GetNamespace ¶
func (c *RedshiftServerless) GetNamespace(input *GetNamespaceInput) (*GetNamespaceOutput, error)
GetNamespace API operation for Redshift Serverless.
Returns information about a namespace in Amazon Redshift Serverless.
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 Redshift Serverless's API operation GetNamespace for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetNamespace
func (*RedshiftServerless) GetNamespaceRequest ¶
func (c *RedshiftServerless) GetNamespaceRequest(input *GetNamespaceInput) (req *request.Request, output *GetNamespaceOutput)
GetNamespaceRequest generates a "aws/request.Request" representing the client's request for the GetNamespace 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 GetNamespace for more information on using the GetNamespace 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 GetNamespaceRequest method. req, resp := client.GetNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetNamespace
func (*RedshiftServerless) GetNamespaceWithContext ¶
func (c *RedshiftServerless) GetNamespaceWithContext(ctx aws.Context, input *GetNamespaceInput, opts ...request.Option) (*GetNamespaceOutput, error)
GetNamespaceWithContext is the same as GetNamespace with the addition of the ability to pass a context and additional request options.
See GetNamespace 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 (*RedshiftServerless) GetRecoveryPoint ¶
func (c *RedshiftServerless) GetRecoveryPoint(input *GetRecoveryPointInput) (*GetRecoveryPointOutput, error)
GetRecoveryPoint API operation for Redshift Serverless.
Returns information about a recovery point.
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 Redshift Serverless's API operation GetRecoveryPoint for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetRecoveryPoint
func (*RedshiftServerless) GetRecoveryPointRequest ¶
func (c *RedshiftServerless) GetRecoveryPointRequest(input *GetRecoveryPointInput) (req *request.Request, output *GetRecoveryPointOutput)
GetRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the GetRecoveryPoint 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 GetRecoveryPoint for more information on using the GetRecoveryPoint 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 GetRecoveryPointRequest method. req, resp := client.GetRecoveryPointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetRecoveryPoint
func (*RedshiftServerless) GetRecoveryPointWithContext ¶
func (c *RedshiftServerless) GetRecoveryPointWithContext(ctx aws.Context, input *GetRecoveryPointInput, opts ...request.Option) (*GetRecoveryPointOutput, error)
GetRecoveryPointWithContext is the same as GetRecoveryPoint with the addition of the ability to pass a context and additional request options.
See GetRecoveryPoint 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 (*RedshiftServerless) GetResourcePolicy ¶
func (c *RedshiftServerless) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
GetResourcePolicy API operation for Redshift Serverless.
Returns a resource policy.
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 Redshift Serverless's API operation GetResourcePolicy for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetResourcePolicy
func (*RedshiftServerless) GetResourcePolicyRequest ¶
func (c *RedshiftServerless) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)
GetResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicy 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 GetResourcePolicy for more information on using the GetResourcePolicy 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 GetResourcePolicyRequest method. req, resp := client.GetResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetResourcePolicy
func (*RedshiftServerless) GetResourcePolicyWithContext ¶
func (c *RedshiftServerless) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)
GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of the ability to pass a context and additional request options.
See GetResourcePolicy 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 (*RedshiftServerless) GetSnapshot ¶
func (c *RedshiftServerless) GetSnapshot(input *GetSnapshotInput) (*GetSnapshotOutput, error)
GetSnapshot API operation for Redshift Serverless.
Returns information about a specific snapshot.
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 Redshift Serverless's API operation GetSnapshot for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetSnapshot
func (*RedshiftServerless) GetSnapshotRequest ¶
func (c *RedshiftServerless) GetSnapshotRequest(input *GetSnapshotInput) (req *request.Request, output *GetSnapshotOutput)
GetSnapshotRequest generates a "aws/request.Request" representing the client's request for the GetSnapshot 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 GetSnapshot for more information on using the GetSnapshot 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 GetSnapshotRequest method. req, resp := client.GetSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetSnapshot
func (*RedshiftServerless) GetSnapshotWithContext ¶
func (c *RedshiftServerless) GetSnapshotWithContext(ctx aws.Context, input *GetSnapshotInput, opts ...request.Option) (*GetSnapshotOutput, error)
GetSnapshotWithContext is the same as GetSnapshot with the addition of the ability to pass a context and additional request options.
See GetSnapshot 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 (*RedshiftServerless) GetUsageLimit ¶
func (c *RedshiftServerless) GetUsageLimit(input *GetUsageLimitInput) (*GetUsageLimitOutput, error)
GetUsageLimit API operation for Redshift Serverless.
Returns information about a usage limit.
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 Redshift Serverless's API operation GetUsageLimit for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetUsageLimit
func (*RedshiftServerless) GetUsageLimitRequest ¶
func (c *RedshiftServerless) GetUsageLimitRequest(input *GetUsageLimitInput) (req *request.Request, output *GetUsageLimitOutput)
GetUsageLimitRequest generates a "aws/request.Request" representing the client's request for the GetUsageLimit 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 GetUsageLimit for more information on using the GetUsageLimit 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 GetUsageLimitRequest method. req, resp := client.GetUsageLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetUsageLimit
func (*RedshiftServerless) GetUsageLimitWithContext ¶
func (c *RedshiftServerless) GetUsageLimitWithContext(ctx aws.Context, input *GetUsageLimitInput, opts ...request.Option) (*GetUsageLimitOutput, error)
GetUsageLimitWithContext is the same as GetUsageLimit with the addition of the ability to pass a context and additional request options.
See GetUsageLimit 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 (*RedshiftServerless) GetWorkgroup ¶
func (c *RedshiftServerless) GetWorkgroup(input *GetWorkgroupInput) (*GetWorkgroupOutput, error)
GetWorkgroup API operation for Redshift Serverless.
Returns information about a specific workgroup.
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 Redshift Serverless's API operation GetWorkgroup for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetWorkgroup
func (*RedshiftServerless) GetWorkgroupRequest ¶
func (c *RedshiftServerless) GetWorkgroupRequest(input *GetWorkgroupInput) (req *request.Request, output *GetWorkgroupOutput)
GetWorkgroupRequest generates a "aws/request.Request" representing the client's request for the GetWorkgroup 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 GetWorkgroup for more information on using the GetWorkgroup 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 GetWorkgroupRequest method. req, resp := client.GetWorkgroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetWorkgroup
func (*RedshiftServerless) GetWorkgroupWithContext ¶
func (c *RedshiftServerless) GetWorkgroupWithContext(ctx aws.Context, input *GetWorkgroupInput, opts ...request.Option) (*GetWorkgroupOutput, error)
GetWorkgroupWithContext is the same as GetWorkgroup with the addition of the ability to pass a context and additional request options.
See GetWorkgroup 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 (*RedshiftServerless) ListEndpointAccess ¶
func (c *RedshiftServerless) ListEndpointAccess(input *ListEndpointAccessInput) (*ListEndpointAccessOutput, error)
ListEndpointAccess API operation for Redshift Serverless.
Returns an array of EndpointAccess objects and relevant information.
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 Redshift Serverless's API operation ListEndpointAccess for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListEndpointAccess
func (*RedshiftServerless) ListEndpointAccessPages ¶
func (c *RedshiftServerless) ListEndpointAccessPages(input *ListEndpointAccessInput, fn func(*ListEndpointAccessOutput, bool) bool) error
ListEndpointAccessPages iterates over the pages of a ListEndpointAccess operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListEndpointAccess 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 ListEndpointAccess operation. pageNum := 0 err := client.ListEndpointAccessPages(params, func(page *redshiftserverless.ListEndpointAccessOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RedshiftServerless) ListEndpointAccessPagesWithContext ¶
func (c *RedshiftServerless) ListEndpointAccessPagesWithContext(ctx aws.Context, input *ListEndpointAccessInput, fn func(*ListEndpointAccessOutput, bool) bool, opts ...request.Option) error
ListEndpointAccessPagesWithContext same as ListEndpointAccessPages 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 (*RedshiftServerless) ListEndpointAccessRequest ¶
func (c *RedshiftServerless) ListEndpointAccessRequest(input *ListEndpointAccessInput) (req *request.Request, output *ListEndpointAccessOutput)
ListEndpointAccessRequest generates a "aws/request.Request" representing the client's request for the ListEndpointAccess 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 ListEndpointAccess for more information on using the ListEndpointAccess 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 ListEndpointAccessRequest method. req, resp := client.ListEndpointAccessRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListEndpointAccess
func (*RedshiftServerless) ListEndpointAccessWithContext ¶
func (c *RedshiftServerless) ListEndpointAccessWithContext(ctx aws.Context, input *ListEndpointAccessInput, opts ...request.Option) (*ListEndpointAccessOutput, error)
ListEndpointAccessWithContext is the same as ListEndpointAccess with the addition of the ability to pass a context and additional request options.
See ListEndpointAccess 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 (*RedshiftServerless) ListNamespaces ¶
func (c *RedshiftServerless) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error)
ListNamespaces API operation for Redshift Serverless.
Returns information about a list of specified namespaces.
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 Redshift Serverless's API operation ListNamespaces for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListNamespaces
func (*RedshiftServerless) ListNamespacesPages ¶
func (c *RedshiftServerless) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error
ListNamespacesPages iterates over the pages of a ListNamespaces operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListNamespaces 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 ListNamespaces operation. pageNum := 0 err := client.ListNamespacesPages(params, func(page *redshiftserverless.ListNamespacesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RedshiftServerless) ListNamespacesPagesWithContext ¶
func (c *RedshiftServerless) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...request.Option) error
ListNamespacesPagesWithContext same as ListNamespacesPages 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 (*RedshiftServerless) ListNamespacesRequest ¶
func (c *RedshiftServerless) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput)
ListNamespacesRequest generates a "aws/request.Request" representing the client's request for the ListNamespaces 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 ListNamespaces for more information on using the ListNamespaces 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 ListNamespacesRequest method. req, resp := client.ListNamespacesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListNamespaces
func (*RedshiftServerless) ListNamespacesWithContext ¶
func (c *RedshiftServerless) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error)
ListNamespacesWithContext is the same as ListNamespaces with the addition of the ability to pass a context and additional request options.
See ListNamespaces 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 (*RedshiftServerless) ListRecoveryPoints ¶
func (c *RedshiftServerless) ListRecoveryPoints(input *ListRecoveryPointsInput) (*ListRecoveryPointsOutput, error)
ListRecoveryPoints API operation for Redshift Serverless.
Returns an array of recovery points.
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 Redshift Serverless's API operation ListRecoveryPoints for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListRecoveryPoints
func (*RedshiftServerless) ListRecoveryPointsPages ¶
func (c *RedshiftServerless) ListRecoveryPointsPages(input *ListRecoveryPointsInput, fn func(*ListRecoveryPointsOutput, bool) bool) error
ListRecoveryPointsPages iterates over the pages of a ListRecoveryPoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRecoveryPoints 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 ListRecoveryPoints operation. pageNum := 0 err := client.ListRecoveryPointsPages(params, func(page *redshiftserverless.ListRecoveryPointsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RedshiftServerless) ListRecoveryPointsPagesWithContext ¶
func (c *RedshiftServerless) ListRecoveryPointsPagesWithContext(ctx aws.Context, input *ListRecoveryPointsInput, fn func(*ListRecoveryPointsOutput, bool) bool, opts ...request.Option) error
ListRecoveryPointsPagesWithContext same as ListRecoveryPointsPages 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 (*RedshiftServerless) ListRecoveryPointsRequest ¶
func (c *RedshiftServerless) ListRecoveryPointsRequest(input *ListRecoveryPointsInput) (req *request.Request, output *ListRecoveryPointsOutput)
ListRecoveryPointsRequest generates a "aws/request.Request" representing the client's request for the ListRecoveryPoints 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 ListRecoveryPoints for more information on using the ListRecoveryPoints 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 ListRecoveryPointsRequest method. req, resp := client.ListRecoveryPointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListRecoveryPoints
func (*RedshiftServerless) ListRecoveryPointsWithContext ¶
func (c *RedshiftServerless) ListRecoveryPointsWithContext(ctx aws.Context, input *ListRecoveryPointsInput, opts ...request.Option) (*ListRecoveryPointsOutput, error)
ListRecoveryPointsWithContext is the same as ListRecoveryPoints with the addition of the ability to pass a context and additional request options.
See ListRecoveryPoints 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 (*RedshiftServerless) ListSnapshots ¶
func (c *RedshiftServerless) ListSnapshots(input *ListSnapshotsInput) (*ListSnapshotsOutput, error)
ListSnapshots API operation for Redshift Serverless.
Returns a list of snapshots.
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 Redshift Serverless's API operation ListSnapshots for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListSnapshots
func (*RedshiftServerless) ListSnapshotsPages ¶
func (c *RedshiftServerless) ListSnapshotsPages(input *ListSnapshotsInput, fn func(*ListSnapshotsOutput, bool) bool) error
ListSnapshotsPages iterates over the pages of a ListSnapshots operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListSnapshots 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 ListSnapshots operation. pageNum := 0 err := client.ListSnapshotsPages(params, func(page *redshiftserverless.ListSnapshotsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RedshiftServerless) ListSnapshotsPagesWithContext ¶
func (c *RedshiftServerless) ListSnapshotsPagesWithContext(ctx aws.Context, input *ListSnapshotsInput, fn func(*ListSnapshotsOutput, bool) bool, opts ...request.Option) error
ListSnapshotsPagesWithContext same as ListSnapshotsPages 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 (*RedshiftServerless) ListSnapshotsRequest ¶
func (c *RedshiftServerless) ListSnapshotsRequest(input *ListSnapshotsInput) (req *request.Request, output *ListSnapshotsOutput)
ListSnapshotsRequest generates a "aws/request.Request" representing the client's request for the ListSnapshots 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 ListSnapshots for more information on using the ListSnapshots 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 ListSnapshotsRequest method. req, resp := client.ListSnapshotsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListSnapshots
func (*RedshiftServerless) ListSnapshotsWithContext ¶
func (c *RedshiftServerless) ListSnapshotsWithContext(ctx aws.Context, input *ListSnapshotsInput, opts ...request.Option) (*ListSnapshotsOutput, error)
ListSnapshotsWithContext is the same as ListSnapshots with the addition of the ability to pass a context and additional request options.
See ListSnapshots 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 (*RedshiftServerless) ListTagsForResource ¶
func (c *RedshiftServerless) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Redshift Serverless.
Lists the tags assigned to a 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 Redshift Serverless's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTagsForResource
func (*RedshiftServerless) ListTagsForResourceRequest ¶
func (c *RedshiftServerless) 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/redshift-serverless-2021-04-21/ListTagsForResource
func (*RedshiftServerless) ListTagsForResourceWithContext ¶
func (c *RedshiftServerless) 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 (*RedshiftServerless) ListUsageLimits ¶
func (c *RedshiftServerless) ListUsageLimits(input *ListUsageLimitsInput) (*ListUsageLimitsOutput, error)
ListUsageLimits API operation for Redshift Serverless.
Lists all usage limits within Amazon Redshift Serverless.
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 Redshift Serverless's API operation ListUsageLimits for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
InvalidPaginationException The provided pagination token is invalid.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListUsageLimits
func (*RedshiftServerless) ListUsageLimitsPages ¶
func (c *RedshiftServerless) ListUsageLimitsPages(input *ListUsageLimitsInput, fn func(*ListUsageLimitsOutput, bool) bool) error
ListUsageLimitsPages iterates over the pages of a ListUsageLimits operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListUsageLimits 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 ListUsageLimits operation. pageNum := 0 err := client.ListUsageLimitsPages(params, func(page *redshiftserverless.ListUsageLimitsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RedshiftServerless) ListUsageLimitsPagesWithContext ¶
func (c *RedshiftServerless) ListUsageLimitsPagesWithContext(ctx aws.Context, input *ListUsageLimitsInput, fn func(*ListUsageLimitsOutput, bool) bool, opts ...request.Option) error
ListUsageLimitsPagesWithContext same as ListUsageLimitsPages 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 (*RedshiftServerless) ListUsageLimitsRequest ¶
func (c *RedshiftServerless) ListUsageLimitsRequest(input *ListUsageLimitsInput) (req *request.Request, output *ListUsageLimitsOutput)
ListUsageLimitsRequest generates a "aws/request.Request" representing the client's request for the ListUsageLimits 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 ListUsageLimits for more information on using the ListUsageLimits 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 ListUsageLimitsRequest method. req, resp := client.ListUsageLimitsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListUsageLimits
func (*RedshiftServerless) ListUsageLimitsWithContext ¶
func (c *RedshiftServerless) ListUsageLimitsWithContext(ctx aws.Context, input *ListUsageLimitsInput, opts ...request.Option) (*ListUsageLimitsOutput, error)
ListUsageLimitsWithContext is the same as ListUsageLimits with the addition of the ability to pass a context and additional request options.
See ListUsageLimits 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 (*RedshiftServerless) ListWorkgroups ¶
func (c *RedshiftServerless) ListWorkgroups(input *ListWorkgroupsInput) (*ListWorkgroupsOutput, error)
ListWorkgroups API operation for Redshift Serverless.
Returns information about a list of specified workgroups.
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 Redshift Serverless's API operation ListWorkgroups for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListWorkgroups
func (*RedshiftServerless) ListWorkgroupsPages ¶
func (c *RedshiftServerless) ListWorkgroupsPages(input *ListWorkgroupsInput, fn func(*ListWorkgroupsOutput, bool) bool) error
ListWorkgroupsPages iterates over the pages of a ListWorkgroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListWorkgroups 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 ListWorkgroups operation. pageNum := 0 err := client.ListWorkgroupsPages(params, func(page *redshiftserverless.ListWorkgroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RedshiftServerless) ListWorkgroupsPagesWithContext ¶
func (c *RedshiftServerless) ListWorkgroupsPagesWithContext(ctx aws.Context, input *ListWorkgroupsInput, fn func(*ListWorkgroupsOutput, bool) bool, opts ...request.Option) error
ListWorkgroupsPagesWithContext same as ListWorkgroupsPages 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 (*RedshiftServerless) ListWorkgroupsRequest ¶
func (c *RedshiftServerless) ListWorkgroupsRequest(input *ListWorkgroupsInput) (req *request.Request, output *ListWorkgroupsOutput)
ListWorkgroupsRequest generates a "aws/request.Request" representing the client's request for the ListWorkgroups 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 ListWorkgroups for more information on using the ListWorkgroups 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 ListWorkgroupsRequest method. req, resp := client.ListWorkgroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListWorkgroups
func (*RedshiftServerless) ListWorkgroupsWithContext ¶
func (c *RedshiftServerless) ListWorkgroupsWithContext(ctx aws.Context, input *ListWorkgroupsInput, opts ...request.Option) (*ListWorkgroupsOutput, error)
ListWorkgroupsWithContext is the same as ListWorkgroups with the addition of the ability to pass a context and additional request options.
See ListWorkgroups 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 (*RedshiftServerless) PutResourcePolicy ¶
func (c *RedshiftServerless) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)
PutResourcePolicy API operation for Redshift Serverless.
Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
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 Redshift Serverless's API operation PutResourcePolicy for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ServiceQuotaExceededException The service limit was exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/PutResourcePolicy
func (*RedshiftServerless) PutResourcePolicyRequest ¶
func (c *RedshiftServerless) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)
PutResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the PutResourcePolicy 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 PutResourcePolicy for more information on using the PutResourcePolicy 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 PutResourcePolicyRequest method. req, resp := client.PutResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/PutResourcePolicy
func (*RedshiftServerless) PutResourcePolicyWithContext ¶
func (c *RedshiftServerless) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)
PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of the ability to pass a context and additional request options.
See PutResourcePolicy 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 (*RedshiftServerless) RestoreFromRecoveryPoint ¶
func (c *RedshiftServerless) RestoreFromRecoveryPoint(input *RestoreFromRecoveryPointInput) (*RestoreFromRecoveryPointOutput, error)
RestoreFromRecoveryPoint API operation for Redshift Serverless.
Restore the data from a recovery point.
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 Redshift Serverless's API operation RestoreFromRecoveryPoint for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreFromRecoveryPoint
func (*RedshiftServerless) RestoreFromRecoveryPointRequest ¶
func (c *RedshiftServerless) RestoreFromRecoveryPointRequest(input *RestoreFromRecoveryPointInput) (req *request.Request, output *RestoreFromRecoveryPointOutput)
RestoreFromRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the RestoreFromRecoveryPoint 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 RestoreFromRecoveryPoint for more information on using the RestoreFromRecoveryPoint 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 RestoreFromRecoveryPointRequest method. req, resp := client.RestoreFromRecoveryPointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreFromRecoveryPoint
func (*RedshiftServerless) RestoreFromRecoveryPointWithContext ¶
func (c *RedshiftServerless) RestoreFromRecoveryPointWithContext(ctx aws.Context, input *RestoreFromRecoveryPointInput, opts ...request.Option) (*RestoreFromRecoveryPointOutput, error)
RestoreFromRecoveryPointWithContext is the same as RestoreFromRecoveryPoint with the addition of the ability to pass a context and additional request options.
See RestoreFromRecoveryPoint 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 (*RedshiftServerless) RestoreFromSnapshot ¶
func (c *RedshiftServerless) RestoreFromSnapshot(input *RestoreFromSnapshotInput) (*RestoreFromSnapshotOutput, error)
RestoreFromSnapshot API operation for Redshift Serverless.
Restores a namespace from a snapshot.
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 Redshift Serverless's API operation RestoreFromSnapshot for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ServiceQuotaExceededException The service limit was exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreFromSnapshot
func (*RedshiftServerless) RestoreFromSnapshotRequest ¶
func (c *RedshiftServerless) RestoreFromSnapshotRequest(input *RestoreFromSnapshotInput) (req *request.Request, output *RestoreFromSnapshotOutput)
RestoreFromSnapshotRequest generates a "aws/request.Request" representing the client's request for the RestoreFromSnapshot 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 RestoreFromSnapshot for more information on using the RestoreFromSnapshot 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 RestoreFromSnapshotRequest method. req, resp := client.RestoreFromSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreFromSnapshot
func (*RedshiftServerless) RestoreFromSnapshotWithContext ¶
func (c *RedshiftServerless) RestoreFromSnapshotWithContext(ctx aws.Context, input *RestoreFromSnapshotInput, opts ...request.Option) (*RestoreFromSnapshotOutput, error)
RestoreFromSnapshotWithContext is the same as RestoreFromSnapshot with the addition of the ability to pass a context and additional request options.
See RestoreFromSnapshot 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 (*RedshiftServerless) TagResource ¶
func (c *RedshiftServerless) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Redshift Serverless.
Assigns one or more tags to a 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 Redshift Serverless's API operation TagResource for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
TooManyTagsException The request exceeded the number of tags allowed for a resource.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/TagResource
func (*RedshiftServerless) TagResourceRequest ¶
func (c *RedshiftServerless) 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/redshift-serverless-2021-04-21/TagResource
func (*RedshiftServerless) TagResourceWithContext ¶
func (c *RedshiftServerless) 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 (*RedshiftServerless) UntagResource ¶
func (c *RedshiftServerless) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Redshift Serverless.
Removes a tag or set of tags from a 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 Redshift Serverless's API operation UntagResource for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UntagResource
func (*RedshiftServerless) UntagResourceRequest ¶
func (c *RedshiftServerless) 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/redshift-serverless-2021-04-21/UntagResource
func (*RedshiftServerless) UntagResourceWithContext ¶
func (c *RedshiftServerless) 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 (*RedshiftServerless) UpdateEndpointAccess ¶
func (c *RedshiftServerless) UpdateEndpointAccess(input *UpdateEndpointAccessInput) (*UpdateEndpointAccessOutput, error)
UpdateEndpointAccess API operation for Redshift Serverless.
Updates an Amazon Redshift Serverless managed endpoint.
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 Redshift Serverless's API operation UpdateEndpointAccess for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
AccessDeniedException You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateEndpointAccess
func (*RedshiftServerless) UpdateEndpointAccessRequest ¶
func (c *RedshiftServerless) UpdateEndpointAccessRequest(input *UpdateEndpointAccessInput) (req *request.Request, output *UpdateEndpointAccessOutput)
UpdateEndpointAccessRequest generates a "aws/request.Request" representing the client's request for the UpdateEndpointAccess 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 UpdateEndpointAccess for more information on using the UpdateEndpointAccess 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 UpdateEndpointAccessRequest method. req, resp := client.UpdateEndpointAccessRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateEndpointAccess
func (*RedshiftServerless) UpdateEndpointAccessWithContext ¶
func (c *RedshiftServerless) UpdateEndpointAccessWithContext(ctx aws.Context, input *UpdateEndpointAccessInput, opts ...request.Option) (*UpdateEndpointAccessOutput, error)
UpdateEndpointAccessWithContext is the same as UpdateEndpointAccess with the addition of the ability to pass a context and additional request options.
See UpdateEndpointAccess 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 (*RedshiftServerless) UpdateNamespace ¶
func (c *RedshiftServerless) UpdateNamespace(input *UpdateNamespaceInput) (*UpdateNamespaceOutput, error)
UpdateNamespace API operation for Redshift Serverless.
Updates a namespace with the specified settings.
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 Redshift Serverless's API operation UpdateNamespace for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateNamespace
func (*RedshiftServerless) UpdateNamespaceRequest ¶
func (c *RedshiftServerless) UpdateNamespaceRequest(input *UpdateNamespaceInput) (req *request.Request, output *UpdateNamespaceOutput)
UpdateNamespaceRequest generates a "aws/request.Request" representing the client's request for the UpdateNamespace 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 UpdateNamespace for more information on using the UpdateNamespace 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 UpdateNamespaceRequest method. req, resp := client.UpdateNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateNamespace
func (*RedshiftServerless) UpdateNamespaceWithContext ¶
func (c *RedshiftServerless) UpdateNamespaceWithContext(ctx aws.Context, input *UpdateNamespaceInput, opts ...request.Option) (*UpdateNamespaceOutput, error)
UpdateNamespaceWithContext is the same as UpdateNamespace with the addition of the ability to pass a context and additional request options.
See UpdateNamespace 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 (*RedshiftServerless) UpdateSnapshot ¶
func (c *RedshiftServerless) UpdateSnapshot(input *UpdateSnapshotInput) (*UpdateSnapshotOutput, error)
UpdateSnapshot API operation for Redshift Serverless.
Updates a snapshot.
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 Redshift Serverless's API operation UpdateSnapshot for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateSnapshot
func (*RedshiftServerless) UpdateSnapshotRequest ¶
func (c *RedshiftServerless) UpdateSnapshotRequest(input *UpdateSnapshotInput) (req *request.Request, output *UpdateSnapshotOutput)
UpdateSnapshotRequest generates a "aws/request.Request" representing the client's request for the UpdateSnapshot 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 UpdateSnapshot for more information on using the UpdateSnapshot 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 UpdateSnapshotRequest method. req, resp := client.UpdateSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateSnapshot
func (*RedshiftServerless) UpdateSnapshotWithContext ¶
func (c *RedshiftServerless) UpdateSnapshotWithContext(ctx aws.Context, input *UpdateSnapshotInput, opts ...request.Option) (*UpdateSnapshotOutput, error)
UpdateSnapshotWithContext is the same as UpdateSnapshot with the addition of the ability to pass a context and additional request options.
See UpdateSnapshot 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 (*RedshiftServerless) UpdateUsageLimit ¶
func (c *RedshiftServerless) UpdateUsageLimit(input *UpdateUsageLimitInput) (*UpdateUsageLimitOutput, error)
UpdateUsageLimit API operation for Redshift Serverless.
Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
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 Redshift Serverless's API operation UpdateUsageLimit for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateUsageLimit
func (*RedshiftServerless) UpdateUsageLimitRequest ¶
func (c *RedshiftServerless) UpdateUsageLimitRequest(input *UpdateUsageLimitInput) (req *request.Request, output *UpdateUsageLimitOutput)
UpdateUsageLimitRequest generates a "aws/request.Request" representing the client's request for the UpdateUsageLimit 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 UpdateUsageLimit for more information on using the UpdateUsageLimit 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 UpdateUsageLimitRequest method. req, resp := client.UpdateUsageLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateUsageLimit
func (*RedshiftServerless) UpdateUsageLimitWithContext ¶
func (c *RedshiftServerless) UpdateUsageLimitWithContext(ctx aws.Context, input *UpdateUsageLimitInput, opts ...request.Option) (*UpdateUsageLimitOutput, error)
UpdateUsageLimitWithContext is the same as UpdateUsageLimit with the addition of the ability to pass a context and additional request options.
See UpdateUsageLimit 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 (*RedshiftServerless) UpdateWorkgroup ¶
func (c *RedshiftServerless) UpdateWorkgroup(input *UpdateWorkgroupInput) (*UpdateWorkgroupOutput, error)
UpdateWorkgroup API operation for Redshift Serverless.
Updates a workgroup with the specified configuration settings.
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 Redshift Serverless's API operation UpdateWorkgroup for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception or failure.
InsufficientCapacityException There is an insufficient capacity to perform the action.
ResourceNotFoundException The resource could not be found.
ConflictException The submitted action has conflicts.
ValidationException The input failed to satisfy the constraints specified by an AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateWorkgroup
func (*RedshiftServerless) UpdateWorkgroupRequest ¶
func (c *RedshiftServerless) UpdateWorkgroupRequest(input *UpdateWorkgroupInput) (req *request.Request, output *UpdateWorkgroupOutput)
UpdateWorkgroupRequest generates a "aws/request.Request" representing the client's request for the UpdateWorkgroup 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 UpdateWorkgroup for more information on using the UpdateWorkgroup 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 UpdateWorkgroupRequest method. req, resp := client.UpdateWorkgroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateWorkgroup
func (*RedshiftServerless) UpdateWorkgroupWithContext ¶
func (c *RedshiftServerless) UpdateWorkgroupWithContext(ctx aws.Context, input *UpdateWorkgroupInput, opts ...request.Option) (*UpdateWorkgroupOutput, error)
UpdateWorkgroupWithContext is the same as UpdateWorkgroup with the addition of the ability to pass a context and additional request options.
See UpdateWorkgroup 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 ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The name of the resource that could not be found. ResourceName *string `locationName:"resourceName" min:"1" type:"string"` // contains filtered or unexported fields }
The resource could not be found.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourcePolicy ¶
type ResourcePolicy struct { // The resource policy. Policy *string `locationName:"policy" type:"string"` // The Amazon Resource Name (ARN) of the policy. ResourceArn *string `locationName:"resourceArn" type:"string"` // contains filtered or unexported fields }
The resource policy object. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
func (ResourcePolicy) GoString ¶
func (s ResourcePolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourcePolicy) SetPolicy ¶
func (s *ResourcePolicy) SetPolicy(v string) *ResourcePolicy
SetPolicy sets the Policy field's value.
func (*ResourcePolicy) SetResourceArn ¶
func (s *ResourcePolicy) SetResourceArn(v string) *ResourcePolicy
SetResourceArn sets the ResourceArn field's value.
func (ResourcePolicy) String ¶
func (s ResourcePolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RestoreFromRecoveryPointInput ¶
type RestoreFromRecoveryPointInput struct { // The name of the namespace to restore data into. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // The unique identifier of the recovery point to restore from. // // RecoveryPointId is a required field RecoveryPointId *string `locationName:"recoveryPointId" type:"string" required:"true"` // The name of the workgroup used to restore data. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (RestoreFromRecoveryPointInput) GoString ¶
func (s RestoreFromRecoveryPointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreFromRecoveryPointInput) SetNamespaceName ¶
func (s *RestoreFromRecoveryPointInput) SetNamespaceName(v string) *RestoreFromRecoveryPointInput
SetNamespaceName sets the NamespaceName field's value.
func (*RestoreFromRecoveryPointInput) SetRecoveryPointId ¶
func (s *RestoreFromRecoveryPointInput) SetRecoveryPointId(v string) *RestoreFromRecoveryPointInput
SetRecoveryPointId sets the RecoveryPointId field's value.
func (*RestoreFromRecoveryPointInput) SetWorkgroupName ¶
func (s *RestoreFromRecoveryPointInput) SetWorkgroupName(v string) *RestoreFromRecoveryPointInput
SetWorkgroupName sets the WorkgroupName field's value.
func (RestoreFromRecoveryPointInput) String ¶
func (s RestoreFromRecoveryPointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreFromRecoveryPointInput) Validate ¶
func (s *RestoreFromRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreFromRecoveryPointOutput ¶
type RestoreFromRecoveryPointOutput struct { // The namespace that data was restored into. Namespace *Namespace `locationName:"namespace" type:"structure"` // The unique identifier of the recovery point used for the restore. RecoveryPointId *string `locationName:"recoveryPointId" type:"string"` // contains filtered or unexported fields }
func (RestoreFromRecoveryPointOutput) GoString ¶
func (s RestoreFromRecoveryPointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreFromRecoveryPointOutput) SetNamespace ¶
func (s *RestoreFromRecoveryPointOutput) SetNamespace(v *Namespace) *RestoreFromRecoveryPointOutput
SetNamespace sets the Namespace field's value.
func (*RestoreFromRecoveryPointOutput) SetRecoveryPointId ¶
func (s *RestoreFromRecoveryPointOutput) SetRecoveryPointId(v string) *RestoreFromRecoveryPointOutput
SetRecoveryPointId sets the RecoveryPointId field's value.
func (RestoreFromRecoveryPointOutput) String ¶
func (s RestoreFromRecoveryPointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RestoreFromSnapshotInput ¶
type RestoreFromSnapshotInput struct { // The name of the namespace to restore the snapshot to. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // The Amazon Web Services account that owns the snapshot. OwnerAccount *string `locationName:"ownerAccount" type:"string"` // The Amazon Resource Name (ARN) of the snapshot to restore from. SnapshotArn *string `locationName:"snapshotArn" type:"string"` // The name of the snapshot to restore from. SnapshotName *string `locationName:"snapshotName" type:"string"` // The name of the workgroup used to restore the snapshot. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (RestoreFromSnapshotInput) GoString ¶
func (s RestoreFromSnapshotInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreFromSnapshotInput) SetNamespaceName ¶
func (s *RestoreFromSnapshotInput) SetNamespaceName(v string) *RestoreFromSnapshotInput
SetNamespaceName sets the NamespaceName field's value.
func (*RestoreFromSnapshotInput) SetOwnerAccount ¶
func (s *RestoreFromSnapshotInput) SetOwnerAccount(v string) *RestoreFromSnapshotInput
SetOwnerAccount sets the OwnerAccount field's value.
func (*RestoreFromSnapshotInput) SetSnapshotArn ¶
func (s *RestoreFromSnapshotInput) SetSnapshotArn(v string) *RestoreFromSnapshotInput
SetSnapshotArn sets the SnapshotArn field's value.
func (*RestoreFromSnapshotInput) SetSnapshotName ¶
func (s *RestoreFromSnapshotInput) SetSnapshotName(v string) *RestoreFromSnapshotInput
SetSnapshotName sets the SnapshotName field's value.
func (*RestoreFromSnapshotInput) SetWorkgroupName ¶
func (s *RestoreFromSnapshotInput) SetWorkgroupName(v string) *RestoreFromSnapshotInput
SetWorkgroupName sets the WorkgroupName field's value.
func (RestoreFromSnapshotInput) String ¶
func (s RestoreFromSnapshotInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreFromSnapshotInput) Validate ¶
func (s *RestoreFromSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreFromSnapshotOutput ¶
type RestoreFromSnapshotOutput struct { // A collection of database objects and users. Namespace *Namespace `locationName:"namespace" type:"structure"` // The owner Amazon Web Services; account of the snapshot that was restored. OwnerAccount *string `locationName:"ownerAccount" type:"string"` // The name of the snapshot used to restore the namespace. SnapshotName *string `locationName:"snapshotName" type:"string"` // contains filtered or unexported fields }
func (RestoreFromSnapshotOutput) GoString ¶
func (s RestoreFromSnapshotOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreFromSnapshotOutput) SetNamespace ¶
func (s *RestoreFromSnapshotOutput) SetNamespace(v *Namespace) *RestoreFromSnapshotOutput
SetNamespace sets the Namespace field's value.
func (*RestoreFromSnapshotOutput) SetOwnerAccount ¶
func (s *RestoreFromSnapshotOutput) SetOwnerAccount(v string) *RestoreFromSnapshotOutput
SetOwnerAccount sets the OwnerAccount field's value.
func (*RestoreFromSnapshotOutput) SetSnapshotName ¶
func (s *RestoreFromSnapshotOutput) SetSnapshotName(v string) *RestoreFromSnapshotOutput
SetSnapshotName sets the SnapshotName field's value.
func (RestoreFromSnapshotOutput) String ¶
func (s RestoreFromSnapshotOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The service limit was exceeded.
func (*ServiceQuotaExceededException) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Snapshot ¶
type Snapshot struct { // All of the Amazon Web Services accounts that have access to restore a snapshot // to a provisioned cluster. AccountsWithProvisionedRestoreAccess []*string `locationName:"accountsWithProvisionedRestoreAccess" type:"list"` // All of the Amazon Web Services accounts that have access to restore a snapshot // to a namespace. AccountsWithRestoreAccess []*string `locationName:"accountsWithRestoreAccess" type:"list"` // The size of the incremental backup in megabytes. ActualIncrementalBackupSizeInMegaBytes *float64 `locationName:"actualIncrementalBackupSizeInMegaBytes" type:"double"` // The username of the database within a snapshot. AdminUsername *string `locationName:"adminUsername" type:"string"` // The size in megabytes of the data that has been backed up to a snapshot. BackupProgressInMegaBytes *float64 `locationName:"backupProgressInMegaBytes" type:"double"` // The rate at which data is backed up into a snapshot in megabytes per second. CurrentBackupRateInMegaBytesPerSecond *float64 `locationName:"currentBackupRateInMegaBytesPerSecond" type:"double"` // The amount of time it took to back up data into a snapshot. ElapsedTimeInSeconds *int64 `locationName:"elapsedTimeInSeconds" type:"long"` // The estimated amount of seconds until the snapshot completes backup. EstimatedSecondsToCompletion *int64 `locationName:"estimatedSecondsToCompletion" type:"long"` // The unique identifier of the KMS key used to encrypt the snapshot. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The Amazon Resource Name (ARN) of the namespace the snapshot was created // from. NamespaceArn *string `locationName:"namespaceArn" type:"string"` // The name of the namepsace. NamespaceName *string `locationName:"namespaceName" type:"string"` // The owner Amazon Web Services; account of the snapshot. OwnerAccount *string `locationName:"ownerAccount" type:"string"` // The Amazon Resource Name (ARN) of the snapshot. SnapshotArn *string `locationName:"snapshotArn" type:"string"` // The timestamp of when the snapshot was created. SnapshotCreateTime *time.Time `locationName:"snapshotCreateTime" type:"timestamp" timestampFormat:"iso8601"` // The name of the snapshot. SnapshotName *string `locationName:"snapshotName" type:"string"` // The amount of days until the snapshot is deleted. SnapshotRemainingDays *int64 `locationName:"snapshotRemainingDays" type:"integer"` // The period of time, in days, of how long the snapshot is retained. SnapshotRetentionPeriod *int64 `locationName:"snapshotRetentionPeriod" type:"integer"` // The timestamp of when data within the snapshot started getting retained. SnapshotRetentionStartTime *time.Time `locationName:"snapshotRetentionStartTime" type:"timestamp" timestampFormat:"iso8601"` // The status of the snapshot. Status *string `locationName:"status" type:"string" enum:"SnapshotStatus"` // The total size, in megabytes, of how big the snapshot is. TotalBackupSizeInMegaBytes *float64 `locationName:"totalBackupSizeInMegaBytes" type:"double"` // contains filtered or unexported fields }
A snapshot object that contains databases.
func (Snapshot) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Snapshot) SetAccountsWithProvisionedRestoreAccess ¶
SetAccountsWithProvisionedRestoreAccess sets the AccountsWithProvisionedRestoreAccess field's value.
func (*Snapshot) SetAccountsWithRestoreAccess ¶
SetAccountsWithRestoreAccess sets the AccountsWithRestoreAccess field's value.
func (*Snapshot) SetActualIncrementalBackupSizeInMegaBytes ¶
SetActualIncrementalBackupSizeInMegaBytes sets the ActualIncrementalBackupSizeInMegaBytes field's value.
func (*Snapshot) SetAdminUsername ¶
SetAdminUsername sets the AdminUsername field's value.
func (*Snapshot) SetBackupProgressInMegaBytes ¶
SetBackupProgressInMegaBytes sets the BackupProgressInMegaBytes field's value.
func (*Snapshot) SetCurrentBackupRateInMegaBytesPerSecond ¶
SetCurrentBackupRateInMegaBytesPerSecond sets the CurrentBackupRateInMegaBytesPerSecond field's value.
func (*Snapshot) SetElapsedTimeInSeconds ¶
SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value.
func (*Snapshot) SetEstimatedSecondsToCompletion ¶
SetEstimatedSecondsToCompletion sets the EstimatedSecondsToCompletion field's value.
func (*Snapshot) SetKmsKeyId ¶
SetKmsKeyId sets the KmsKeyId field's value.
func (*Snapshot) SetNamespaceArn ¶
SetNamespaceArn sets the NamespaceArn field's value.
func (*Snapshot) SetNamespaceName ¶
SetNamespaceName sets the NamespaceName field's value.
func (*Snapshot) SetOwnerAccount ¶
SetOwnerAccount sets the OwnerAccount field's value.
func (*Snapshot) SetSnapshotArn ¶
SetSnapshotArn sets the SnapshotArn field's value.
func (*Snapshot) SetSnapshotCreateTime ¶
SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
func (*Snapshot) SetSnapshotName ¶
SetSnapshotName sets the SnapshotName field's value.
func (*Snapshot) SetSnapshotRemainingDays ¶
SetSnapshotRemainingDays sets the SnapshotRemainingDays field's value.
func (*Snapshot) SetSnapshotRetentionPeriod ¶
SetSnapshotRetentionPeriod sets the SnapshotRetentionPeriod field's value.
func (*Snapshot) SetSnapshotRetentionStartTime ¶
SetSnapshotRetentionStartTime sets the SnapshotRetentionStartTime field's value.
func (*Snapshot) SetTotalBackupSizeInMegaBytes ¶
SetTotalBackupSizeInMegaBytes sets the TotalBackupSizeInMegaBytes field's value.
type Tag ¶
type Tag struct { // The key to use in the tag. // // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The value of the tag. // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // contains filtered or unexported fields }
A map of key-value pairs.
func (Tag) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to tag. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // The map of the key-value pairs used to tag the resource. // // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"code" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyTagsException ¶
type TooManyTagsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The name of the resource that exceeded the number of tags allowed for a resource. ResourceName *string `locationName:"resourceName" min:"1" type:"string"` // contains filtered or unexported fields }
The request exceeded the number of tags allowed for a resource.
func (*TooManyTagsException) Code ¶
func (s *TooManyTagsException) Code() string
Code returns the exception type name.
func (*TooManyTagsException) Error ¶
func (s *TooManyTagsException) Error() string
func (TooManyTagsException) GoString ¶
func (s TooManyTagsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TooManyTagsException) Message ¶
func (s *TooManyTagsException) Message() string
Message returns the exception's message.
func (*TooManyTagsException) OrigErr ¶
func (s *TooManyTagsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyTagsException) RequestID ¶
func (s *TooManyTagsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyTagsException) StatusCode ¶
func (s *TooManyTagsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyTagsException) String ¶
func (s TooManyTagsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to remove tags from. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // The tag or set of tags to remove from the resource. // // TagKeys is a required field TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateEndpointAccessInput ¶
type UpdateEndpointAccessInput struct { // The name of the VPC endpoint to update. // // EndpointName is a required field EndpointName *string `locationName:"endpointName" type:"string" required:"true"` // The list of VPC security groups associated with the endpoint after the endpoint // is modified. VpcSecurityGroupIds []*string `locationName:"vpcSecurityGroupIds" type:"list"` // contains filtered or unexported fields }
func (UpdateEndpointAccessInput) GoString ¶
func (s UpdateEndpointAccessInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEndpointAccessInput) SetEndpointName ¶
func (s *UpdateEndpointAccessInput) SetEndpointName(v string) *UpdateEndpointAccessInput
SetEndpointName sets the EndpointName field's value.
func (*UpdateEndpointAccessInput) SetVpcSecurityGroupIds ¶
func (s *UpdateEndpointAccessInput) SetVpcSecurityGroupIds(v []*string) *UpdateEndpointAccessInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (UpdateEndpointAccessInput) String ¶
func (s UpdateEndpointAccessInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEndpointAccessInput) Validate ¶
func (s *UpdateEndpointAccessInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEndpointAccessOutput ¶
type UpdateEndpointAccessOutput struct { // The updated VPC endpoint. Endpoint *EndpointAccess `locationName:"endpoint" type:"structure"` // contains filtered or unexported fields }
func (UpdateEndpointAccessOutput) GoString ¶
func (s UpdateEndpointAccessOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEndpointAccessOutput) SetEndpoint ¶
func (s *UpdateEndpointAccessOutput) SetEndpoint(v *EndpointAccess) *UpdateEndpointAccessOutput
SetEndpoint sets the Endpoint field's value.
func (UpdateEndpointAccessOutput) String ¶
func (s UpdateEndpointAccessOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateNamespaceInput ¶
type UpdateNamespaceInput struct { // The password of the administrator for the first database created in the namespace. // // AdminUserPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateNamespaceInput's // String and GoString methods. AdminUserPassword *string `locationName:"adminUserPassword" type:"string" sensitive:"true"` // The username of the administrator for the first database created in the namespace. // // AdminUsername is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateNamespaceInput's // String and GoString methods. AdminUsername *string `locationName:"adminUsername" type:"string" sensitive:"true"` // The Amazon Resource Name (ARN) of the IAM role to set as a default in the // namespace. DefaultIamRoleArn *string `locationName:"defaultIamRoleArn" type:"string"` // A list of IAM roles to associate with the namespace. IamRoles []*string `locationName:"iamRoles" type:"list"` // The ID of the Amazon Web Services Key Management Service key used to encrypt // your data. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The types of logs the namespace can export. The export types are userlog, // connectionlog, and useractivitylog. LogExports []*string `locationName:"logExports" type:"list" enum:"LogExport"` // The name of the namespace. // // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateNamespaceInput) GoString ¶
func (s UpdateNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateNamespaceInput) SetAdminUserPassword ¶
func (s *UpdateNamespaceInput) SetAdminUserPassword(v string) *UpdateNamespaceInput
SetAdminUserPassword sets the AdminUserPassword field's value.
func (*UpdateNamespaceInput) SetAdminUsername ¶
func (s *UpdateNamespaceInput) SetAdminUsername(v string) *UpdateNamespaceInput
SetAdminUsername sets the AdminUsername field's value.
func (*UpdateNamespaceInput) SetDefaultIamRoleArn ¶
func (s *UpdateNamespaceInput) SetDefaultIamRoleArn(v string) *UpdateNamespaceInput
SetDefaultIamRoleArn sets the DefaultIamRoleArn field's value.
func (*UpdateNamespaceInput) SetIamRoles ¶
func (s *UpdateNamespaceInput) SetIamRoles(v []*string) *UpdateNamespaceInput
SetIamRoles sets the IamRoles field's value.
func (*UpdateNamespaceInput) SetKmsKeyId ¶
func (s *UpdateNamespaceInput) SetKmsKeyId(v string) *UpdateNamespaceInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*UpdateNamespaceInput) SetLogExports ¶
func (s *UpdateNamespaceInput) SetLogExports(v []*string) *UpdateNamespaceInput
SetLogExports sets the LogExports field's value.
func (*UpdateNamespaceInput) SetNamespaceName ¶
func (s *UpdateNamespaceInput) SetNamespaceName(v string) *UpdateNamespaceInput
SetNamespaceName sets the NamespaceName field's value.
func (UpdateNamespaceInput) String ¶
func (s UpdateNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateNamespaceInput) Validate ¶
func (s *UpdateNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateNamespaceOutput ¶
type UpdateNamespaceOutput struct { // A list of tag instances. // // Namespace is a required field Namespace *Namespace `locationName:"namespace" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateNamespaceOutput) GoString ¶
func (s UpdateNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateNamespaceOutput) SetNamespace ¶
func (s *UpdateNamespaceOutput) SetNamespace(v *Namespace) *UpdateNamespaceOutput
SetNamespace sets the Namespace field's value.
func (UpdateNamespaceOutput) String ¶
func (s UpdateNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateSnapshotInput ¶
type UpdateSnapshotInput struct { // The new retention period of the snapshot. RetentionPeriod *int64 `locationName:"retentionPeriod" type:"integer"` // The name of the snapshot. // // SnapshotName is a required field SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateSnapshotInput) GoString ¶
func (s UpdateSnapshotInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateSnapshotInput) SetRetentionPeriod ¶
func (s *UpdateSnapshotInput) SetRetentionPeriod(v int64) *UpdateSnapshotInput
SetRetentionPeriod sets the RetentionPeriod field's value.
func (*UpdateSnapshotInput) SetSnapshotName ¶
func (s *UpdateSnapshotInput) SetSnapshotName(v string) *UpdateSnapshotInput
SetSnapshotName sets the SnapshotName field's value.
func (UpdateSnapshotInput) String ¶
func (s UpdateSnapshotInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateSnapshotInput) Validate ¶
func (s *UpdateSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSnapshotOutput ¶
type UpdateSnapshotOutput struct { // The updated snapshot object. Snapshot *Snapshot `locationName:"snapshot" type:"structure"` // contains filtered or unexported fields }
func (UpdateSnapshotOutput) GoString ¶
func (s UpdateSnapshotOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateSnapshotOutput) SetSnapshot ¶
func (s *UpdateSnapshotOutput) SetSnapshot(v *Snapshot) *UpdateSnapshotOutput
SetSnapshot sets the Snapshot field's value.
func (UpdateSnapshotOutput) String ¶
func (s UpdateSnapshotOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateUsageLimitInput ¶
type UpdateUsageLimitInput struct { // The new limit amount. For more information about this parameter. Amount *int64 `locationName:"amount" type:"long"` // The new action that Amazon Redshift Serverless takes when the limit is reached. BreachAction *string `locationName:"breachAction" type:"string" enum:"UsageLimitBreachAction"` // The identifier of the usage limit to update. // // UsageLimitId is a required field UsageLimitId *string `locationName:"usageLimitId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateUsageLimitInput) GoString ¶
func (s UpdateUsageLimitInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateUsageLimitInput) SetAmount ¶
func (s *UpdateUsageLimitInput) SetAmount(v int64) *UpdateUsageLimitInput
SetAmount sets the Amount field's value.
func (*UpdateUsageLimitInput) SetBreachAction ¶
func (s *UpdateUsageLimitInput) SetBreachAction(v string) *UpdateUsageLimitInput
SetBreachAction sets the BreachAction field's value.
func (*UpdateUsageLimitInput) SetUsageLimitId ¶
func (s *UpdateUsageLimitInput) SetUsageLimitId(v string) *UpdateUsageLimitInput
SetUsageLimitId sets the UsageLimitId field's value.
func (UpdateUsageLimitInput) String ¶
func (s UpdateUsageLimitInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateUsageLimitInput) Validate ¶
func (s *UpdateUsageLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUsageLimitOutput ¶
type UpdateUsageLimitOutput struct { // The updated usage limit object. UsageLimit *UsageLimit `locationName:"usageLimit" type:"structure"` // contains filtered or unexported fields }
func (UpdateUsageLimitOutput) GoString ¶
func (s UpdateUsageLimitOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateUsageLimitOutput) SetUsageLimit ¶
func (s *UpdateUsageLimitOutput) SetUsageLimit(v *UsageLimit) *UpdateUsageLimitOutput
SetUsageLimit sets the UsageLimit field's value.
func (UpdateUsageLimitOutput) String ¶
func (s UpdateUsageLimitOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateWorkgroupInput ¶
type UpdateWorkgroupInput struct { // The new base data warehouse capacity in Redshift Processing Units (RPUs). BaseCapacity *int64 `locationName:"baseCapacity" type:"integer"` // An array of parameters to set for advanced control over a database. The options // are datestyle, enable_user_activity_logging, query_group, search_path, and // max_query_execution_time. ConfigParameters []*ConfigParameter `locationName:"configParameters" type:"list"` // The value that specifies whether to turn on enhanced virtual private cloud // (VPC) routing, which forces Amazon Redshift Serverless to route traffic through // your VPC. EnhancedVpcRouting *bool `locationName:"enhancedVpcRouting" type:"boolean"` // A value that specifies whether the workgroup can be accessible from a public // network. PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` // An array of security group IDs to associate with the workgroup. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // An array of VPC subnet IDs to associate with the workgroup. SubnetIds []*string `locationName:"subnetIds" type:"list"` // The name of the workgroup to update. // // WorkgroupName is a required field WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateWorkgroupInput) GoString ¶
func (s UpdateWorkgroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateWorkgroupInput) SetBaseCapacity ¶
func (s *UpdateWorkgroupInput) SetBaseCapacity(v int64) *UpdateWorkgroupInput
SetBaseCapacity sets the BaseCapacity field's value.
func (*UpdateWorkgroupInput) SetConfigParameters ¶
func (s *UpdateWorkgroupInput) SetConfigParameters(v []*ConfigParameter) *UpdateWorkgroupInput
SetConfigParameters sets the ConfigParameters field's value.
func (*UpdateWorkgroupInput) SetEnhancedVpcRouting ¶
func (s *UpdateWorkgroupInput) SetEnhancedVpcRouting(v bool) *UpdateWorkgroupInput
SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
func (*UpdateWorkgroupInput) SetPubliclyAccessible ¶
func (s *UpdateWorkgroupInput) SetPubliclyAccessible(v bool) *UpdateWorkgroupInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*UpdateWorkgroupInput) SetSecurityGroupIds ¶
func (s *UpdateWorkgroupInput) SetSecurityGroupIds(v []*string) *UpdateWorkgroupInput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*UpdateWorkgroupInput) SetSubnetIds ¶
func (s *UpdateWorkgroupInput) SetSubnetIds(v []*string) *UpdateWorkgroupInput
SetSubnetIds sets the SubnetIds field's value.
func (*UpdateWorkgroupInput) SetWorkgroupName ¶
func (s *UpdateWorkgroupInput) SetWorkgroupName(v string) *UpdateWorkgroupInput
SetWorkgroupName sets the WorkgroupName field's value.
func (UpdateWorkgroupInput) String ¶
func (s UpdateWorkgroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateWorkgroupInput) Validate ¶
func (s *UpdateWorkgroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateWorkgroupOutput ¶
type UpdateWorkgroupOutput struct { // The updated workgroup object. // // Workgroup is a required field Workgroup *Workgroup `locationName:"workgroup" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateWorkgroupOutput) GoString ¶
func (s UpdateWorkgroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateWorkgroupOutput) SetWorkgroup ¶
func (s *UpdateWorkgroupOutput) SetWorkgroup(v *Workgroup) *UpdateWorkgroupOutput
SetWorkgroup sets the Workgroup field's value.
func (UpdateWorkgroupOutput) String ¶
func (s UpdateWorkgroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UsageLimit ¶
type UsageLimit struct { // The limit amount. If time-based, this amount is in RPUs consumed per hour. // If data-based, this amount is in terabytes (TB). The value must be a positive // number. Amount *int64 `locationName:"amount" type:"long"` // The action that Amazon Redshift Serverless takes when the limit is reached. BreachAction *string `locationName:"breachAction" type:"string" enum:"UsageLimitBreachAction"` // The time period that the amount applies to. A weekly period begins on Sunday. // The default is monthly. Period *string `locationName:"period" type:"string" enum:"UsageLimitPeriod"` // The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless // resource. ResourceArn *string `locationName:"resourceArn" type:"string"` // The Amazon Resource Name (ARN) of the resource associated with the usage // limit. UsageLimitArn *string `locationName:"usageLimitArn" type:"string"` // The identifier of the usage limit. UsageLimitId *string `locationName:"usageLimitId" type:"string"` // The Amazon Redshift Serverless feature to limit. UsageType *string `locationName:"usageType" type:"string" enum:"UsageLimitUsageType"` // contains filtered or unexported fields }
The usage limit object.
func (UsageLimit) GoString ¶
func (s UsageLimit) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UsageLimit) SetAmount ¶
func (s *UsageLimit) SetAmount(v int64) *UsageLimit
SetAmount sets the Amount field's value.
func (*UsageLimit) SetBreachAction ¶
func (s *UsageLimit) SetBreachAction(v string) *UsageLimit
SetBreachAction sets the BreachAction field's value.
func (*UsageLimit) SetPeriod ¶
func (s *UsageLimit) SetPeriod(v string) *UsageLimit
SetPeriod sets the Period field's value.
func (*UsageLimit) SetResourceArn ¶
func (s *UsageLimit) SetResourceArn(v string) *UsageLimit
SetResourceArn sets the ResourceArn field's value.
func (*UsageLimit) SetUsageLimitArn ¶
func (s *UsageLimit) SetUsageLimitArn(v string) *UsageLimit
SetUsageLimitArn sets the UsageLimitArn field's value.
func (*UsageLimit) SetUsageLimitId ¶
func (s *UsageLimit) SetUsageLimitId(v string) *UsageLimit
SetUsageLimitId sets the UsageLimitId field's value.
func (*UsageLimit) SetUsageType ¶
func (s *UsageLimit) SetUsageType(v string) *UsageLimit
SetUsageType sets the UsageType field's value.
func (UsageLimit) String ¶
func (s UsageLimit) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The input failed to satisfy the constraints specified by an AWS service.
func (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VpcEndpoint ¶
type VpcEndpoint struct { // One or more network interfaces of the endpoint. Also known as an interface // endpoint. NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` // The connection endpoint ID for connecting to Amazon Redshift Serverless. VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` // The VPC identifier that the endpoint is associated with. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.
func (VpcEndpoint) GoString ¶
func (s VpcEndpoint) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VpcEndpoint) SetNetworkInterfaces ¶
func (s *VpcEndpoint) SetNetworkInterfaces(v []*NetworkInterface) *VpcEndpoint
SetNetworkInterfaces sets the NetworkInterfaces field's value.
func (*VpcEndpoint) SetVpcEndpointId ¶
func (s *VpcEndpoint) SetVpcEndpointId(v string) *VpcEndpoint
SetVpcEndpointId sets the VpcEndpointId field's value.
func (*VpcEndpoint) SetVpcId ¶
func (s *VpcEndpoint) SetVpcId(v string) *VpcEndpoint
SetVpcId sets the VpcId field's value.
func (VpcEndpoint) String ¶
func (s VpcEndpoint) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VpcSecurityGroupMembership ¶
type VpcSecurityGroupMembership struct { // The status of the VPC security group. Status *string `locationName:"status" type:"string"` // The unique identifier of the VPC security group. VpcSecurityGroupId *string `locationName:"vpcSecurityGroupId" type:"string"` // contains filtered or unexported fields }
Describes the members of a VPC security group.
func (VpcSecurityGroupMembership) GoString ¶
func (s VpcSecurityGroupMembership) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VpcSecurityGroupMembership) SetStatus ¶
func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership
SetStatus sets the Status field's value.
func (*VpcSecurityGroupMembership) SetVpcSecurityGroupId ¶
func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership
SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value.
func (VpcSecurityGroupMembership) String ¶
func (s VpcSecurityGroupMembership) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Workgroup ¶
type Workgroup struct { // The base data warehouse capacity of the workgroup in Redshift Processing // Units (RPUs). BaseCapacity *int64 `locationName:"baseCapacity" type:"integer"` // An array of parameters to set for finer control over a database. The options // are datestyle, enable_user_activity_logging, query_group, search_path, and // max_query_execution_time. ConfigParameters []*ConfigParameter `locationName:"configParameters" type:"list"` // The creation date of the workgroup. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"iso8601"` // The endpoint that is created from the workgroup. Endpoint *Endpoint `locationName:"endpoint" type:"structure"` // The value that specifies whether to enable enhanced virtual private cloud // (VPC) routing, which forces Amazon Redshift Serverless to route traffic through // your VPC. EnhancedVpcRouting *bool `locationName:"enhancedVpcRouting" type:"boolean"` // The namespace the workgroup is associated with. NamespaceName *string `locationName:"namespaceName" type:"string"` // A value that specifies whether the workgroup can be accessible from a public // network PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` // An array of security group IDs to associate with the workgroup. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // The status of the workgroup. Status *string `locationName:"status" type:"string" enum:"WorkgroupStatus"` // An array of subnet IDs the workgroup is associated with. SubnetIds []*string `locationName:"subnetIds" type:"list"` // The Amazon Resource Name (ARN) that links to the workgroup. WorkgroupArn *string `locationName:"workgroupArn" type:"string"` // The unique identifier of the workgroup. WorkgroupId *string `locationName:"workgroupId" type:"string"` // The name of the workgroup. WorkgroupName *string `locationName:"workgroupName" min:"3" type:"string"` // contains filtered or unexported fields }
The collection of computing resources from which an endpoint is created.
func (Workgroup) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Workgroup) SetBaseCapacity ¶
SetBaseCapacity sets the BaseCapacity field's value.
func (*Workgroup) SetConfigParameters ¶
func (s *Workgroup) SetConfigParameters(v []*ConfigParameter) *Workgroup
SetConfigParameters sets the ConfigParameters field's value.
func (*Workgroup) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Workgroup) SetEndpoint ¶
SetEndpoint sets the Endpoint field's value.
func (*Workgroup) SetEnhancedVpcRouting ¶
SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
func (*Workgroup) SetNamespaceName ¶
SetNamespaceName sets the NamespaceName field's value.
func (*Workgroup) SetPubliclyAccessible ¶
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*Workgroup) SetSecurityGroupIds ¶
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*Workgroup) SetSubnetIds ¶
SetSubnetIds sets the SubnetIds field's value.
func (*Workgroup) SetWorkgroupArn ¶
SetWorkgroupArn sets the WorkgroupArn field's value.
func (*Workgroup) SetWorkgroupId ¶
SetWorkgroupId sets the WorkgroupId field's value.
func (*Workgroup) SetWorkgroupName ¶
SetWorkgroupName sets the WorkgroupName field's value.
Directories ¶
Path | Synopsis |
---|---|
Package redshiftserverlessiface provides an interface to enable mocking the Redshift Serverless service client for testing your code.
|
Package redshiftserverlessiface provides an interface to enable mocking the Redshift Serverless service client for testing your code. |