change github.com/aws/aws-sdk-go to be the same revision in kubernetes

This commit is contained in:
Jingfang Liu
2018-10-16 09:34:22 -07:00
parent e0958159f3
commit c6a78cee92
462 changed files with 20605 additions and 85780 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -49,12 +49,6 @@ const (
// The ClusterIdentifier parameter does not refer to an existing cluster.
ErrCodeClusterNotFoundFault = "ClusterNotFound"
// ErrCodeClusterOnLatestRevisionFault for service response error code
// "ClusterOnLatestRevision".
//
// Cluster is already on the latest database revision.
ErrCodeClusterOnLatestRevisionFault = "ClusterOnLatestRevision"
// ErrCodeClusterParameterGroupAlreadyExistsFault for service response error code
// "ClusterParameterGroupAlreadyExists".
//
@@ -294,12 +288,6 @@ const (
// The state of the subnet is invalid.
ErrCodeInvalidClusterSubnetStateFault = "InvalidClusterSubnetStateFault"
// ErrCodeInvalidClusterTrackFault for service response error code
// "InvalidClusterTrack".
//
// The provided cluster track name is not valid.
ErrCodeInvalidClusterTrackFault = "InvalidClusterTrack"
// ErrCodeInvalidElasticIpFault for service response error code
// "InvalidElasticIpFault".
//
@@ -320,12 +308,6 @@ const (
// in use by one or more Amazon Redshift clusters.
ErrCodeInvalidHsmConfigurationStateFault = "InvalidHsmConfigurationStateFault"
// ErrCodeInvalidReservedNodeStateFault for service response error code
// "InvalidReservedNodeState".
//
// Indicates that the Reserved Node being exchanged is not in an active state.
ErrCodeInvalidReservedNodeStateFault = "InvalidReservedNodeState"
// ErrCodeInvalidRestoreFault for service response error code
// "InvalidRestore".
//
@@ -414,12 +396,6 @@ const (
// User already has a reservation with the given identifier.
ErrCodeReservedNodeAlreadyExistsFault = "ReservedNodeAlreadyExists"
// ErrCodeReservedNodeAlreadyMigratedFault for service response error code
// "ReservedNodeAlreadyMigrated".
//
// Indicates that the reserved node has already been exchanged.
ErrCodeReservedNodeAlreadyMigratedFault = "ReservedNodeAlreadyMigrated"
// ErrCodeReservedNodeNotFoundFault for service response error code
// "ReservedNodeNotFound".
//
@@ -559,13 +535,6 @@ const (
// The allowed values are ERROR and INFO.
ErrCodeSubscriptionSeverityNotFoundFault = "SubscriptionSeverityNotFound"
// ErrCodeTableLimitExceededFault for service response error code
// "TableLimitExceeded".
//
// The number of tables in the cluster exceeds the limit for the requested new
// cluster node type.
ErrCodeTableLimitExceededFault = "TableLimitExceeded"
// ErrCodeTableRestoreNotFoundFault for service response error code
// "TableRestoreNotFoundFault".
//
@@ -575,8 +544,7 @@ const (
// ErrCodeTagLimitExceededFault for service response error code
// "TagLimitExceededFault".
//
// The number of tables in your source cluster exceeds the limit for the target
// cluster. Resize to a larger cluster node type.
// The request exceeds the limit of 10 tags for the resource.
ErrCodeTagLimitExceededFault = "TagLimitExceededFault"
// ErrCodeUnauthorizedOperation for service response error code

View File

@@ -26,7 +26,7 @@ import (
// // myFunc uses an SDK service client to make a request to
// // Amazon Redshift.
// func myFunc(svc redshiftiface.RedshiftAPI) bool {
// // Make svc.AcceptReservedNodeExchange request
// // Make svc.AuthorizeClusterSecurityGroupIngress request
// }
//
// func main() {
@@ -42,7 +42,7 @@ import (
// type mockRedshiftClient struct {
// redshiftiface.RedshiftAPI
// }
// func (m *mockRedshiftClient) AcceptReservedNodeExchange(input *redshift.AcceptReservedNodeExchangeInput) (*redshift.AcceptReservedNodeExchangeOutput, error) {
// func (m *mockRedshiftClient) AuthorizeClusterSecurityGroupIngress(input *redshift.AuthorizeClusterSecurityGroupIngressInput) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error) {
// // mock response/functionality
// }
//
@@ -60,10 +60,6 @@ import (
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type RedshiftAPI interface {
AcceptReservedNodeExchange(*redshift.AcceptReservedNodeExchangeInput) (*redshift.AcceptReservedNodeExchangeOutput, error)
AcceptReservedNodeExchangeWithContext(aws.Context, *redshift.AcceptReservedNodeExchangeInput, ...request.Option) (*redshift.AcceptReservedNodeExchangeOutput, error)
AcceptReservedNodeExchangeRequest(*redshift.AcceptReservedNodeExchangeInput) (*request.Request, *redshift.AcceptReservedNodeExchangeOutput)
AuthorizeClusterSecurityGroupIngress(*redshift.AuthorizeClusterSecurityGroupIngressInput) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error)
AuthorizeClusterSecurityGroupIngressWithContext(aws.Context, *redshift.AuthorizeClusterSecurityGroupIngressInput, ...request.Option) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error)
AuthorizeClusterSecurityGroupIngressRequest(*redshift.AuthorizeClusterSecurityGroupIngressInput) (*request.Request, *redshift.AuthorizeClusterSecurityGroupIngressOutput)
@@ -156,10 +152,6 @@ type RedshiftAPI interface {
DeleteTagsWithContext(aws.Context, *redshift.DeleteTagsInput, ...request.Option) (*redshift.DeleteTagsOutput, error)
DeleteTagsRequest(*redshift.DeleteTagsInput) (*request.Request, *redshift.DeleteTagsOutput)
DescribeClusterDbRevisions(*redshift.DescribeClusterDbRevisionsInput) (*redshift.DescribeClusterDbRevisionsOutput, error)
DescribeClusterDbRevisionsWithContext(aws.Context, *redshift.DescribeClusterDbRevisionsInput, ...request.Option) (*redshift.DescribeClusterDbRevisionsOutput, error)
DescribeClusterDbRevisionsRequest(*redshift.DescribeClusterDbRevisionsInput) (*request.Request, *redshift.DescribeClusterDbRevisionsOutput)
DescribeClusterParameterGroups(*redshift.DescribeClusterParameterGroupsInput) (*redshift.DescribeClusterParameterGroupsOutput, error)
DescribeClusterParameterGroupsWithContext(aws.Context, *redshift.DescribeClusterParameterGroupsInput, ...request.Option) (*redshift.DescribeClusterParameterGroupsOutput, error)
DescribeClusterParameterGroupsRequest(*redshift.DescribeClusterParameterGroupsInput) (*request.Request, *redshift.DescribeClusterParameterGroupsOutput)
@@ -195,10 +187,6 @@ type RedshiftAPI interface {
DescribeClusterSubnetGroupsPages(*redshift.DescribeClusterSubnetGroupsInput, func(*redshift.DescribeClusterSubnetGroupsOutput, bool) bool) error
DescribeClusterSubnetGroupsPagesWithContext(aws.Context, *redshift.DescribeClusterSubnetGroupsInput, func(*redshift.DescribeClusterSubnetGroupsOutput, bool) bool, ...request.Option) error
DescribeClusterTracks(*redshift.DescribeClusterTracksInput) (*redshift.DescribeClusterTracksOutput, error)
DescribeClusterTracksWithContext(aws.Context, *redshift.DescribeClusterTracksInput, ...request.Option) (*redshift.DescribeClusterTracksOutput, error)
DescribeClusterTracksRequest(*redshift.DescribeClusterTracksInput) (*request.Request, *redshift.DescribeClusterTracksOutput)
DescribeClusterVersions(*redshift.DescribeClusterVersionsInput) (*redshift.DescribeClusterVersionsOutput, error)
DescribeClusterVersionsWithContext(aws.Context, *redshift.DescribeClusterVersionsInput, ...request.Option) (*redshift.DescribeClusterVersionsOutput, error)
DescribeClusterVersionsRequest(*redshift.DescribeClusterVersionsInput) (*request.Request, *redshift.DescribeClusterVersionsOutput)
@@ -313,18 +301,10 @@ type RedshiftAPI interface {
GetClusterCredentialsWithContext(aws.Context, *redshift.GetClusterCredentialsInput, ...request.Option) (*redshift.GetClusterCredentialsOutput, error)
GetClusterCredentialsRequest(*redshift.GetClusterCredentialsInput) (*request.Request, *redshift.GetClusterCredentialsOutput)
GetReservedNodeExchangeOfferings(*redshift.GetReservedNodeExchangeOfferingsInput) (*redshift.GetReservedNodeExchangeOfferingsOutput, error)
GetReservedNodeExchangeOfferingsWithContext(aws.Context, *redshift.GetReservedNodeExchangeOfferingsInput, ...request.Option) (*redshift.GetReservedNodeExchangeOfferingsOutput, error)
GetReservedNodeExchangeOfferingsRequest(*redshift.GetReservedNodeExchangeOfferingsInput) (*request.Request, *redshift.GetReservedNodeExchangeOfferingsOutput)
ModifyCluster(*redshift.ModifyClusterInput) (*redshift.ModifyClusterOutput, error)
ModifyClusterWithContext(aws.Context, *redshift.ModifyClusterInput, ...request.Option) (*redshift.ModifyClusterOutput, error)
ModifyClusterRequest(*redshift.ModifyClusterInput) (*request.Request, *redshift.ModifyClusterOutput)
ModifyClusterDbRevision(*redshift.ModifyClusterDbRevisionInput) (*redshift.ModifyClusterDbRevisionOutput, error)
ModifyClusterDbRevisionWithContext(aws.Context, *redshift.ModifyClusterDbRevisionInput, ...request.Option) (*redshift.ModifyClusterDbRevisionOutput, error)
ModifyClusterDbRevisionRequest(*redshift.ModifyClusterDbRevisionInput) (*request.Request, *redshift.ModifyClusterDbRevisionOutput)
ModifyClusterIamRoles(*redshift.ModifyClusterIamRolesInput) (*redshift.ModifyClusterIamRolesOutput, error)
ModifyClusterIamRolesWithContext(aws.Context, *redshift.ModifyClusterIamRolesInput, ...request.Option) (*redshift.ModifyClusterIamRolesOutput, error)
ModifyClusterIamRolesRequest(*redshift.ModifyClusterIamRolesInput) (*request.Request, *redshift.ModifyClusterIamRolesOutput)