mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
1607
vendor/github.com/aws/aws-sdk-go/service/redshift/api.go
generated
vendored
1607
vendor/github.com/aws/aws-sdk-go/service/redshift/api.go
generated
vendored
File diff suppressed because it is too large
Load Diff
51
vendor/github.com/aws/aws-sdk-go/service/redshift/doc.go
generated
vendored
Normal file
51
vendor/github.com/aws/aws-sdk-go/service/redshift/doc.go
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
// 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 Amazon Redshift with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Redshift client Redshift for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/redshift/#New
|
||||
package redshift
|
||||
9
vendor/github.com/aws/aws-sdk-go/service/redshift/errors.go
generated
vendored
9
vendor/github.com/aws/aws-sdk-go/service/redshift/errors.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package redshift
|
||||
|
||||
@@ -165,6 +165,13 @@ const (
|
||||
// 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".
|
||||
//
|
||||
|
||||
1711
vendor/github.com/aws/aws-sdk-go/service/redshift/examples_test.go
generated
vendored
1711
vendor/github.com/aws/aws-sdk-go/service/redshift/examples_test.go
generated
vendored
File diff suppressed because it is too large
Load Diff
8
vendor/github.com/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// 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.
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
//
|
||||
// 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.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Redshift.
|
||||
@@ -297,6 +297,10 @@ type RedshiftAPI interface {
|
||||
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)
|
||||
|
||||
33
vendor/github.com/aws/aws-sdk-go/service/redshift/service.go
generated
vendored
33
vendor/github.com/aws/aws-sdk-go/service/redshift/service.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package redshift
|
||||
|
||||
@@ -11,33 +11,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go/private/protocol/query"
|
||||
)
|
||||
|
||||
// Overview
|
||||
// Redshift provides the API operation methods for making requests to
|
||||
// Amazon Redshift. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// 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.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01
|
||||
// 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
|
||||
}
|
||||
|
||||
38
vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go
generated
vendored
38
vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package redshift
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
|
||||
return c.WaitUntilClusterAvailableWithContext(aws.BackgroundContext(), input)
|
||||
@@ -49,7 +49,12 @@ func (c *Redshift) WaitUntilClusterAvailableWithContext(ctx aws.Context, input *
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
req, _ := c.DescribeClustersRequest(input)
|
||||
var inCpy *DescribeClustersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClustersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -62,7 +67,7 @@ func (c *Redshift) WaitUntilClusterAvailableWithContext(ctx aws.Context, input *
|
||||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
|
||||
return c.WaitUntilClusterDeletedWithContext(aws.BackgroundContext(), input)
|
||||
@@ -100,7 +105,12 @@ func (c *Redshift) WaitUntilClusterDeletedWithContext(ctx aws.Context, input *De
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
req, _ := c.DescribeClustersRequest(input)
|
||||
var inCpy *DescribeClustersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClustersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -113,7 +123,7 @@ func (c *Redshift) WaitUntilClusterDeletedWithContext(ctx aws.Context, input *De
|
||||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
|
||||
return c.WaitUntilClusterRestoredWithContext(aws.BackgroundContext(), input)
|
||||
@@ -146,7 +156,12 @@ func (c *Redshift) WaitUntilClusterRestoredWithContext(ctx aws.Context, input *D
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
req, _ := c.DescribeClustersRequest(input)
|
||||
var inCpy *DescribeClustersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClustersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -159,7 +174,7 @@ func (c *Redshift) WaitUntilClusterRestoredWithContext(ctx aws.Context, input *D
|
||||
|
||||
// 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
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
|
||||
return c.WaitUntilSnapshotAvailableWithContext(aws.BackgroundContext(), input)
|
||||
@@ -197,7 +212,12 @@ func (c *Redshift) WaitUntilSnapshotAvailableWithContext(ctx aws.Context, input
|
||||
},
|
||||
Logger: c.Config.Logger,
|
||||
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||
req, _ := c.DescribeClusterSnapshotsRequest(input)
|
||||
var inCpy *DescribeClusterSnapshotsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeClusterSnapshotsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
|
||||
Reference in New Issue
Block a user