Switch to using the dep tool and update all the dependencies
This commit is contained in:
parent
5135ff73cb
commit
98c2d2c41b
5321 changed files with 4483201 additions and 5922 deletions
17163
vendor/github.com/aws/aws-sdk-go/service/redshift/api.go
generated
vendored
Normal file
17163
vendor/github.com/aws/aws-sdk-go/service/redshift/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
103
vendor/github.com/aws/aws-sdk-go/service/redshift/doc.go
generated
vendored
Normal file
103
vendor/github.com/aws/aws-sdk-go/service/redshift/doc.go
generated
vendored
Normal file
|
@ -0,0 +1,103 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package redshift provides the client and types for making API
|
||||
// requests to Amazon Redshift.
|
||||
//
|
||||
// Overview
|
||||
//
|
||||
// This is an interface reference for Amazon Redshift. It contains documentation
|
||||
// for one of the programming or command line interfaces you can use to manage
|
||||
// Amazon Redshift clusters. Note that Amazon Redshift is asynchronous, which
|
||||
// means that some interfaces may require techniques, such as polling or asynchronous
|
||||
// callback handlers, to determine when a command has been applied. In this
|
||||
// reference, the parameter descriptions indicate whether a change is applied
|
||||
// immediately, on the next instance reboot, or during the next maintenance
|
||||
// window. For a summary of the Amazon Redshift cluster management interfaces,
|
||||
// go to Using the Amazon Redshift Management Interfaces (http://docs.aws.amazon.com/redshift/latest/mgmt/using-aws-sdk.html).
|
||||
//
|
||||
// Amazon Redshift manages all the work of setting up, operating, and scaling
|
||||
// a data warehouse: provisioning capacity, monitoring and backing up the cluster,
|
||||
// and applying patches and upgrades to the Amazon Redshift engine. You can
|
||||
// focus on using your data to acquire new insights for your business and customers.
|
||||
//
|
||||
// If you are a first-time user of Amazon Redshift, we recommend that you begin
|
||||
// by reading the Amazon Redshift Getting Started Guide (http://docs.aws.amazon.com/redshift/latest/gsg/getting-started.html).
|
||||
//
|
||||
// If you are a database developer, the Amazon Redshift Database Developer Guide
|
||||
// (http://docs.aws.amazon.com/redshift/latest/dg/welcome.html) explains how
|
||||
// to design, build, query, and maintain the databases that make up your data
|
||||
// warehouse.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01 for more information on this service.
|
||||
//
|
||||
// See redshift package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/redshift/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon Redshift you will first need
|
||||
// to create a new instance of it.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := redshift.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Redshift client Redshift for more
|
||||
// information on creating the service's client.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/redshift/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AuthorizeClusterSecurityGroupIngress(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AuthorizeClusterSecurityGroupIngress result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AuthorizeClusterSecurityGroupIngressWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package redshift
|
573
vendor/github.com/aws/aws-sdk-go/service/redshift/errors.go
generated
vendored
Normal file
573
vendor/github.com/aws/aws-sdk-go/service/redshift/errors.go
generated
vendored
Normal file
|
@ -0,0 +1,573 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package redshift
|
||||
|
||||
const (
|
||||
|
||||
// ErrCodeAccessToSnapshotDeniedFault for service response error code
|
||||
// "AccessToSnapshotDenied".
|
||||
//
|
||||
// The owner of the specified snapshot has not authorized your account to access
|
||||
// the snapshot.
|
||||
ErrCodeAccessToSnapshotDeniedFault = "AccessToSnapshotDenied"
|
||||
|
||||
// ErrCodeAuthorizationAlreadyExistsFault for service response error code
|
||||
// "AuthorizationAlreadyExists".
|
||||
//
|
||||
// The specified CIDR block or EC2 security group is already authorized for
|
||||
// the specified cluster security group.
|
||||
ErrCodeAuthorizationAlreadyExistsFault = "AuthorizationAlreadyExists"
|
||||
|
||||
// ErrCodeAuthorizationNotFoundFault for service response error code
|
||||
// "AuthorizationNotFound".
|
||||
//
|
||||
// The specified CIDR IP range or EC2 security group is not authorized for the
|
||||
// specified cluster security group.
|
||||
ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound"
|
||||
|
||||
// ErrCodeAuthorizationQuotaExceededFault for service response error code
|
||||
// "AuthorizationQuotaExceeded".
|
||||
//
|
||||
// The authorization quota for the cluster security group has been reached.
|
||||
ErrCodeAuthorizationQuotaExceededFault = "AuthorizationQuotaExceeded"
|
||||
|
||||
// ErrCodeBucketNotFoundFault for service response error code
|
||||
// "BucketNotFoundFault".
|
||||
//
|
||||
// Could not find the specified S3 bucket.
|
||||
ErrCodeBucketNotFoundFault = "BucketNotFoundFault"
|
||||
|
||||
// ErrCodeClusterAlreadyExistsFault for service response error code
|
||||
// "ClusterAlreadyExists".
|
||||
//
|
||||
// The account already has a cluster with the given identifier.
|
||||
ErrCodeClusterAlreadyExistsFault = "ClusterAlreadyExists"
|
||||
|
||||
// ErrCodeClusterNotFoundFault for service response error code
|
||||
// "ClusterNotFound".
|
||||
//
|
||||
// The ClusterIdentifier parameter does not refer to an existing cluster.
|
||||
ErrCodeClusterNotFoundFault = "ClusterNotFound"
|
||||
|
||||
// ErrCodeClusterParameterGroupAlreadyExistsFault for service response error code
|
||||
// "ClusterParameterGroupAlreadyExists".
|
||||
//
|
||||
// A cluster parameter group with the same name already exists.
|
||||
ErrCodeClusterParameterGroupAlreadyExistsFault = "ClusterParameterGroupAlreadyExists"
|
||||
|
||||
// ErrCodeClusterParameterGroupNotFoundFault for service response error code
|
||||
// "ClusterParameterGroupNotFound".
|
||||
//
|
||||
// The parameter group name does not refer to an existing parameter group.
|
||||
ErrCodeClusterParameterGroupNotFoundFault = "ClusterParameterGroupNotFound"
|
||||
|
||||
// ErrCodeClusterParameterGroupQuotaExceededFault for service response error code
|
||||
// "ClusterParameterGroupQuotaExceeded".
|
||||
//
|
||||
// The request would result in the user exceeding the allowed number of cluster
|
||||
// parameter groups. For information about increasing your quota, go to Limits
|
||||
// in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeClusterParameterGroupQuotaExceededFault = "ClusterParameterGroupQuotaExceeded"
|
||||
|
||||
// ErrCodeClusterQuotaExceededFault for service response error code
|
||||
// "ClusterQuotaExceeded".
|
||||
//
|
||||
// The request would exceed the allowed number of cluster instances for this
|
||||
// account. For information about increasing your quota, go to Limits in Amazon
|
||||
// Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeClusterQuotaExceededFault = "ClusterQuotaExceeded"
|
||||
|
||||
// ErrCodeClusterSecurityGroupAlreadyExistsFault for service response error code
|
||||
// "ClusterSecurityGroupAlreadyExists".
|
||||
//
|
||||
// A cluster security group with the same name already exists.
|
||||
ErrCodeClusterSecurityGroupAlreadyExistsFault = "ClusterSecurityGroupAlreadyExists"
|
||||
|
||||
// ErrCodeClusterSecurityGroupNotFoundFault for service response error code
|
||||
// "ClusterSecurityGroupNotFound".
|
||||
//
|
||||
// The cluster security group name does not refer to an existing cluster security
|
||||
// group.
|
||||
ErrCodeClusterSecurityGroupNotFoundFault = "ClusterSecurityGroupNotFound"
|
||||
|
||||
// ErrCodeClusterSecurityGroupQuotaExceededFault for service response error code
|
||||
// "QuotaExceeded.ClusterSecurityGroup".
|
||||
//
|
||||
// The request would result in the user exceeding the allowed number of cluster
|
||||
// security groups. For information about increasing your quota, go to Limits
|
||||
// in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeClusterSecurityGroupQuotaExceededFault = "QuotaExceeded.ClusterSecurityGroup"
|
||||
|
||||
// ErrCodeClusterSnapshotAlreadyExistsFault for service response error code
|
||||
// "ClusterSnapshotAlreadyExists".
|
||||
//
|
||||
// The value specified as a snapshot identifier is already used by an existing
|
||||
// snapshot.
|
||||
ErrCodeClusterSnapshotAlreadyExistsFault = "ClusterSnapshotAlreadyExists"
|
||||
|
||||
// ErrCodeClusterSnapshotNotFoundFault for service response error code
|
||||
// "ClusterSnapshotNotFound".
|
||||
//
|
||||
// The snapshot identifier does not refer to an existing cluster snapshot.
|
||||
ErrCodeClusterSnapshotNotFoundFault = "ClusterSnapshotNotFound"
|
||||
|
||||
// ErrCodeClusterSnapshotQuotaExceededFault for service response error code
|
||||
// "ClusterSnapshotQuotaExceeded".
|
||||
//
|
||||
// The request would result in the user exceeding the allowed number of cluster
|
||||
// snapshots.
|
||||
ErrCodeClusterSnapshotQuotaExceededFault = "ClusterSnapshotQuotaExceeded"
|
||||
|
||||
// ErrCodeClusterSubnetGroupAlreadyExistsFault for service response error code
|
||||
// "ClusterSubnetGroupAlreadyExists".
|
||||
//
|
||||
// A ClusterSubnetGroupName is already used by an existing cluster subnet group.
|
||||
ErrCodeClusterSubnetGroupAlreadyExistsFault = "ClusterSubnetGroupAlreadyExists"
|
||||
|
||||
// ErrCodeClusterSubnetGroupNotFoundFault for service response error code
|
||||
// "ClusterSubnetGroupNotFoundFault".
|
||||
//
|
||||
// The cluster subnet group name does not refer to an existing cluster subnet
|
||||
// group.
|
||||
ErrCodeClusterSubnetGroupNotFoundFault = "ClusterSubnetGroupNotFoundFault"
|
||||
|
||||
// ErrCodeClusterSubnetGroupQuotaExceededFault for service response error code
|
||||
// "ClusterSubnetGroupQuotaExceeded".
|
||||
//
|
||||
// The request would result in user exceeding the allowed number of cluster
|
||||
// subnet groups. For information about increasing your quota, go to Limits
|
||||
// in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeClusterSubnetGroupQuotaExceededFault = "ClusterSubnetGroupQuotaExceeded"
|
||||
|
||||
// ErrCodeClusterSubnetQuotaExceededFault for service response error code
|
||||
// "ClusterSubnetQuotaExceededFault".
|
||||
//
|
||||
// The request would result in user exceeding the allowed number of subnets
|
||||
// in a cluster subnet groups. For information about increasing your quota,
|
||||
// go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeClusterSubnetQuotaExceededFault = "ClusterSubnetQuotaExceededFault"
|
||||
|
||||
// ErrCodeCopyToRegionDisabledFault for service response error code
|
||||
// "CopyToRegionDisabledFault".
|
||||
//
|
||||
// Cross-region snapshot copy was temporarily disabled. Try your request again.
|
||||
ErrCodeCopyToRegionDisabledFault = "CopyToRegionDisabledFault"
|
||||
|
||||
// ErrCodeDependentServiceRequestThrottlingFault for service response error code
|
||||
// "DependentServiceRequestThrottlingFault".
|
||||
//
|
||||
// The request cannot be completed because a dependent service is throttling
|
||||
// requests made by Amazon Redshift on your behalf. Wait and retry the request.
|
||||
ErrCodeDependentServiceRequestThrottlingFault = "DependentServiceRequestThrottlingFault"
|
||||
|
||||
// ErrCodeDependentServiceUnavailableFault for service response error code
|
||||
// "DependentServiceUnavailableFault".
|
||||
//
|
||||
// Your request cannot be completed because a dependent internal service is
|
||||
// temporarily unavailable. Wait 30 to 60 seconds and try again.
|
||||
ErrCodeDependentServiceUnavailableFault = "DependentServiceUnavailableFault"
|
||||
|
||||
// ErrCodeEventSubscriptionQuotaExceededFault for service response error code
|
||||
// "EventSubscriptionQuotaExceeded".
|
||||
//
|
||||
// The request would exceed the allowed number of event subscriptions for this
|
||||
// account. For information about increasing your quota, go to Limits in Amazon
|
||||
// Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeEventSubscriptionQuotaExceededFault = "EventSubscriptionQuotaExceeded"
|
||||
|
||||
// ErrCodeHsmClientCertificateAlreadyExistsFault for service response error code
|
||||
// "HsmClientCertificateAlreadyExistsFault".
|
||||
//
|
||||
// There is already an existing Amazon Redshift HSM client certificate with
|
||||
// the specified identifier.
|
||||
ErrCodeHsmClientCertificateAlreadyExistsFault = "HsmClientCertificateAlreadyExistsFault"
|
||||
|
||||
// ErrCodeHsmClientCertificateNotFoundFault for service response error code
|
||||
// "HsmClientCertificateNotFoundFault".
|
||||
//
|
||||
// There is no Amazon Redshift HSM client certificate with the specified identifier.
|
||||
ErrCodeHsmClientCertificateNotFoundFault = "HsmClientCertificateNotFoundFault"
|
||||
|
||||
// ErrCodeHsmClientCertificateQuotaExceededFault for service response error code
|
||||
// "HsmClientCertificateQuotaExceededFault".
|
||||
//
|
||||
// The quota for HSM client certificates has been reached. For information about
|
||||
// increasing your quota, go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeHsmClientCertificateQuotaExceededFault = "HsmClientCertificateQuotaExceededFault"
|
||||
|
||||
// ErrCodeHsmConfigurationAlreadyExistsFault for service response error code
|
||||
// "HsmConfigurationAlreadyExistsFault".
|
||||
//
|
||||
// There is already an existing Amazon Redshift HSM configuration with the specified
|
||||
// identifier.
|
||||
ErrCodeHsmConfigurationAlreadyExistsFault = "HsmConfigurationAlreadyExistsFault"
|
||||
|
||||
// ErrCodeHsmConfigurationNotFoundFault for service response error code
|
||||
// "HsmConfigurationNotFoundFault".
|
||||
//
|
||||
// There is no Amazon Redshift HSM configuration with the specified identifier.
|
||||
ErrCodeHsmConfigurationNotFoundFault = "HsmConfigurationNotFoundFault"
|
||||
|
||||
// ErrCodeHsmConfigurationQuotaExceededFault for service response error code
|
||||
// "HsmConfigurationQuotaExceededFault".
|
||||
//
|
||||
// The quota for HSM configurations has been reached. For information about
|
||||
// increasing your quota, go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeHsmConfigurationQuotaExceededFault = "HsmConfigurationQuotaExceededFault"
|
||||
|
||||
// ErrCodeInProgressTableRestoreQuotaExceededFault for service response error code
|
||||
// "InProgressTableRestoreQuotaExceededFault".
|
||||
//
|
||||
// You have exceeded the allowed number of table restore requests. Wait for
|
||||
// your current table restore requests to complete before making a new request.
|
||||
ErrCodeInProgressTableRestoreQuotaExceededFault = "InProgressTableRestoreQuotaExceededFault"
|
||||
|
||||
// ErrCodeIncompatibleOrderableOptions for service response error code
|
||||
// "IncompatibleOrderableOptions".
|
||||
//
|
||||
// The specified options are incompatible.
|
||||
ErrCodeIncompatibleOrderableOptions = "IncompatibleOrderableOptions"
|
||||
|
||||
// ErrCodeInsufficientClusterCapacityFault for service response error code
|
||||
// "InsufficientClusterCapacity".
|
||||
//
|
||||
// The number of nodes specified exceeds the allotted capacity of the cluster.
|
||||
ErrCodeInsufficientClusterCapacityFault = "InsufficientClusterCapacity"
|
||||
|
||||
// ErrCodeInsufficientS3BucketPolicyFault for service response error code
|
||||
// "InsufficientS3BucketPolicyFault".
|
||||
//
|
||||
// The cluster does not have read bucket or put object permissions on the S3
|
||||
// bucket specified when enabling logging.
|
||||
ErrCodeInsufficientS3BucketPolicyFault = "InsufficientS3BucketPolicyFault"
|
||||
|
||||
// ErrCodeInvalidClusterParameterGroupStateFault for service response error code
|
||||
// "InvalidClusterParameterGroupState".
|
||||
//
|
||||
// The cluster parameter group action can not be completed because another task
|
||||
// is in progress that involves the parameter group. Wait a few moments and
|
||||
// try the operation again.
|
||||
ErrCodeInvalidClusterParameterGroupStateFault = "InvalidClusterParameterGroupState"
|
||||
|
||||
// ErrCodeInvalidClusterSecurityGroupStateFault for service response error code
|
||||
// "InvalidClusterSecurityGroupState".
|
||||
//
|
||||
// The state of the cluster security group is not available.
|
||||
ErrCodeInvalidClusterSecurityGroupStateFault = "InvalidClusterSecurityGroupState"
|
||||
|
||||
// ErrCodeInvalidClusterSnapshotStateFault for service response error code
|
||||
// "InvalidClusterSnapshotState".
|
||||
//
|
||||
// The specified cluster snapshot is not in the available state, or other accounts
|
||||
// are authorized to access the snapshot.
|
||||
ErrCodeInvalidClusterSnapshotStateFault = "InvalidClusterSnapshotState"
|
||||
|
||||
// ErrCodeInvalidClusterStateFault for service response error code
|
||||
// "InvalidClusterState".
|
||||
//
|
||||
// The specified cluster is not in the available state.
|
||||
ErrCodeInvalidClusterStateFault = "InvalidClusterState"
|
||||
|
||||
// ErrCodeInvalidClusterSubnetGroupStateFault for service response error code
|
||||
// "InvalidClusterSubnetGroupStateFault".
|
||||
//
|
||||
// The cluster subnet group cannot be deleted because it is in use.
|
||||
ErrCodeInvalidClusterSubnetGroupStateFault = "InvalidClusterSubnetGroupStateFault"
|
||||
|
||||
// ErrCodeInvalidClusterSubnetStateFault for service response error code
|
||||
// "InvalidClusterSubnetStateFault".
|
||||
//
|
||||
// The state of the subnet is invalid.
|
||||
ErrCodeInvalidClusterSubnetStateFault = "InvalidClusterSubnetStateFault"
|
||||
|
||||
// ErrCodeInvalidElasticIpFault for service response error code
|
||||
// "InvalidElasticIpFault".
|
||||
//
|
||||
// The Elastic IP (EIP) is invalid or cannot be found.
|
||||
ErrCodeInvalidElasticIpFault = "InvalidElasticIpFault"
|
||||
|
||||
// ErrCodeInvalidHsmClientCertificateStateFault for service response error code
|
||||
// "InvalidHsmClientCertificateStateFault".
|
||||
//
|
||||
// The specified HSM client certificate is not in the available state, or it
|
||||
// is still in use by one or more Amazon Redshift clusters.
|
||||
ErrCodeInvalidHsmClientCertificateStateFault = "InvalidHsmClientCertificateStateFault"
|
||||
|
||||
// ErrCodeInvalidHsmConfigurationStateFault for service response error code
|
||||
// "InvalidHsmConfigurationStateFault".
|
||||
//
|
||||
// The specified HSM configuration is not in the available state, or it is still
|
||||
// in use by one or more Amazon Redshift clusters.
|
||||
ErrCodeInvalidHsmConfigurationStateFault = "InvalidHsmConfigurationStateFault"
|
||||
|
||||
// ErrCodeInvalidRestoreFault for service response error code
|
||||
// "InvalidRestore".
|
||||
//
|
||||
// The restore is invalid.
|
||||
ErrCodeInvalidRestoreFault = "InvalidRestore"
|
||||
|
||||
// ErrCodeInvalidS3BucketNameFault for service response error code
|
||||
// "InvalidS3BucketNameFault".
|
||||
//
|
||||
// The S3 bucket name is invalid. For more information about naming rules, go
|
||||
// to Bucket Restrictions and Limitations (http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html)
|
||||
// in the Amazon Simple Storage Service (S3) Developer Guide.
|
||||
ErrCodeInvalidS3BucketNameFault = "InvalidS3BucketNameFault"
|
||||
|
||||
// ErrCodeInvalidS3KeyPrefixFault for service response error code
|
||||
// "InvalidS3KeyPrefixFault".
|
||||
//
|
||||
// The string specified for the logging S3 key prefix does not comply with the
|
||||
// documented constraints.
|
||||
ErrCodeInvalidS3KeyPrefixFault = "InvalidS3KeyPrefixFault"
|
||||
|
||||
// ErrCodeInvalidSnapshotCopyGrantStateFault for service response error code
|
||||
// "InvalidSnapshotCopyGrantStateFault".
|
||||
//
|
||||
// The snapshot copy grant can't be deleted because it is used by one or more
|
||||
// clusters.
|
||||
ErrCodeInvalidSnapshotCopyGrantStateFault = "InvalidSnapshotCopyGrantStateFault"
|
||||
|
||||
// ErrCodeInvalidSubnet for service response error code
|
||||
// "InvalidSubnet".
|
||||
//
|
||||
// The requested subnet is not valid, or not all of the subnets are in the same
|
||||
// VPC.
|
||||
ErrCodeInvalidSubnet = "InvalidSubnet"
|
||||
|
||||
// ErrCodeInvalidSubscriptionStateFault for service response error code
|
||||
// "InvalidSubscriptionStateFault".
|
||||
//
|
||||
// The subscription request is invalid because it is a duplicate request. This
|
||||
// subscription request is already in progress.
|
||||
ErrCodeInvalidSubscriptionStateFault = "InvalidSubscriptionStateFault"
|
||||
|
||||
// ErrCodeInvalidTableRestoreArgumentFault for service response error code
|
||||
// "InvalidTableRestoreArgument".
|
||||
//
|
||||
// The value specified for the sourceDatabaseName, sourceSchemaName, or sourceTableName
|
||||
// parameter, or a combination of these, doesn't exist in the snapshot.
|
||||
ErrCodeInvalidTableRestoreArgumentFault = "InvalidTableRestoreArgument"
|
||||
|
||||
// ErrCodeInvalidTagFault for service response error code
|
||||
// "InvalidTagFault".
|
||||
//
|
||||
// The tag is invalid.
|
||||
ErrCodeInvalidTagFault = "InvalidTagFault"
|
||||
|
||||
// ErrCodeInvalidVPCNetworkStateFault for service response error code
|
||||
// "InvalidVPCNetworkStateFault".
|
||||
//
|
||||
// The cluster subnet group does not cover all Availability Zones.
|
||||
ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"
|
||||
|
||||
// ErrCodeLimitExceededFault for service response error code
|
||||
// "LimitExceededFault".
|
||||
//
|
||||
// The encryption key has exceeded its grant limit in AWS KMS.
|
||||
ErrCodeLimitExceededFault = "LimitExceededFault"
|
||||
|
||||
// ErrCodeNumberOfNodesPerClusterLimitExceededFault for service response error code
|
||||
// "NumberOfNodesPerClusterLimitExceeded".
|
||||
//
|
||||
// The operation would exceed the number of nodes allowed for a cluster.
|
||||
ErrCodeNumberOfNodesPerClusterLimitExceededFault = "NumberOfNodesPerClusterLimitExceeded"
|
||||
|
||||
// ErrCodeNumberOfNodesQuotaExceededFault for service response error code
|
||||
// "NumberOfNodesQuotaExceeded".
|
||||
//
|
||||
// The operation would exceed the number of nodes allotted to the account. For
|
||||
// information about increasing your quota, go to Limits in Amazon Redshift
|
||||
// (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeNumberOfNodesQuotaExceededFault = "NumberOfNodesQuotaExceeded"
|
||||
|
||||
// ErrCodeReservedNodeAlreadyExistsFault for service response error code
|
||||
// "ReservedNodeAlreadyExists".
|
||||
//
|
||||
// User already has a reservation with the given identifier.
|
||||
ErrCodeReservedNodeAlreadyExistsFault = "ReservedNodeAlreadyExists"
|
||||
|
||||
// ErrCodeReservedNodeNotFoundFault for service response error code
|
||||
// "ReservedNodeNotFound".
|
||||
//
|
||||
// The specified reserved compute node not found.
|
||||
ErrCodeReservedNodeNotFoundFault = "ReservedNodeNotFound"
|
||||
|
||||
// ErrCodeReservedNodeOfferingNotFoundFault for service response error code
|
||||
// "ReservedNodeOfferingNotFound".
|
||||
//
|
||||
// Specified offering does not exist.
|
||||
ErrCodeReservedNodeOfferingNotFoundFault = "ReservedNodeOfferingNotFound"
|
||||
|
||||
// ErrCodeReservedNodeQuotaExceededFault for service response error code
|
||||
// "ReservedNodeQuotaExceeded".
|
||||
//
|
||||
// Request would exceed the user's compute node quota. For information about
|
||||
// increasing your quota, go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
|
||||
// in the Amazon Redshift Cluster Management Guide.
|
||||
ErrCodeReservedNodeQuotaExceededFault = "ReservedNodeQuotaExceeded"
|
||||
|
||||
// ErrCodeResizeNotFoundFault for service response error code
|
||||
// "ResizeNotFound".
|
||||
//
|
||||
// A resize operation for the specified cluster is not found.
|
||||
ErrCodeResizeNotFoundFault = "ResizeNotFound"
|
||||
|
||||
// ErrCodeResourceNotFoundFault for service response error code
|
||||
// "ResourceNotFoundFault".
|
||||
//
|
||||
// The resource could not be found.
|
||||
ErrCodeResourceNotFoundFault = "ResourceNotFoundFault"
|
||||
|
||||
// ErrCodeSNSInvalidTopicFault for service response error code
|
||||
// "SNSInvalidTopic".
|
||||
//
|
||||
// Amazon SNS has responded that there is a problem with the specified Amazon
|
||||
// SNS topic.
|
||||
ErrCodeSNSInvalidTopicFault = "SNSInvalidTopic"
|
||||
|
||||
// ErrCodeSNSNoAuthorizationFault for service response error code
|
||||
// "SNSNoAuthorization".
|
||||
//
|
||||
// You do not have permission to publish to the specified Amazon SNS topic.
|
||||
ErrCodeSNSNoAuthorizationFault = "SNSNoAuthorization"
|
||||
|
||||
// ErrCodeSNSTopicArnNotFoundFault for service response error code
|
||||
// "SNSTopicArnNotFound".
|
||||
//
|
||||
// An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not
|
||||
// exist.
|
||||
ErrCodeSNSTopicArnNotFoundFault = "SNSTopicArnNotFound"
|
||||
|
||||
// ErrCodeSnapshotCopyAlreadyDisabledFault for service response error code
|
||||
// "SnapshotCopyAlreadyDisabledFault".
|
||||
//
|
||||
// The cluster already has cross-region snapshot copy disabled.
|
||||
ErrCodeSnapshotCopyAlreadyDisabledFault = "SnapshotCopyAlreadyDisabledFault"
|
||||
|
||||
// ErrCodeSnapshotCopyAlreadyEnabledFault for service response error code
|
||||
// "SnapshotCopyAlreadyEnabledFault".
|
||||
//
|
||||
// The cluster already has cross-region snapshot copy enabled.
|
||||
ErrCodeSnapshotCopyAlreadyEnabledFault = "SnapshotCopyAlreadyEnabledFault"
|
||||
|
||||
// ErrCodeSnapshotCopyDisabledFault for service response error code
|
||||
// "SnapshotCopyDisabledFault".
|
||||
//
|
||||
// Cross-region snapshot copy was temporarily disabled. Try your request again.
|
||||
ErrCodeSnapshotCopyDisabledFault = "SnapshotCopyDisabledFault"
|
||||
|
||||
// ErrCodeSnapshotCopyGrantAlreadyExistsFault for service response error code
|
||||
// "SnapshotCopyGrantAlreadyExistsFault".
|
||||
//
|
||||
// The snapshot copy grant can't be created because a grant with the same name
|
||||
// already exists.
|
||||
ErrCodeSnapshotCopyGrantAlreadyExistsFault = "SnapshotCopyGrantAlreadyExistsFault"
|
||||
|
||||
// ErrCodeSnapshotCopyGrantNotFoundFault for service response error code
|
||||
// "SnapshotCopyGrantNotFoundFault".
|
||||
//
|
||||
// The specified snapshot copy grant can't be found. Make sure that the name
|
||||
// is typed correctly and that the grant exists in the destination region.
|
||||
ErrCodeSnapshotCopyGrantNotFoundFault = "SnapshotCopyGrantNotFoundFault"
|
||||
|
||||
// ErrCodeSnapshotCopyGrantQuotaExceededFault for service response error code
|
||||
// "SnapshotCopyGrantQuotaExceededFault".
|
||||
//
|
||||
// The AWS account has exceeded the maximum number of snapshot copy grants in
|
||||
// this region.
|
||||
ErrCodeSnapshotCopyGrantQuotaExceededFault = "SnapshotCopyGrantQuotaExceededFault"
|
||||
|
||||
// ErrCodeSourceNotFoundFault for service response error code
|
||||
// "SourceNotFound".
|
||||
//
|
||||
// The specified Amazon Redshift event source could not be found.
|
||||
ErrCodeSourceNotFoundFault = "SourceNotFound"
|
||||
|
||||
// ErrCodeSubnetAlreadyInUse for service response error code
|
||||
// "SubnetAlreadyInUse".
|
||||
//
|
||||
// A specified subnet is already in use by another cluster.
|
||||
ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse"
|
||||
|
||||
// ErrCodeSubscriptionAlreadyExistFault for service response error code
|
||||
// "SubscriptionAlreadyExist".
|
||||
//
|
||||
// There is already an existing event notification subscription with the specified
|
||||
// name.
|
||||
ErrCodeSubscriptionAlreadyExistFault = "SubscriptionAlreadyExist"
|
||||
|
||||
// ErrCodeSubscriptionCategoryNotFoundFault for service response error code
|
||||
// "SubscriptionCategoryNotFound".
|
||||
//
|
||||
// The value specified for the event category was not one of the allowed values,
|
||||
// or it specified a category that does not apply to the specified source type.
|
||||
// The allowed values are Configuration, Management, Monitoring, and Security.
|
||||
ErrCodeSubscriptionCategoryNotFoundFault = "SubscriptionCategoryNotFound"
|
||||
|
||||
// ErrCodeSubscriptionEventIdNotFoundFault for service response error code
|
||||
// "SubscriptionEventIdNotFound".
|
||||
//
|
||||
// An Amazon Redshift event with the specified event ID does not exist.
|
||||
ErrCodeSubscriptionEventIdNotFoundFault = "SubscriptionEventIdNotFound"
|
||||
|
||||
// ErrCodeSubscriptionNotFoundFault for service response error code
|
||||
// "SubscriptionNotFound".
|
||||
//
|
||||
// An Amazon Redshift event notification subscription with the specified name
|
||||
// does not exist.
|
||||
ErrCodeSubscriptionNotFoundFault = "SubscriptionNotFound"
|
||||
|
||||
// ErrCodeSubscriptionSeverityNotFoundFault for service response error code
|
||||
// "SubscriptionSeverityNotFound".
|
||||
//
|
||||
// The value specified for the event severity was not one of the allowed values,
|
||||
// or it specified a severity that does not apply to the specified source type.
|
||||
// The allowed values are ERROR and INFO.
|
||||
ErrCodeSubscriptionSeverityNotFoundFault = "SubscriptionSeverityNotFound"
|
||||
|
||||
// ErrCodeTableRestoreNotFoundFault for service response error code
|
||||
// "TableRestoreNotFoundFault".
|
||||
//
|
||||
// The specified TableRestoreRequestId value was not found.
|
||||
ErrCodeTableRestoreNotFoundFault = "TableRestoreNotFoundFault"
|
||||
|
||||
// ErrCodeTagLimitExceededFault for service response error code
|
||||
// "TagLimitExceededFault".
|
||||
//
|
||||
// The request exceeds the limit of 10 tags for the resource.
|
||||
ErrCodeTagLimitExceededFault = "TagLimitExceededFault"
|
||||
|
||||
// ErrCodeUnauthorizedOperation for service response error code
|
||||
// "UnauthorizedOperation".
|
||||
//
|
||||
// Your account is not authorized to perform the requested operation.
|
||||
ErrCodeUnauthorizedOperation = "UnauthorizedOperation"
|
||||
|
||||
// ErrCodeUnknownSnapshotCopyRegionFault for service response error code
|
||||
// "UnknownSnapshotCopyRegionFault".
|
||||
//
|
||||
// The specified region is incorrect or does not exist.
|
||||
ErrCodeUnknownSnapshotCopyRegionFault = "UnknownSnapshotCopyRegionFault"
|
||||
|
||||
// ErrCodeUnsupportedOperationFault for service response error code
|
||||
// "UnsupportedOperation".
|
||||
//
|
||||
// The requested operation isn't supported.
|
||||
ErrCodeUnsupportedOperationFault = "UnsupportedOperation"
|
||||
|
||||
// ErrCodeUnsupportedOptionFault for service response error code
|
||||
// "UnsupportedOptionFault".
|
||||
//
|
||||
// A request option was specified that is not supported.
|
||||
ErrCodeUnsupportedOptionFault = "UnsupportedOptionFault"
|
||||
)
|
1740
vendor/github.com/aws/aws-sdk-go/service/redshift/examples_test.go
generated
vendored
Normal file
1740
vendor/github.com/aws/aws-sdk-go/service/redshift/examples_test.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
373
vendor/github.com/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go
generated
vendored
Normal file
373
vendor/github.com/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go
generated
vendored
Normal file
|
@ -0,0 +1,373 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package redshiftiface provides an interface to enable mocking the Amazon Redshift service client
|
||||
// for testing your code.
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters.
|
||||
package redshiftiface
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/service/redshift"
|
||||
)
|
||||
|
||||
// RedshiftAPI provides an interface to enable mocking the
|
||||
// redshift.Redshift service client's API operation,
|
||||
// paginators, and waiters. This make unit testing your code that calls out
|
||||
// to the SDK's service client's calls easier.
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Redshift.
|
||||
// func myFunc(svc redshiftiface.RedshiftAPI) bool {
|
||||
// // Make svc.AuthorizeClusterSecurityGroupIngress request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// sess := session.New()
|
||||
// svc := redshift.New(sess)
|
||||
//
|
||||
// myFunc(svc)
|
||||
// }
|
||||
//
|
||||
// In your _test.go file:
|
||||
//
|
||||
// // Define a mock struct to be used in your unit tests of myFunc.
|
||||
// type mockRedshiftClient struct {
|
||||
// redshiftiface.RedshiftAPI
|
||||
// }
|
||||
// func (m *mockRedshiftClient) AuthorizeClusterSecurityGroupIngress(input *redshift.AuthorizeClusterSecurityGroupIngressInput) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
// func TestMyFunc(t *testing.T) {
|
||||
// // Setup Test
|
||||
// mockSvc := &mockRedshiftClient{}
|
||||
//
|
||||
// myfunc(mockSvc)
|
||||
//
|
||||
// // Verify myFunc's functionality
|
||||
// }
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type RedshiftAPI interface {
|
||||
AuthorizeClusterSecurityGroupIngress(*redshift.AuthorizeClusterSecurityGroupIngressInput) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error)
|
||||
AuthorizeClusterSecurityGroupIngressWithContext(aws.Context, *redshift.AuthorizeClusterSecurityGroupIngressInput, ...request.Option) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error)
|
||||
AuthorizeClusterSecurityGroupIngressRequest(*redshift.AuthorizeClusterSecurityGroupIngressInput) (*request.Request, *redshift.AuthorizeClusterSecurityGroupIngressOutput)
|
||||
|
||||
AuthorizeSnapshotAccess(*redshift.AuthorizeSnapshotAccessInput) (*redshift.AuthorizeSnapshotAccessOutput, error)
|
||||
AuthorizeSnapshotAccessWithContext(aws.Context, *redshift.AuthorizeSnapshotAccessInput, ...request.Option) (*redshift.AuthorizeSnapshotAccessOutput, error)
|
||||
AuthorizeSnapshotAccessRequest(*redshift.AuthorizeSnapshotAccessInput) (*request.Request, *redshift.AuthorizeSnapshotAccessOutput)
|
||||
|
||||
CopyClusterSnapshot(*redshift.CopyClusterSnapshotInput) (*redshift.CopyClusterSnapshotOutput, error)
|
||||
CopyClusterSnapshotWithContext(aws.Context, *redshift.CopyClusterSnapshotInput, ...request.Option) (*redshift.CopyClusterSnapshotOutput, error)
|
||||
CopyClusterSnapshotRequest(*redshift.CopyClusterSnapshotInput) (*request.Request, *redshift.CopyClusterSnapshotOutput)
|
||||
|
||||
CreateCluster(*redshift.CreateClusterInput) (*redshift.CreateClusterOutput, error)
|
||||
CreateClusterWithContext(aws.Context, *redshift.CreateClusterInput, ...request.Option) (*redshift.CreateClusterOutput, error)
|
||||
CreateClusterRequest(*redshift.CreateClusterInput) (*request.Request, *redshift.CreateClusterOutput)
|
||||
|
||||
CreateClusterParameterGroup(*redshift.CreateClusterParameterGroupInput) (*redshift.CreateClusterParameterGroupOutput, error)
|
||||
CreateClusterParameterGroupWithContext(aws.Context, *redshift.CreateClusterParameterGroupInput, ...request.Option) (*redshift.CreateClusterParameterGroupOutput, error)
|
||||
CreateClusterParameterGroupRequest(*redshift.CreateClusterParameterGroupInput) (*request.Request, *redshift.CreateClusterParameterGroupOutput)
|
||||
|
||||
CreateClusterSecurityGroup(*redshift.CreateClusterSecurityGroupInput) (*redshift.CreateClusterSecurityGroupOutput, error)
|
||||
CreateClusterSecurityGroupWithContext(aws.Context, *redshift.CreateClusterSecurityGroupInput, ...request.Option) (*redshift.CreateClusterSecurityGroupOutput, error)
|
||||
CreateClusterSecurityGroupRequest(*redshift.CreateClusterSecurityGroupInput) (*request.Request, *redshift.CreateClusterSecurityGroupOutput)
|
||||
|
||||
CreateClusterSnapshot(*redshift.CreateClusterSnapshotInput) (*redshift.CreateClusterSnapshotOutput, error)
|
||||
CreateClusterSnapshotWithContext(aws.Context, *redshift.CreateClusterSnapshotInput, ...request.Option) (*redshift.CreateClusterSnapshotOutput, error)
|
||||
CreateClusterSnapshotRequest(*redshift.CreateClusterSnapshotInput) (*request.Request, *redshift.CreateClusterSnapshotOutput)
|
||||
|
||||
CreateClusterSubnetGroup(*redshift.CreateClusterSubnetGroupInput) (*redshift.CreateClusterSubnetGroupOutput, error)
|
||||
CreateClusterSubnetGroupWithContext(aws.Context, *redshift.CreateClusterSubnetGroupInput, ...request.Option) (*redshift.CreateClusterSubnetGroupOutput, error)
|
||||
CreateClusterSubnetGroupRequest(*redshift.CreateClusterSubnetGroupInput) (*request.Request, *redshift.CreateClusterSubnetGroupOutput)
|
||||
|
||||
CreateEventSubscription(*redshift.CreateEventSubscriptionInput) (*redshift.CreateEventSubscriptionOutput, error)
|
||||
CreateEventSubscriptionWithContext(aws.Context, *redshift.CreateEventSubscriptionInput, ...request.Option) (*redshift.CreateEventSubscriptionOutput, error)
|
||||
CreateEventSubscriptionRequest(*redshift.CreateEventSubscriptionInput) (*request.Request, *redshift.CreateEventSubscriptionOutput)
|
||||
|
||||
CreateHsmClientCertificate(*redshift.CreateHsmClientCertificateInput) (*redshift.CreateHsmClientCertificateOutput, error)
|
||||
CreateHsmClientCertificateWithContext(aws.Context, *redshift.CreateHsmClientCertificateInput, ...request.Option) (*redshift.CreateHsmClientCertificateOutput, error)
|
||||
CreateHsmClientCertificateRequest(*redshift.CreateHsmClientCertificateInput) (*request.Request, *redshift.CreateHsmClientCertificateOutput)
|
||||
|
||||
CreateHsmConfiguration(*redshift.CreateHsmConfigurationInput) (*redshift.CreateHsmConfigurationOutput, error)
|
||||
CreateHsmConfigurationWithContext(aws.Context, *redshift.CreateHsmConfigurationInput, ...request.Option) (*redshift.CreateHsmConfigurationOutput, error)
|
||||
CreateHsmConfigurationRequest(*redshift.CreateHsmConfigurationInput) (*request.Request, *redshift.CreateHsmConfigurationOutput)
|
||||
|
||||
CreateSnapshotCopyGrant(*redshift.CreateSnapshotCopyGrantInput) (*redshift.CreateSnapshotCopyGrantOutput, error)
|
||||
CreateSnapshotCopyGrantWithContext(aws.Context, *redshift.CreateSnapshotCopyGrantInput, ...request.Option) (*redshift.CreateSnapshotCopyGrantOutput, error)
|
||||
CreateSnapshotCopyGrantRequest(*redshift.CreateSnapshotCopyGrantInput) (*request.Request, *redshift.CreateSnapshotCopyGrantOutput)
|
||||
|
||||
CreateTags(*redshift.CreateTagsInput) (*redshift.CreateTagsOutput, error)
|
||||
CreateTagsWithContext(aws.Context, *redshift.CreateTagsInput, ...request.Option) (*redshift.CreateTagsOutput, error)
|
||||
CreateTagsRequest(*redshift.CreateTagsInput) (*request.Request, *redshift.CreateTagsOutput)
|
||||
|
||||
DeleteCluster(*redshift.DeleteClusterInput) (*redshift.DeleteClusterOutput, error)
|
||||
DeleteClusterWithContext(aws.Context, *redshift.DeleteClusterInput, ...request.Option) (*redshift.DeleteClusterOutput, error)
|
||||
DeleteClusterRequest(*redshift.DeleteClusterInput) (*request.Request, *redshift.DeleteClusterOutput)
|
||||
|
||||
DeleteClusterParameterGroup(*redshift.DeleteClusterParameterGroupInput) (*redshift.DeleteClusterParameterGroupOutput, error)
|
||||
DeleteClusterParameterGroupWithContext(aws.Context, *redshift.DeleteClusterParameterGroupInput, ...request.Option) (*redshift.DeleteClusterParameterGroupOutput, error)
|
||||
DeleteClusterParameterGroupRequest(*redshift.DeleteClusterParameterGroupInput) (*request.Request, *redshift.DeleteClusterParameterGroupOutput)
|
||||
|
||||
DeleteClusterSecurityGroup(*redshift.DeleteClusterSecurityGroupInput) (*redshift.DeleteClusterSecurityGroupOutput, error)
|
||||
DeleteClusterSecurityGroupWithContext(aws.Context, *redshift.DeleteClusterSecurityGroupInput, ...request.Option) (*redshift.DeleteClusterSecurityGroupOutput, error)
|
||||
DeleteClusterSecurityGroupRequest(*redshift.DeleteClusterSecurityGroupInput) (*request.Request, *redshift.DeleteClusterSecurityGroupOutput)
|
||||
|
||||
DeleteClusterSnapshot(*redshift.DeleteClusterSnapshotInput) (*redshift.DeleteClusterSnapshotOutput, error)
|
||||
DeleteClusterSnapshotWithContext(aws.Context, *redshift.DeleteClusterSnapshotInput, ...request.Option) (*redshift.DeleteClusterSnapshotOutput, error)
|
||||
DeleteClusterSnapshotRequest(*redshift.DeleteClusterSnapshotInput) (*request.Request, *redshift.DeleteClusterSnapshotOutput)
|
||||
|
||||
DeleteClusterSubnetGroup(*redshift.DeleteClusterSubnetGroupInput) (*redshift.DeleteClusterSubnetGroupOutput, error)
|
||||
DeleteClusterSubnetGroupWithContext(aws.Context, *redshift.DeleteClusterSubnetGroupInput, ...request.Option) (*redshift.DeleteClusterSubnetGroupOutput, error)
|
||||
DeleteClusterSubnetGroupRequest(*redshift.DeleteClusterSubnetGroupInput) (*request.Request, *redshift.DeleteClusterSubnetGroupOutput)
|
||||
|
||||
DeleteEventSubscription(*redshift.DeleteEventSubscriptionInput) (*redshift.DeleteEventSubscriptionOutput, error)
|
||||
DeleteEventSubscriptionWithContext(aws.Context, *redshift.DeleteEventSubscriptionInput, ...request.Option) (*redshift.DeleteEventSubscriptionOutput, error)
|
||||
DeleteEventSubscriptionRequest(*redshift.DeleteEventSubscriptionInput) (*request.Request, *redshift.DeleteEventSubscriptionOutput)
|
||||
|
||||
DeleteHsmClientCertificate(*redshift.DeleteHsmClientCertificateInput) (*redshift.DeleteHsmClientCertificateOutput, error)
|
||||
DeleteHsmClientCertificateWithContext(aws.Context, *redshift.DeleteHsmClientCertificateInput, ...request.Option) (*redshift.DeleteHsmClientCertificateOutput, error)
|
||||
DeleteHsmClientCertificateRequest(*redshift.DeleteHsmClientCertificateInput) (*request.Request, *redshift.DeleteHsmClientCertificateOutput)
|
||||
|
||||
DeleteHsmConfiguration(*redshift.DeleteHsmConfigurationInput) (*redshift.DeleteHsmConfigurationOutput, error)
|
||||
DeleteHsmConfigurationWithContext(aws.Context, *redshift.DeleteHsmConfigurationInput, ...request.Option) (*redshift.DeleteHsmConfigurationOutput, error)
|
||||
DeleteHsmConfigurationRequest(*redshift.DeleteHsmConfigurationInput) (*request.Request, *redshift.DeleteHsmConfigurationOutput)
|
||||
|
||||
DeleteSnapshotCopyGrant(*redshift.DeleteSnapshotCopyGrantInput) (*redshift.DeleteSnapshotCopyGrantOutput, error)
|
||||
DeleteSnapshotCopyGrantWithContext(aws.Context, *redshift.DeleteSnapshotCopyGrantInput, ...request.Option) (*redshift.DeleteSnapshotCopyGrantOutput, error)
|
||||
DeleteSnapshotCopyGrantRequest(*redshift.DeleteSnapshotCopyGrantInput) (*request.Request, *redshift.DeleteSnapshotCopyGrantOutput)
|
||||
|
||||
DeleteTags(*redshift.DeleteTagsInput) (*redshift.DeleteTagsOutput, error)
|
||||
DeleteTagsWithContext(aws.Context, *redshift.DeleteTagsInput, ...request.Option) (*redshift.DeleteTagsOutput, error)
|
||||
DeleteTagsRequest(*redshift.DeleteTagsInput) (*request.Request, *redshift.DeleteTagsOutput)
|
||||
|
||||
DescribeClusterParameterGroups(*redshift.DescribeClusterParameterGroupsInput) (*redshift.DescribeClusterParameterGroupsOutput, error)
|
||||
DescribeClusterParameterGroupsWithContext(aws.Context, *redshift.DescribeClusterParameterGroupsInput, ...request.Option) (*redshift.DescribeClusterParameterGroupsOutput, error)
|
||||
DescribeClusterParameterGroupsRequest(*redshift.DescribeClusterParameterGroupsInput) (*request.Request, *redshift.DescribeClusterParameterGroupsOutput)
|
||||
|
||||
DescribeClusterParameterGroupsPages(*redshift.DescribeClusterParameterGroupsInput, func(*redshift.DescribeClusterParameterGroupsOutput, bool) bool) error
|
||||
DescribeClusterParameterGroupsPagesWithContext(aws.Context, *redshift.DescribeClusterParameterGroupsInput, func(*redshift.DescribeClusterParameterGroupsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusterParameters(*redshift.DescribeClusterParametersInput) (*redshift.DescribeClusterParametersOutput, error)
|
||||
DescribeClusterParametersWithContext(aws.Context, *redshift.DescribeClusterParametersInput, ...request.Option) (*redshift.DescribeClusterParametersOutput, error)
|
||||
DescribeClusterParametersRequest(*redshift.DescribeClusterParametersInput) (*request.Request, *redshift.DescribeClusterParametersOutput)
|
||||
|
||||
DescribeClusterParametersPages(*redshift.DescribeClusterParametersInput, func(*redshift.DescribeClusterParametersOutput, bool) bool) error
|
||||
DescribeClusterParametersPagesWithContext(aws.Context, *redshift.DescribeClusterParametersInput, func(*redshift.DescribeClusterParametersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusterSecurityGroups(*redshift.DescribeClusterSecurityGroupsInput) (*redshift.DescribeClusterSecurityGroupsOutput, error)
|
||||
DescribeClusterSecurityGroupsWithContext(aws.Context, *redshift.DescribeClusterSecurityGroupsInput, ...request.Option) (*redshift.DescribeClusterSecurityGroupsOutput, error)
|
||||
DescribeClusterSecurityGroupsRequest(*redshift.DescribeClusterSecurityGroupsInput) (*request.Request, *redshift.DescribeClusterSecurityGroupsOutput)
|
||||
|
||||
DescribeClusterSecurityGroupsPages(*redshift.DescribeClusterSecurityGroupsInput, func(*redshift.DescribeClusterSecurityGroupsOutput, bool) bool) error
|
||||
DescribeClusterSecurityGroupsPagesWithContext(aws.Context, *redshift.DescribeClusterSecurityGroupsInput, func(*redshift.DescribeClusterSecurityGroupsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusterSnapshots(*redshift.DescribeClusterSnapshotsInput) (*redshift.DescribeClusterSnapshotsOutput, error)
|
||||
DescribeClusterSnapshotsWithContext(aws.Context, *redshift.DescribeClusterSnapshotsInput, ...request.Option) (*redshift.DescribeClusterSnapshotsOutput, error)
|
||||
DescribeClusterSnapshotsRequest(*redshift.DescribeClusterSnapshotsInput) (*request.Request, *redshift.DescribeClusterSnapshotsOutput)
|
||||
|
||||
DescribeClusterSnapshotsPages(*redshift.DescribeClusterSnapshotsInput, func(*redshift.DescribeClusterSnapshotsOutput, bool) bool) error
|
||||
DescribeClusterSnapshotsPagesWithContext(aws.Context, *redshift.DescribeClusterSnapshotsInput, func(*redshift.DescribeClusterSnapshotsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusterSubnetGroups(*redshift.DescribeClusterSubnetGroupsInput) (*redshift.DescribeClusterSubnetGroupsOutput, error)
|
||||
DescribeClusterSubnetGroupsWithContext(aws.Context, *redshift.DescribeClusterSubnetGroupsInput, ...request.Option) (*redshift.DescribeClusterSubnetGroupsOutput, error)
|
||||
DescribeClusterSubnetGroupsRequest(*redshift.DescribeClusterSubnetGroupsInput) (*request.Request, *redshift.DescribeClusterSubnetGroupsOutput)
|
||||
|
||||
DescribeClusterSubnetGroupsPages(*redshift.DescribeClusterSubnetGroupsInput, func(*redshift.DescribeClusterSubnetGroupsOutput, bool) bool) error
|
||||
DescribeClusterSubnetGroupsPagesWithContext(aws.Context, *redshift.DescribeClusterSubnetGroupsInput, func(*redshift.DescribeClusterSubnetGroupsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusterVersions(*redshift.DescribeClusterVersionsInput) (*redshift.DescribeClusterVersionsOutput, error)
|
||||
DescribeClusterVersionsWithContext(aws.Context, *redshift.DescribeClusterVersionsInput, ...request.Option) (*redshift.DescribeClusterVersionsOutput, error)
|
||||
DescribeClusterVersionsRequest(*redshift.DescribeClusterVersionsInput) (*request.Request, *redshift.DescribeClusterVersionsOutput)
|
||||
|
||||
DescribeClusterVersionsPages(*redshift.DescribeClusterVersionsInput, func(*redshift.DescribeClusterVersionsOutput, bool) bool) error
|
||||
DescribeClusterVersionsPagesWithContext(aws.Context, *redshift.DescribeClusterVersionsInput, func(*redshift.DescribeClusterVersionsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeClusters(*redshift.DescribeClustersInput) (*redshift.DescribeClustersOutput, error)
|
||||
DescribeClustersWithContext(aws.Context, *redshift.DescribeClustersInput, ...request.Option) (*redshift.DescribeClustersOutput, error)
|
||||
DescribeClustersRequest(*redshift.DescribeClustersInput) (*request.Request, *redshift.DescribeClustersOutput)
|
||||
|
||||
DescribeClustersPages(*redshift.DescribeClustersInput, func(*redshift.DescribeClustersOutput, bool) bool) error
|
||||
DescribeClustersPagesWithContext(aws.Context, *redshift.DescribeClustersInput, func(*redshift.DescribeClustersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeDefaultClusterParameters(*redshift.DescribeDefaultClusterParametersInput) (*redshift.DescribeDefaultClusterParametersOutput, error)
|
||||
DescribeDefaultClusterParametersWithContext(aws.Context, *redshift.DescribeDefaultClusterParametersInput, ...request.Option) (*redshift.DescribeDefaultClusterParametersOutput, error)
|
||||
DescribeDefaultClusterParametersRequest(*redshift.DescribeDefaultClusterParametersInput) (*request.Request, *redshift.DescribeDefaultClusterParametersOutput)
|
||||
|
||||
DescribeDefaultClusterParametersPages(*redshift.DescribeDefaultClusterParametersInput, func(*redshift.DescribeDefaultClusterParametersOutput, bool) bool) error
|
||||
DescribeDefaultClusterParametersPagesWithContext(aws.Context, *redshift.DescribeDefaultClusterParametersInput, func(*redshift.DescribeDefaultClusterParametersOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeEventCategories(*redshift.DescribeEventCategoriesInput) (*redshift.DescribeEventCategoriesOutput, error)
|
||||
DescribeEventCategoriesWithContext(aws.Context, *redshift.DescribeEventCategoriesInput, ...request.Option) (*redshift.DescribeEventCategoriesOutput, error)
|
||||
DescribeEventCategoriesRequest(*redshift.DescribeEventCategoriesInput) (*request.Request, *redshift.DescribeEventCategoriesOutput)
|
||||
|
||||
DescribeEventSubscriptions(*redshift.DescribeEventSubscriptionsInput) (*redshift.DescribeEventSubscriptionsOutput, error)
|
||||
DescribeEventSubscriptionsWithContext(aws.Context, *redshift.DescribeEventSubscriptionsInput, ...request.Option) (*redshift.DescribeEventSubscriptionsOutput, error)
|
||||
DescribeEventSubscriptionsRequest(*redshift.DescribeEventSubscriptionsInput) (*request.Request, *redshift.DescribeEventSubscriptionsOutput)
|
||||
|
||||
DescribeEventSubscriptionsPages(*redshift.DescribeEventSubscriptionsInput, func(*redshift.DescribeEventSubscriptionsOutput, bool) bool) error
|
||||
DescribeEventSubscriptionsPagesWithContext(aws.Context, *redshift.DescribeEventSubscriptionsInput, func(*redshift.DescribeEventSubscriptionsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeEvents(*redshift.DescribeEventsInput) (*redshift.DescribeEventsOutput, error)
|
||||
DescribeEventsWithContext(aws.Context, *redshift.DescribeEventsInput, ...request.Option) (*redshift.DescribeEventsOutput, error)
|
||||
DescribeEventsRequest(*redshift.DescribeEventsInput) (*request.Request, *redshift.DescribeEventsOutput)
|
||||
|
||||
DescribeEventsPages(*redshift.DescribeEventsInput, func(*redshift.DescribeEventsOutput, bool) bool) error
|
||||
DescribeEventsPagesWithContext(aws.Context, *redshift.DescribeEventsInput, func(*redshift.DescribeEventsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeHsmClientCertificates(*redshift.DescribeHsmClientCertificatesInput) (*redshift.DescribeHsmClientCertificatesOutput, error)
|
||||
DescribeHsmClientCertificatesWithContext(aws.Context, *redshift.DescribeHsmClientCertificatesInput, ...request.Option) (*redshift.DescribeHsmClientCertificatesOutput, error)
|
||||
DescribeHsmClientCertificatesRequest(*redshift.DescribeHsmClientCertificatesInput) (*request.Request, *redshift.DescribeHsmClientCertificatesOutput)
|
||||
|
||||
DescribeHsmClientCertificatesPages(*redshift.DescribeHsmClientCertificatesInput, func(*redshift.DescribeHsmClientCertificatesOutput, bool) bool) error
|
||||
DescribeHsmClientCertificatesPagesWithContext(aws.Context, *redshift.DescribeHsmClientCertificatesInput, func(*redshift.DescribeHsmClientCertificatesOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeHsmConfigurations(*redshift.DescribeHsmConfigurationsInput) (*redshift.DescribeHsmConfigurationsOutput, error)
|
||||
DescribeHsmConfigurationsWithContext(aws.Context, *redshift.DescribeHsmConfigurationsInput, ...request.Option) (*redshift.DescribeHsmConfigurationsOutput, error)
|
||||
DescribeHsmConfigurationsRequest(*redshift.DescribeHsmConfigurationsInput) (*request.Request, *redshift.DescribeHsmConfigurationsOutput)
|
||||
|
||||
DescribeHsmConfigurationsPages(*redshift.DescribeHsmConfigurationsInput, func(*redshift.DescribeHsmConfigurationsOutput, bool) bool) error
|
||||
DescribeHsmConfigurationsPagesWithContext(aws.Context, *redshift.DescribeHsmConfigurationsInput, func(*redshift.DescribeHsmConfigurationsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeLoggingStatus(*redshift.DescribeLoggingStatusInput) (*redshift.LoggingStatus, error)
|
||||
DescribeLoggingStatusWithContext(aws.Context, *redshift.DescribeLoggingStatusInput, ...request.Option) (*redshift.LoggingStatus, error)
|
||||
DescribeLoggingStatusRequest(*redshift.DescribeLoggingStatusInput) (*request.Request, *redshift.LoggingStatus)
|
||||
|
||||
DescribeOrderableClusterOptions(*redshift.DescribeOrderableClusterOptionsInput) (*redshift.DescribeOrderableClusterOptionsOutput, error)
|
||||
DescribeOrderableClusterOptionsWithContext(aws.Context, *redshift.DescribeOrderableClusterOptionsInput, ...request.Option) (*redshift.DescribeOrderableClusterOptionsOutput, error)
|
||||
DescribeOrderableClusterOptionsRequest(*redshift.DescribeOrderableClusterOptionsInput) (*request.Request, *redshift.DescribeOrderableClusterOptionsOutput)
|
||||
|
||||
DescribeOrderableClusterOptionsPages(*redshift.DescribeOrderableClusterOptionsInput, func(*redshift.DescribeOrderableClusterOptionsOutput, bool) bool) error
|
||||
DescribeOrderableClusterOptionsPagesWithContext(aws.Context, *redshift.DescribeOrderableClusterOptionsInput, func(*redshift.DescribeOrderableClusterOptionsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeReservedNodeOfferings(*redshift.DescribeReservedNodeOfferingsInput) (*redshift.DescribeReservedNodeOfferingsOutput, error)
|
||||
DescribeReservedNodeOfferingsWithContext(aws.Context, *redshift.DescribeReservedNodeOfferingsInput, ...request.Option) (*redshift.DescribeReservedNodeOfferingsOutput, error)
|
||||
DescribeReservedNodeOfferingsRequest(*redshift.DescribeReservedNodeOfferingsInput) (*request.Request, *redshift.DescribeReservedNodeOfferingsOutput)
|
||||
|
||||
DescribeReservedNodeOfferingsPages(*redshift.DescribeReservedNodeOfferingsInput, func(*redshift.DescribeReservedNodeOfferingsOutput, bool) bool) error
|
||||
DescribeReservedNodeOfferingsPagesWithContext(aws.Context, *redshift.DescribeReservedNodeOfferingsInput, func(*redshift.DescribeReservedNodeOfferingsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeReservedNodes(*redshift.DescribeReservedNodesInput) (*redshift.DescribeReservedNodesOutput, error)
|
||||
DescribeReservedNodesWithContext(aws.Context, *redshift.DescribeReservedNodesInput, ...request.Option) (*redshift.DescribeReservedNodesOutput, error)
|
||||
DescribeReservedNodesRequest(*redshift.DescribeReservedNodesInput) (*request.Request, *redshift.DescribeReservedNodesOutput)
|
||||
|
||||
DescribeReservedNodesPages(*redshift.DescribeReservedNodesInput, func(*redshift.DescribeReservedNodesOutput, bool) bool) error
|
||||
DescribeReservedNodesPagesWithContext(aws.Context, *redshift.DescribeReservedNodesInput, func(*redshift.DescribeReservedNodesOutput, bool) bool, ...request.Option) error
|
||||
|
||||
DescribeResize(*redshift.DescribeResizeInput) (*redshift.DescribeResizeOutput, error)
|
||||
DescribeResizeWithContext(aws.Context, *redshift.DescribeResizeInput, ...request.Option) (*redshift.DescribeResizeOutput, error)
|
||||
DescribeResizeRequest(*redshift.DescribeResizeInput) (*request.Request, *redshift.DescribeResizeOutput)
|
||||
|
||||
DescribeSnapshotCopyGrants(*redshift.DescribeSnapshotCopyGrantsInput) (*redshift.DescribeSnapshotCopyGrantsOutput, error)
|
||||
DescribeSnapshotCopyGrantsWithContext(aws.Context, *redshift.DescribeSnapshotCopyGrantsInput, ...request.Option) (*redshift.DescribeSnapshotCopyGrantsOutput, error)
|
||||
DescribeSnapshotCopyGrantsRequest(*redshift.DescribeSnapshotCopyGrantsInput) (*request.Request, *redshift.DescribeSnapshotCopyGrantsOutput)
|
||||
|
||||
DescribeTableRestoreStatus(*redshift.DescribeTableRestoreStatusInput) (*redshift.DescribeTableRestoreStatusOutput, error)
|
||||
DescribeTableRestoreStatusWithContext(aws.Context, *redshift.DescribeTableRestoreStatusInput, ...request.Option) (*redshift.DescribeTableRestoreStatusOutput, error)
|
||||
DescribeTableRestoreStatusRequest(*redshift.DescribeTableRestoreStatusInput) (*request.Request, *redshift.DescribeTableRestoreStatusOutput)
|
||||
|
||||
DescribeTags(*redshift.DescribeTagsInput) (*redshift.DescribeTagsOutput, error)
|
||||
DescribeTagsWithContext(aws.Context, *redshift.DescribeTagsInput, ...request.Option) (*redshift.DescribeTagsOutput, error)
|
||||
DescribeTagsRequest(*redshift.DescribeTagsInput) (*request.Request, *redshift.DescribeTagsOutput)
|
||||
|
||||
DisableLogging(*redshift.DisableLoggingInput) (*redshift.LoggingStatus, error)
|
||||
DisableLoggingWithContext(aws.Context, *redshift.DisableLoggingInput, ...request.Option) (*redshift.LoggingStatus, error)
|
||||
DisableLoggingRequest(*redshift.DisableLoggingInput) (*request.Request, *redshift.LoggingStatus)
|
||||
|
||||
DisableSnapshotCopy(*redshift.DisableSnapshotCopyInput) (*redshift.DisableSnapshotCopyOutput, error)
|
||||
DisableSnapshotCopyWithContext(aws.Context, *redshift.DisableSnapshotCopyInput, ...request.Option) (*redshift.DisableSnapshotCopyOutput, error)
|
||||
DisableSnapshotCopyRequest(*redshift.DisableSnapshotCopyInput) (*request.Request, *redshift.DisableSnapshotCopyOutput)
|
||||
|
||||
EnableLogging(*redshift.EnableLoggingInput) (*redshift.LoggingStatus, error)
|
||||
EnableLoggingWithContext(aws.Context, *redshift.EnableLoggingInput, ...request.Option) (*redshift.LoggingStatus, error)
|
||||
EnableLoggingRequest(*redshift.EnableLoggingInput) (*request.Request, *redshift.LoggingStatus)
|
||||
|
||||
EnableSnapshotCopy(*redshift.EnableSnapshotCopyInput) (*redshift.EnableSnapshotCopyOutput, error)
|
||||
EnableSnapshotCopyWithContext(aws.Context, *redshift.EnableSnapshotCopyInput, ...request.Option) (*redshift.EnableSnapshotCopyOutput, error)
|
||||
EnableSnapshotCopyRequest(*redshift.EnableSnapshotCopyInput) (*request.Request, *redshift.EnableSnapshotCopyOutput)
|
||||
|
||||
GetClusterCredentials(*redshift.GetClusterCredentialsInput) (*redshift.GetClusterCredentialsOutput, error)
|
||||
GetClusterCredentialsWithContext(aws.Context, *redshift.GetClusterCredentialsInput, ...request.Option) (*redshift.GetClusterCredentialsOutput, error)
|
||||
GetClusterCredentialsRequest(*redshift.GetClusterCredentialsInput) (*request.Request, *redshift.GetClusterCredentialsOutput)
|
||||
|
||||
ModifyCluster(*redshift.ModifyClusterInput) (*redshift.ModifyClusterOutput, error)
|
||||
ModifyClusterWithContext(aws.Context, *redshift.ModifyClusterInput, ...request.Option) (*redshift.ModifyClusterOutput, error)
|
||||
ModifyClusterRequest(*redshift.ModifyClusterInput) (*request.Request, *redshift.ModifyClusterOutput)
|
||||
|
||||
ModifyClusterIamRoles(*redshift.ModifyClusterIamRolesInput) (*redshift.ModifyClusterIamRolesOutput, error)
|
||||
ModifyClusterIamRolesWithContext(aws.Context, *redshift.ModifyClusterIamRolesInput, ...request.Option) (*redshift.ModifyClusterIamRolesOutput, error)
|
||||
ModifyClusterIamRolesRequest(*redshift.ModifyClusterIamRolesInput) (*request.Request, *redshift.ModifyClusterIamRolesOutput)
|
||||
|
||||
ModifyClusterParameterGroup(*redshift.ModifyClusterParameterGroupInput) (*redshift.ClusterParameterGroupNameMessage, error)
|
||||
ModifyClusterParameterGroupWithContext(aws.Context, *redshift.ModifyClusterParameterGroupInput, ...request.Option) (*redshift.ClusterParameterGroupNameMessage, error)
|
||||
ModifyClusterParameterGroupRequest(*redshift.ModifyClusterParameterGroupInput) (*request.Request, *redshift.ClusterParameterGroupNameMessage)
|
||||
|
||||
ModifyClusterSubnetGroup(*redshift.ModifyClusterSubnetGroupInput) (*redshift.ModifyClusterSubnetGroupOutput, error)
|
||||
ModifyClusterSubnetGroupWithContext(aws.Context, *redshift.ModifyClusterSubnetGroupInput, ...request.Option) (*redshift.ModifyClusterSubnetGroupOutput, error)
|
||||
ModifyClusterSubnetGroupRequest(*redshift.ModifyClusterSubnetGroupInput) (*request.Request, *redshift.ModifyClusterSubnetGroupOutput)
|
||||
|
||||
ModifyEventSubscription(*redshift.ModifyEventSubscriptionInput) (*redshift.ModifyEventSubscriptionOutput, error)
|
||||
ModifyEventSubscriptionWithContext(aws.Context, *redshift.ModifyEventSubscriptionInput, ...request.Option) (*redshift.ModifyEventSubscriptionOutput, error)
|
||||
ModifyEventSubscriptionRequest(*redshift.ModifyEventSubscriptionInput) (*request.Request, *redshift.ModifyEventSubscriptionOutput)
|
||||
|
||||
ModifySnapshotCopyRetentionPeriod(*redshift.ModifySnapshotCopyRetentionPeriodInput) (*redshift.ModifySnapshotCopyRetentionPeriodOutput, error)
|
||||
ModifySnapshotCopyRetentionPeriodWithContext(aws.Context, *redshift.ModifySnapshotCopyRetentionPeriodInput, ...request.Option) (*redshift.ModifySnapshotCopyRetentionPeriodOutput, error)
|
||||
ModifySnapshotCopyRetentionPeriodRequest(*redshift.ModifySnapshotCopyRetentionPeriodInput) (*request.Request, *redshift.ModifySnapshotCopyRetentionPeriodOutput)
|
||||
|
||||
PurchaseReservedNodeOffering(*redshift.PurchaseReservedNodeOfferingInput) (*redshift.PurchaseReservedNodeOfferingOutput, error)
|
||||
PurchaseReservedNodeOfferingWithContext(aws.Context, *redshift.PurchaseReservedNodeOfferingInput, ...request.Option) (*redshift.PurchaseReservedNodeOfferingOutput, error)
|
||||
PurchaseReservedNodeOfferingRequest(*redshift.PurchaseReservedNodeOfferingInput) (*request.Request, *redshift.PurchaseReservedNodeOfferingOutput)
|
||||
|
||||
RebootCluster(*redshift.RebootClusterInput) (*redshift.RebootClusterOutput, error)
|
||||
RebootClusterWithContext(aws.Context, *redshift.RebootClusterInput, ...request.Option) (*redshift.RebootClusterOutput, error)
|
||||
RebootClusterRequest(*redshift.RebootClusterInput) (*request.Request, *redshift.RebootClusterOutput)
|
||||
|
||||
ResetClusterParameterGroup(*redshift.ResetClusterParameterGroupInput) (*redshift.ClusterParameterGroupNameMessage, error)
|
||||
ResetClusterParameterGroupWithContext(aws.Context, *redshift.ResetClusterParameterGroupInput, ...request.Option) (*redshift.ClusterParameterGroupNameMessage, error)
|
||||
ResetClusterParameterGroupRequest(*redshift.ResetClusterParameterGroupInput) (*request.Request, *redshift.ClusterParameterGroupNameMessage)
|
||||
|
||||
RestoreFromClusterSnapshot(*redshift.RestoreFromClusterSnapshotInput) (*redshift.RestoreFromClusterSnapshotOutput, error)
|
||||
RestoreFromClusterSnapshotWithContext(aws.Context, *redshift.RestoreFromClusterSnapshotInput, ...request.Option) (*redshift.RestoreFromClusterSnapshotOutput, error)
|
||||
RestoreFromClusterSnapshotRequest(*redshift.RestoreFromClusterSnapshotInput) (*request.Request, *redshift.RestoreFromClusterSnapshotOutput)
|
||||
|
||||
RestoreTableFromClusterSnapshot(*redshift.RestoreTableFromClusterSnapshotInput) (*redshift.RestoreTableFromClusterSnapshotOutput, error)
|
||||
RestoreTableFromClusterSnapshotWithContext(aws.Context, *redshift.RestoreTableFromClusterSnapshotInput, ...request.Option) (*redshift.RestoreTableFromClusterSnapshotOutput, error)
|
||||
RestoreTableFromClusterSnapshotRequest(*redshift.RestoreTableFromClusterSnapshotInput) (*request.Request, *redshift.RestoreTableFromClusterSnapshotOutput)
|
||||
|
||||
RevokeClusterSecurityGroupIngress(*redshift.RevokeClusterSecurityGroupIngressInput) (*redshift.RevokeClusterSecurityGroupIngressOutput, error)
|
||||
RevokeClusterSecurityGroupIngressWithContext(aws.Context, *redshift.RevokeClusterSecurityGroupIngressInput, ...request.Option) (*redshift.RevokeClusterSecurityGroupIngressOutput, error)
|
||||
RevokeClusterSecurityGroupIngressRequest(*redshift.RevokeClusterSecurityGroupIngressInput) (*request.Request, *redshift.RevokeClusterSecurityGroupIngressOutput)
|
||||
|
||||
RevokeSnapshotAccess(*redshift.RevokeSnapshotAccessInput) (*redshift.RevokeSnapshotAccessOutput, error)
|
||||
RevokeSnapshotAccessWithContext(aws.Context, *redshift.RevokeSnapshotAccessInput, ...request.Option) (*redshift.RevokeSnapshotAccessOutput, error)
|
||||
RevokeSnapshotAccessRequest(*redshift.RevokeSnapshotAccessInput) (*request.Request, *redshift.RevokeSnapshotAccessOutput)
|
||||
|
||||
RotateEncryptionKey(*redshift.RotateEncryptionKeyInput) (*redshift.RotateEncryptionKeyOutput, error)
|
||||
RotateEncryptionKeyWithContext(aws.Context, *redshift.RotateEncryptionKeyInput, ...request.Option) (*redshift.RotateEncryptionKeyOutput, error)
|
||||
RotateEncryptionKeyRequest(*redshift.RotateEncryptionKeyInput) (*request.Request, *redshift.RotateEncryptionKeyOutput)
|
||||
|
||||
WaitUntilClusterAvailable(*redshift.DescribeClustersInput) error
|
||||
WaitUntilClusterAvailableWithContext(aws.Context, *redshift.DescribeClustersInput, ...request.WaiterOption) error
|
||||
|
||||
WaitUntilClusterDeleted(*redshift.DescribeClustersInput) error
|
||||
WaitUntilClusterDeletedWithContext(aws.Context, *redshift.DescribeClustersInput, ...request.WaiterOption) error
|
||||
|
||||
WaitUntilClusterRestored(*redshift.DescribeClustersInput) error
|
||||
WaitUntilClusterRestoredWithContext(aws.Context, *redshift.DescribeClustersInput, ...request.WaiterOption) error
|
||||
|
||||
WaitUntilSnapshotAvailable(*redshift.DescribeClusterSnapshotsInput) error
|
||||
WaitUntilSnapshotAvailableWithContext(aws.Context, *redshift.DescribeClusterSnapshotsInput, ...request.WaiterOption) error
|
||||
}
|
||||
|
||||
var _ RedshiftAPI = (*redshift.Redshift)(nil)
|
93
vendor/github.com/aws/aws-sdk-go/service/redshift/service.go
generated
vendored
Normal file
93
vendor/github.com/aws/aws-sdk-go/service/redshift/service.go
generated
vendored
Normal file
|
@ -0,0 +1,93 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package redshift
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/query"
|
||||
)
|
||||
|
||||
// Redshift provides the API operation methods for making requests to
|
||||
// Amazon Redshift. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// Redshift methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type Redshift struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
// Used for custom client initialization logic
|
||||
var initClient func(*client.Client)
|
||||
|
||||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "redshift" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the Redshift 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:
|
||||
// // Create a Redshift client from just a session.
|
||||
// svc := redshift.New(mySession)
|
||||
//
|
||||
// // Create a Redshift client with additional configuration
|
||||
// svc := redshift.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Redshift {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *Redshift {
|
||||
svc := &Redshift{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2012-12-01",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
}
|
||||
|
||||
// Handlers
|
||||
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
|
||||
svc.Handlers.Build.PushBackNamed(query.BuildHandler)
|
||||
svc.Handlers.Unmarshal.PushBackNamed(query.UnmarshalHandler)
|
||||
svc.Handlers.UnmarshalMeta.PushBackNamed(query.UnmarshalMetaHandler)
|
||||
svc.Handlers.UnmarshalError.PushBackNamed(query.UnmarshalErrorHandler)
|
||||
|
||||
// Run custom client initialization if present
|
||||
if initClient != nil {
|
||||
initClient(svc.Client)
|
||||
}
|
||||
|
||||
return svc
|
||||
}
|
||||
|
||||
// newRequest creates a new request for a Redshift operation and runs any
|
||||
// custom request initialization.
|
||||
func (c *Redshift) newRequest(op *request.Operation, params, data interface{}) *request.Request {
|
||||
req := c.NewRequest(op, params, data)
|
||||
|
||||
// Run custom request initialization if present
|
||||
if initRequest != nil {
|
||||
initRequest(req)
|
||||
}
|
||||
|
||||
return req
|
||||
}
|
229
vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go
generated
vendored
Normal file
229
vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go
generated
vendored
Normal file
|
@ -0,0 +1,229 @@
|
|||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package redshift
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
// WaitUntilClusterAvailable uses the Amazon Redshift API operation
|
||||
// DescribeClusters to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
|
||||
return c.WaitUntilClusterAvailableWithContext(aws.BackgroundContext(), input)
|
||||
}
|
||||
|
||||
// WaitUntilClusterAvailableWithContext is an extended version of WaitUntilClusterAvailable.
|
||||
// With the support for passing in a context and options to configure the
|
||||
// Waiter and the underlying request options.
|
||||
//
|
||||
// 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 (c *Redshift) WaitUntilClusterAvailableWithContext(ctx aws.Context, input *DescribeClustersInput, opts ...request.WaiterOption) error {
|
||||
w := request.Waiter{
|
||||
Name: "WaitUntilClusterAvailable",
|
||||
MaxAttempts: 30,
|
||||
Delay: request.ConstantWaiterDelay(60 * time.Second),
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "Clusters[].ClusterStatus",
|
||||
Expected: "available",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Clusters[].ClusterStatus",
|
||||
Expected: "deleting",
|
||||
},
|
||||
{
|
||||
State: request.RetryWaiterState,
|
||||
Matcher: request.ErrorWaiterMatch,
|
||||
Expected: "ClusterNotFound",
|
||||
},
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
var inCpy *DescribeClustersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClustersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
w.ApplyOptions(opts...)
|
||||
|
||||
return w.WaitWithContext(ctx)
|
||||
}
|
||||
|
||||
// WaitUntilClusterDeleted uses the Amazon Redshift API operation
|
||||
// DescribeClusters to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
|
||||
return c.WaitUntilClusterDeletedWithContext(aws.BackgroundContext(), input)
|
||||
}
|
||||
|
||||
// WaitUntilClusterDeletedWithContext is an extended version of WaitUntilClusterDeleted.
|
||||
// With the support for passing in a context and options to configure the
|
||||
// Waiter and the underlying request options.
|
||||
//
|
||||
// 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 (c *Redshift) WaitUntilClusterDeletedWithContext(ctx aws.Context, input *DescribeClustersInput, opts ...request.WaiterOption) error {
|
||||
w := request.Waiter{
|
||||
Name: "WaitUntilClusterDeleted",
|
||||
MaxAttempts: 30,
|
||||
Delay: request.ConstantWaiterDelay(60 * time.Second),
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
Matcher: request.ErrorWaiterMatch,
|
||||
Expected: "ClusterNotFound",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Clusters[].ClusterStatus",
|
||||
Expected: "creating",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Clusters[].ClusterStatus",
|
||||
Expected: "modifying",
|
||||
},
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
var inCpy *DescribeClustersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClustersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
w.ApplyOptions(opts...)
|
||||
|
||||
return w.WaitWithContext(ctx)
|
||||
}
|
||||
|
||||
// WaitUntilClusterRestored uses the Amazon Redshift API operation
|
||||
// DescribeClusters to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
|
||||
return c.WaitUntilClusterRestoredWithContext(aws.BackgroundContext(), input)
|
||||
}
|
||||
|
||||
// WaitUntilClusterRestoredWithContext is an extended version of WaitUntilClusterRestored.
|
||||
// With the support for passing in a context and options to configure the
|
||||
// Waiter and the underlying request options.
|
||||
//
|
||||
// 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 (c *Redshift) WaitUntilClusterRestoredWithContext(ctx aws.Context, input *DescribeClustersInput, opts ...request.WaiterOption) error {
|
||||
w := request.Waiter{
|
||||
Name: "WaitUntilClusterRestored",
|
||||
MaxAttempts: 30,
|
||||
Delay: request.ConstantWaiterDelay(60 * time.Second),
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "Clusters[].RestoreStatus.Status",
|
||||
Expected: "completed",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Clusters[].ClusterStatus",
|
||||
Expected: "deleting",
|
||||
},
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
var inCpy *DescribeClustersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClustersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
w.ApplyOptions(opts...)
|
||||
|
||||
return w.WaitWithContext(ctx)
|
||||
}
|
||||
|
||||
// WaitUntilSnapshotAvailable uses the Amazon Redshift API operation
|
||||
// DescribeClusterSnapshots to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
|
||||
return c.WaitUntilSnapshotAvailableWithContext(aws.BackgroundContext(), input)
|
||||
}
|
||||
|
||||
// WaitUntilSnapshotAvailableWithContext is an extended version of WaitUntilSnapshotAvailable.
|
||||
// With the support for passing in a context and options to configure the
|
||||
// Waiter and the underlying request options.
|
||||
//
|
||||
// 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 (c *Redshift) WaitUntilSnapshotAvailableWithContext(ctx aws.Context, input *DescribeClusterSnapshotsInput, opts ...request.WaiterOption) error {
|
||||
w := request.Waiter{
|
||||
Name: "WaitUntilSnapshotAvailable",
|
||||
MaxAttempts: 20,
|
||||
Delay: request.ConstantWaiterDelay(15 * time.Second),
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
Matcher: request.PathAllWaiterMatch, Argument: "Snapshots[].Status",
|
||||
Expected: "available",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Snapshots[].Status",
|
||||
Expected: "failed",
|
||||
},
|
||||
{
|
||||
State: request.FailureWaiterState,
|
||||
Matcher: request.PathAnyWaiterMatch, Argument: "Snapshots[].Status",
|
||||
Expected: "deleted",
|
||||
},
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
var inCpy *DescribeClusterSnapshotsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClusterSnapshotsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
w.ApplyOptions(opts...)
|
||||
|
||||
return w.WaitWithContext(ctx)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue